Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

dependencies update and deploy, the active sessions become empty. #317

Open
zthreeinfo-hub opened this issue Feb 1, 2025 · 5 comments
Open

Comments

@zthreeinfo-hub
Copy link

I have created many sessions. Once your dependencies update and deploy, the active sessions become empty. Kindly provide a solution.

@avoylenko
Copy link
Collaborator

All wwebjs sessions are stored in folder configured using the SESSIONS_PATH env variable. If you don't set it, all sessions will be stored inside the docker container. That means if you drop the container, you will lost all sessions.

@zthreeinfo-hub
Copy link
Author

Image

We are configured above sessions... see above image

@avoylenko
Copy link
Collaborator

In this case the session are stored inside the docker container and you have to backup them before switching to new version.

@zthreeinfo-hub
Copy link
Author

zthreeinfo-hub commented Feb 1, 2025 via email

@avoylenko
Copy link
Collaborator

Do a backup of the folder and copy all it's content to the a new container.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants