désinstaller les modules non-officiels fermer le serveur faire un backup

installer le package entreprise su postgres -s /bin/bash

Lancer la commande de maj

apt install rsync su postgres -s /bin/bash cd /tmp # Changer test python3 <(curl -s https://upgrade.odoo.com/upgrade) test -d klinicare -t 16.0 --contract xxxxxx

/var/lib/odoo/.local/share/Odoo/filestore/klinicare/

klinicare_test_16.0_2024_09_02_18_10

When performing database restoration via the command line, ensure you have correctly placed the filestore. The database name and filestore name should match to ensure Odoo uses the same filestore rather than generating a new one. The filestore in Odoo is stored in /home/odoo/.local/share/Odoo/filestore (assuming /home/odoo is Odoo’s home directory).

ALTER DATABASE "klinicare_test_16.0_2024_09_02_18_10" OWNER TO odoo; SELECT format( 'ALTER TABLE public.%I OWNER TO odoo', table_name ) FROM information_schema.tables WHERE table_schema = 'public' AND table_type = 'BASE TABLE' \gexec drop sequence base_cache_signaling;