How do I view the archived chats? #117
-
Hello, I deployed chatvault via docker compose:
But after importing archive files from WhatsApp, the page still only shows this: The readme on github specifies port 3000 for the frontend, but it is not accessible, even if exposed via docker compose. Can somebody tell me, what I am doing wrong? chatvault logs of newly created container start and import of a chat:
|
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 4 replies
-
You only need to expose port 8080 for this. It's likely that the app saved the files but couldn't parse each line of messages in the chat file. You can confirm this by querying the database; the messages haven't been saved. What is the name of your chat message file? Is it _chat.txt? If so, your generated file is different from mine, and I need to apply a fix because the regex used to identify a chat file is: Renaming the file to something that matches this regex should work. Update: I just fixed the issue in the latest version of the image. |
Beta Was this translation helpful? Give feedback.
-
So I am still not able to import some chats. It fails with the following error:
When I open the _chat.txt file, it shows LRM characters that may be the problem. |
Beta Was this translation helpful? Give feedback.
You only need to expose port 8080 for this. It's likely that the app saved the files but couldn't parse each line of messages in the chat file. You can confirm this by querying the database; the messages haven't been saved.
What is the name of your chat message file? Is it _chat.txt? If so, your generated file is different from mine, and I need to apply a fix because the regex used to identify a chat file is:
chatvault/backend/usecase/src/main/kotlin/dev/marcal/chatvault/usecase/ChatFileImporterUseCase.kt
Line 34 in 053c826
Renaming the file to something that matches this regex should work.
Update: I just fi…