whatsapp-api icon indicating copy to clipboard operation
whatsapp-api copied to clipboard

dependencies update and deploy, the active sessions become empty.

Open zthreeinfo-hub opened this issue 11 months ago • 5 comments

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

zthreeinfo-hub avatar Feb 01 '25 12:02 zthreeinfo-hub

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.

avoylenko avatar Feb 01 '25 12:02 avoylenko

Image

We are configured above sessions... see above image

zthreeinfo-hub avatar Feb 01 '25 12:02 zthreeinfo-hub

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

avoylenko avatar Feb 01 '25 17:02 avoylenko

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: @.***>

zthreeinfo-hub avatar Feb 01 '25 17:02 zthreeinfo-hub

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

avoylenko avatar Feb 01 '25 17:02 avoylenko