dependencies update and deploy, the active sessions become empty.
I have created many sessions. Once your dependencies update and deploy, the active sessions become empty. Kindly provide a solution.
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.
We are configured above sessions... see above image
In this case the session are stored inside the docker container and you have to backup them before switching to new version.
How to backup that sessions?
On Sat, 1 Feb, 2025, 10:38 pm Anton Voylenko, @.***> wrote:
In this case the session are stored inside the docker container and you have to backup them before switching to new version.
— Reply to this email directly, view it on GitHub https://github.com/chrishubert/whatsapp-api/issues/317#issuecomment-2629030705, or unsubscribe https://github.com/notifications/unsubscribe-auth/BMVXL7MO4XF4EI54BYRBGXT2NT5SNAVCNFSM6AAAAABWJHUBO2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDMMRZGAZTANZQGU . You are receiving this because you authored the thread.Message ID: @.***>
Do a backup of the folder and copy all it's content to the a new container.