26 August 2024: Major update for Gladys!

Hello,

Migration in progress for me with a 5.2 GB database

image

However I don’t have access to the tracking on the dashboard and I have this in the tasks:

Could you give the commands @pierre-gilles please? So on 26/08? :
(It’s more to avoid making a mistake than anything else :slight_smile: )
image

I suppose it’s:

docker pull gladysassistant/gladys:v4
docker stop gladys \u0026\u0026 docker rm gladys

Then restart a Gladys container with the V4 image:

docker run -d \\
--log-driver json-file \\
--log-opt max-size=10m \\
--cgroupns=host \\
--restart=always \\
--privileged \\
--network=host \\
--name gladys \\
-e NODE_ENV=production \\
-e SERVER_PORT=80 \\
-e TZ=Europe/Paris \\
-e SQLITE_FILE_PATH=/var/lib/gladysassistant/gladys-production.db \\
-v /var/run/docker.sock:/var/run/docker.sock \\
-v /var/lib/gladysassistant:/var/lib/gladysassistant \\
-v /dev:/dev \\
-v /run/udev:/run/udev:ro \\
gladysassistant/gladys:v4

Thanks :slight_smile:

Edit:

Success:
image

I would just like confirmation from @pierre-gilles before starting the purge step :slight_smile:

Edit 2:

Silly me :laughing: I needed to go local and not on Gladys Plus:

Migration completed in 15 minutes :wink:

I’m starting the purge

image

After one hour everything is OK:
image

I’m starting the cleanup:
image

The database is now over 38 MB:
image

And the Gladys Plus backup:

1 Like