Error restoring odoo

Hi !

I’m trying to restore an odoo app (1.0.2) running on NS8 onto an new NS8 node (another cluster).

The restore fails :


Task ID: 
45c0dae4-c781-4213-adb0-7dab25f6058a

restic dump ac58bfb9408127d5893c18119d6b1ec1c9a66564a304d690fc0d1e358faf1820 state/environment
Assertion failed
  File "/var/lib/nethserver/cluster/actions/restore-module/50restore_module", line 103, in <module>
    agent.assert_exp(restore_task_result['exit_code'] == 0)
cluster/restore-module

Task ID: Copy to clipboard
e179cd32-07af-4dd9-b7da-0400d5393eec

restic restore --json ac58bfb9408127d5893c18119d6b1ec1c9a66564a304d690fc0d1e358faf1820 --target . --exclude state/environment
Trying to pull ghcr.io/nethserver/restic:3.11.0...
Getting image source signatures
Copying blob sha256:3772b693249d565e5a48710e4e878dba433b0e03c3f490ca4288e262ef755a84
Copying blob sha256:df603300ccbcc1523bc2760b1bd7133a04e098190156de2f216bc808a68a73a9
Copying config sha256:82d4aeeb1dba621aaaca653f05d80cab449f179dff2b78692dae8677d44fbc32
Writing manifest to image destination
Restoring all postgres databases
NOTICE:  drop cascades to 87 other objects
DETAIL:  drop cascades to extension pg_trgm
drop cascades to table auth_totp_device
drop cascades to table auth_totp_wizard
drop cascades to sequence base_cache_signaling
drop cascades to table base_document_layout
drop cascades to table base_enable_profiling_wizard
drop cascades to table base_import_import
drop cascades to table base_import_mapping
drop cascades to table base_import_tests_models_char
drop cascades to table base_import_tests_models_char_noreadonly
drop cascades to table base_import_tests_models_char_readonly
drop cascades to table base_import_tests_models_char_required
drop cascades to table base_import_tests_models_char_states
drop cascades to table base_import_tests_models_char_stillreadonly
drop cascades to table base_import_tests_models_complex
drop cascades to table base_import_tests_models_float
drop cascades to table base_import_tests_models_m2o
drop cascades to table base_import_tests_models_m2o_related
drop cascades to table base_import_tests_models_m2o_required
drop cascades to table base_import_tests_models_m2o_required_related
drop cascades to table base_import_tests_models_o2m
drop cascades to table base_import_tests_models_o2m_child
drop cascades to table base_import_tests_models_preview
drop cascades to table base_language_export
drop cascades to table base_language_import
drop cascades to table base_language_install
drop cascades to table base_module_install_request
drop cascades to table base_module_install_review
drop cascades to table base_module_uninstall
drop cascades to table base_module_update
drop cascades to table base_module_upgrade
drop cascades to table base_partner_merge_automatic_wizard
drop cascades to table base_partner_merge_automatic_wizard_res_partner_rel
drop cascades to table base_partner_merge_line
drop cascades to sequence base_registry_signaling
drop cascades to table bus_bus
drop cascades to table bus_presence
drop cascades to table change_password_own
drop cascades to table change_password_user
drop cascades to table change_password_wizard
drop cascades to table decimal_precision
drop cascades to table document_page
drop cascades to table document_page_create_menu
drop cascades to table document_page_history
drop cascades to table email_template_attachment_rel
drop cascades to table fetchmail_server
drop cascades to table ir_actions
drop cascades to table ir_act_client
drop cascades to table ir_act_report_xml
drop cascades to table ir_act_server
drop cascades to table ir_act_server_group_rel
drop cascades to table ir_act_server_res_partner_rel
drop cascades to table ir_act_url
drop cascades to table ir_act_window
drop cascades to table ir_act_window_group_rel
drop cascades to table ir_act_window_view
drop cascades to table ir_actions_todo
drop cascades to table ir_asset
drop cascades to table ir_attachment
drop cascades to table ir_config_parameter
drop cascades to table ir_cron
drop cascades to table ir_cron_trigger
drop cascades to table ir_default
drop cascades to table ir_demo
drop cascades to table ir_demo_failure
drop cascades to table ir_demo_failure_wizard
drop cascades to table ir_exports
drop cascades to table ir_exports_line
drop cascades to table ir_filters
drop cascades to table ir_logging
drop cascades to table ir_mail_server
drop cascades to table ir_model
drop cascades to table ir_model_access
drop cascades to table ir_model_constraint
drop cascades to table ir_model_data
drop cascades to table ir_model_fields
drop cascades to table ir_model_fields_group_rel
drop cascades to table ir_model_fields_selection
drop cascades to table ir_model_relation
drop cascades to table ir_module_category
drop cascades to table ir_module_module
drop cascades to table ir_module_module_dependency
drop cascades to table ir_module_module_exclusion
drop cascades to table ir_profile
drop cascades to table ir_property
drop cascades to table ir_rule
drop cascades to table ir_sequence







{"context":{"action":"restore-module","data":{"node":1,"path":"odoo/06583f51-53a1-4840-be74-a91e240e223c","replace":true,"repository":"ce9fb2b8-d342-5aaa-b538-ada6b54553f7","snapshot":"ac58bfb9408127d5893c18119d6b1ec1c9a66564a304d690fc0d1e358faf1820"},"extra":{"completion":{"extraTextParams":["node"],"i18nString":"backup.instance_restored_to_node","outputTextParams":["module_id"]},"description":"Restoring odoo to Node 1","node":"Node 1","title":"Restore app"},"id":"45c0dae4-c781-4213-adb0-7dab25f6058a","parent":"","queue":"cluster/tasks","timestamp":"2025-09-13T22:04:46.166641569Z","user":"admin"},"status":"aborted","progress":64,"subTasks":[{"context":{"action":"add-module","data":{"image":"ghcr.io/innovyou/odoo:1.0.2","node":1},"extra":{},"id":"cf8c4d94-e46f-42fc-b991-d1ebf8ded01d","parent":"45c0dae4-c781-4213-adb0-7dab25f6058a"},"status":"completed","progress":100,"subTasks":[{"context":{"action":"add-module","data":{"environment":{"IMAGE_DIGEST":"sha256:6fa3039ab67409751fdbef87513e6c18eca306ce5737c3dca2291c06d65e680d","IMAGE_ID":"00ded83cd5fcc80d00baac53b605dd964b2ce47dff1f821a496f2b5773b30354","IMAGE_REOPODIGEST":"ghcr.io/innovyou/odoo@sha256:6fa3039ab67409751fdbef87513e6c18eca306ce5737c3dca2291c06d65e680d","IMAGE_URL":"ghcr.io/innovyou/odoo:1.0.2","MODULE_ID":"odoo2","MODULE_UUID":"0a2590b3-b0cd-4966-91ad-103c977034f6","NODE_ID":"1"},"is_rootfull":false,"module_id":"odoo2","tcp_ports_demand":3,"udp_ports_demand":0},"extra":{},"id":"f4e834fa-1d9c-44f8-92f0-8a51c2efee65","parent":"cf8c4d94-e46f-42fc-b991-d1ebf8ded01d"},"status":"completed","progress":100,"subTasks":[],"result":{"error":"<7>useradd -m -k /etc/nethserver/skel -s /bin/bash odoo2\n<7>chmod -c 0700 /home/odoo2\n<7>extract-image ghcr.io/innovyou/odoo:1.0.2\nflock: getting lock took 0.000003 seconds\nExtracting container filesystem imageroot to /home/odoo2/.config\nTotal bytes read: 8529920 (8.2MiB, 92MiB/s)\n./actions/\n./actions/clone-module/\n./actions/clone-module/70traefik\n./actions/configure-module/\n./actions/configure-module/01_validate_domain\n./actions/configure-module/20Configure\n./actions/configure-module/30Traefik\n./actions/configure-module/80start_services\n./actions/configure-module/90ldap\n./actions/configure-module/validate-input.json\n./actions/create-module/\n./actions/create-module/10pre\n./actions/create-module/20postgres\n./actions/create-module/80track\n./actions/create-module/90set_firewall\n./actions/destroy-module/\n./actions/destroy-module/20destroy\n./actions/destroy-module/90firewall\n./actions/get-configuration/\n./actions/get-configuration/20read\n./actions/get-configuration/validate-output.json\n./actions/restore-module/\n./actions/restore-module/06copyenv\n./actions/restore-module/40restore-postgres\n./actions/restore-module/50traefik\n./actions/restore-module/60systemd\n./bin/\n./bin/discover-smarthost\n./bin/module-cleanup-state\n./bin/module-dump-state\n./etc/\n./etc/state-include.conf\n./events/\n./events/smarthost-changed/\n./events/smarthost-changed/10reload_services\n./systemd/\n./systemd/user/\n./systemd/user/odoo-app.service\n./systemd/user/odoo.service\n./systemd/user/postgres.service\n./update-module.d/\n./update-module.d/20restart\nchanged ownership of './update-module.d/20restart' from root:root to odoo2:odoo2\nchanged ownership of './update-module.d' from root:root to odoo2:odoo2\nchanged ownership of './actions/configure-module/80start_services' from root:root to odoo2:odoo2\nchanged ownership of './actions/configure-module/validate-input.json' from root:root to odoo2:odoo2\nchanged ownership of './actions/configure-module/30Traefik' from root:root to odoo2:odoo2\nchanged ownership of './actions/configure-module/20Configure' from root:root to odoo2:odoo2\nchanged ownership of './actions/configure-module/01_validate_domain' from root:root to odoo2:odoo2\nchanged ownership of './actions/configure-module/90ldap' from root:root to odoo2:odoo2\nchanged ownership of './actions/configure-module' from root:root to odoo2:odoo2\nchanged ownership of './actions/restore-module/50traefik' from root:root to odoo2:odoo2\nchanged ownership of './actions/restore-module/06copyenv' from root:root to odoo2:odoo2\nchanged ownership of './actions/restore-module/40restore-postgres' from root:root to odoo2:odoo2\nchanged ownership of './actions/restore-module/60systemd' from root:root to odoo2:odoo2\nchanged ownership of './actions/restore-module' from root:root to odoo2:odoo2\nchanged ownership of './actions/create-module/80track' from root:root to odoo2:odoo2\nchanged ownership of './actions/create-module/90set_firewall' from root:root to odoo2:odoo2\nchanged ownership of './actions/create-module/10pre' from root:root to odoo2:odoo2\nchanged ownership of './actions/create-module/20postgres' from root:root to odoo2:odoo2\nchanged ownership of './actions/create-module' from root:root to odoo2:odoo2\nchanged ownership of './actions/destroy-module/90firewall' from root:root to odoo2:odoo2\nchanged ownership of './actions/destroy-module/20destroy' from root:root to odoo2:odoo2\nchanged ownership of './actions/destroy-module' from root:root to odoo2:odoo2\nchanged ownership of './actions/clone-module/70traefik' from root:root to odoo2:odoo2\nchanged ownership of './actions/clone-module' from root:root to odoo2:odoo2\nchanged ownership of './actions/get-configuration/validate-output.json' from root:root to odoo2:odoo2\nchanged ownership of './actions/get-configuration/20read' from root:root to odoo2:odoo2\nchanged ownership of './actions/get-configuration' from root:root to odoo2:odoo2\nchanged ownership of './actions' from root:root to odoo2:odoo2\nchanged ownership of './.extract-image.lock' from root:root to odoo2:odoo2\nchanged ownership of './etc/state-include.conf' from root:root to odoo2:odoo2\nchanged ownership of './etc' from root:root to odoo2:odoo2\nchanged ownership of './systemd/user/odoo.service' from root:root to odoo2:odoo2\nchanged ownership of './systemd/user/odoo-app.service' from root:root to odoo2:odoo2\nchanged ownership of './systemd/user/postgres.service' from root:root to odoo2:odoo2\nchanged ownership of './bin/discover-smarthost' from root:root to odoo2:odoo2\nchanged ownership of './bin/module-cleanup-state' from root:root to odoo2:odoo2\nchanged ownership of './bin/module-dump-state' from root:root to odoo2:odoo2\nchanged ownership of './bin' from root:root to odoo2:odoo2\nchanged ownership of './events/smarthost-changed/10reload_services' from root:root to odoo2:odoo2\nchanged ownership of './events/smarthost-changed' from root:root to odoo2:odoo2\nchanged ownership of './events' from root:root to odoo2:odoo2\nchanged ownership of './state/environment' from root:root to odoo2:odoo2\nchanged ownership of './state/agent.env' from root:root to odoo2:odoo2\nchanged ownership of './.imageroot.lst' from root:root to odoo2:odoo2\n51a5e6f172f9ec258d72bc70a33e8fd608abfc50040eb2c085ff30e7c9f55f41\n<7>systemctl try-restart promtail.service\n<7>loginctl enable-linger odoo2\n","exit_code":0,"file":"task/node/1/f4e834fa-1d9c-44f8-92f0-8a51c2efee65","output":{"redis_sha256":"0a28757a86c1537340e0c33c391ba74e93d3ca85a934ed97233bb63df5b4b027"}}},{"context":{"action":"create-module","data":{"images":["docker.io/innovyou/ns8-postgres:16.20240607.0","docker.io/innovyou/ns8-odoo:16.20240607.0"]},"extra":{},"id":"10cf6700-f01b-4db8-af11-e8c63247ad94","parent":"cf8c4d94-e46f-42fc-b991-d1ebf8ded01d"},"status":"completed","progress":100,"subTasks":[],"result":{"error":"Add to module/odoo2 environment NS8_POSTGRES_IMAGE=docker.io/innovyou/ns8-postgres:16.20240607.0\nAdd to module/odoo2 environment NS8_ODOO_IMAGE=docker.io/innovyou/ns8-odoo:16.20240607.0\n<7>podman-pull-missing docker.io/innovyou/ns8-postgres:16.20240607.0 docker.io/innovyou/ns8-odoo:16.20240607.0\nTrying to pull docker.io/innovyou/ns8-postgres:16.20240607.0...\nGetting image source signatures\nCopying blob sha256:f33740282c0040003ee1e3c9ec1a68d5eb873795badbbf6103c79cc588760e4a\nCopying blob sha256:256414453fba6e3cc9af34383da6e5920f6d4ac3399943b8569b68896c645a0e\nCopying blob sha256:f56be85fc22e46face30e2c3de3f7fe7c15f8fd7c4e5add29d7f64b87abdaa09\nCopying blob sha256:8eff49387ec9a1f26ada557b4e31f86a45f70ef57c1a45345e5bfbe75e53bcfc\nCopying blob sha256:f71699d7795ac5159478a278ffb6af3fcac0141e6a637d71062a601d7cab30c7\nCopying blob sha256:7da7fae4e80a5e292219502d2ce432382a68e8d0fb3841807ad70963ec194e7d\nCopying blob sha256:b49740a115f2f98ff2414fb5272986655b272d739c878477a6ca541430a41637\nCopying blob sha256:c36da779701e31511df27033e2a5e1b1ebdd0b7f4032cfab4a04c82139d7337a\nCopying blob sha256:44de7dba8a48b272d9bb1bd51bfc65887d02334f22cd8d27d4f4d9680c054aad\nCopying blob sha256:11c6db05853ff9f4a62390e484b604612fc20de2e93e86636c2e09559404419a\nCopying config sha256:7455ceb2009fa60c256bb9e7443914733c7b9a9925a67fbcb93d274b7025b468\nWriting manifest to image destination\n7455ceb2009fa60c256bb9e7443914733c7b9a9925a67fbcb93d274b7025b468\nTrying to pull docker.io/innovyou/ns8-odoo:16.20240607.0...\nGetting image source signatures\nCopying blob sha256:6e7af196cb704c7ee8d6335f2e87dfbe522eaf4d6426ad13fd45a4a2548d52f0\nCopying blob sha256:edaedc954fb53f42a7754a6e2d1b57f091bc9b11063bc445c2e325ea448f8f68\nCopying blob sha256:532fa846a5924e794d7539b461a88f5c3cd958183a354a3c9272a4a2fdb10161\nCopying blob sha256:d0f20f85cefa18db1831052de4b70005a1d65054c12552c3dcf4c785ec5e34ba\nCopying blob sha256:e7ffc1bc01a7b44488d99c9bb0ae1f284dbc930056d1ea15b745c2419fab9e56\nCopying blob sha256:31c0670902e9eec6dc0ced52779e7490ce33047b90a2bc8917fcdebb819650a0\nCopying blob sha256:7fd968dff1f63fb958150bf7a0fd5c027f90c9ab3ec5d8ba1a6f88f81f61e1f5\nCopying blob sha256:3cce94577fd54245f249a555abacba51b83d82280000abadd6efa37af0b8561b\nCopying blob sha256:571dd98063b06b65f9f296f26dec57fb16f93486e7c630bddbb04652b3a14562\nCopying blob sha256:aea0154f32748b206276d2d91f635d7217b3dbd3b54816e86f5cc8f09319f0fe\nCopying blob sha256:1cd9a31b47888d779caab1f17864ef47183290216880172b22aa8ac5e01e359b\nCopying blob sha256:ab013b97f04de9f40d820761b9ab11973fabd6251499c5a9ee733f01f1639a41\nCopying blob sha256:da5d1022ded6842a0b0b15c94dbeb13b173fb470717465c520add96c530ec29e\nCopying blob sha256:04f3b0d84c8e82c50462aa52c542d0a7f5226fe9bf79ebb820f8fec89befc2d7\nCopying blob sha256:94bf3cad251bb8d21c70fb7d75347e2edbb3072ac0ba555a1f1564ac940a3b4f\nCopying blob sha256:4b8f6462f0627a92c44e73701ee39cd77f1c93f24051ab356b435083ba34951e\nCopying blob sha256:12a366537e2cbeb3d49829755c507e600aebcf59107e9e623634d6e6707e250a\nCopying blob sha256:173d60340ef34a8639de75c92702ed9ee31cb291981871d3f8d81825879f0a2f\nCopying blob sha256:a65dee302beb38942f8c6c0975d64225561217732e766362ee63603e40f87ac8\nCopying blob sha256:94a946f4fcdb05c66047785ad3919b59d6d73d8674eab90816a0e91d03394d51\nCopying blob sha256:d07658551cd3d1b97c629256ae28a6569d92717d863c22555f4ac3b178c6ac6c\nCopying blob sha256:541dfc43573006176510f0aa9b8be6a6ecfe1f9963999bb1eba5ee3c84c76814\nCopying config sha256:7ef57b497133ed6ebffac184e972970bf7f7aa65ad99119273f7bdc8970b7460\nWriting manifest to image destination\n7ef57b497133ed6ebffac184e972970bf7f7aa65ad99119273f7bdc8970b7460\n1\nCreated symlink /home/odoo2/.config/systemd/user/default.target.wants/odoo.service → /home/odoo2/.config/systemd/user/odoo.service.\nCreated symlink /home/odoo2/.config/systemd/user/default.target.wants/postgres.service → /home/odoo2/.config/systemd/user/postgres.service.\n","exit_code":0,"file":"task/module/odoo2/10cf6700-f01b-4db8-af11-e8c63247ad94","output":"Request ok!\n"}}],"result":{"error":"<7>podman-pull-missing ghcr.io/innovyou/odoo:1.0.2\n<7>extract-ui ghcr.io/innovyou/odoo:1.0.2\nExtracting container filesystem ui to /var/lib/nethserver/cluster/ui/apps/odoo2\nui/css/\nui/css/about~31ecd969.aaeac019.css\nui/css/app~748942c6.a38a16f3.css\nui/i18n/\nui/i18n/en/\nui/i18n/en/translation.json\nui/i18n/it/\nui/i18n/it/translation.json\nui/img/\nui/img/module_default_logo.a898e8e8.png\nui/index.html\nui/js/\nui/js/about~31ecd969.688c252f.js\nui/js/about~31ecd969.688c252f.js.map\nui/js/app~748942c6.4f6c67ba.js\nui/js/app~748942c6.4f6c67ba.js.map\nui/js/chunk-vendors~02576867.44c88c8d.js\nui/js/chunk-vendors~02576867.44c88c8d.js.map\nui/js/chunk-vendors~0605657e.7f254d6a.js\nui/js/chunk-vendors~0605657e.7f254d6a.js.map\nui/js/chunk-vendors~0f485567.48cb4837.js\nui/js/chunk-vendors~0f485567.48cb4837.js.map\nui/js/chunk-vendors~17faf02d.7f68aab6.js\nui/js/chunk-vendors~17faf02d.7f68aab6.js.map\nui/js/chunk-vendors~1d97ff09.290bda9d.js\nui/js/chunk-vendors~1d97ff09.290bda9d.js.map\nui/js/chunk-vendors~2a42e354.0df57e14.js\nui/js/chunk-vendors~2a42e354.0df57e14.js.map\nui/js/chunk-vendors~2aa62147.38204dba.js\nui/js/chunk-vendors~2aa62147.38204dba.js.map\nui/js/chunk-vendors~41d44f25.e7779fa1.js\nui/js/chunk-vendors~41d44f25.e7779fa1.js.map\nui/js/chunk-vendors~46852254.0b6d19c2.js\nui/js/chunk-vendors~46852254.0b6d19c2.js.map\nui/js/chunk-vendors~57473a66.f586d2ed.js\nui/js/chunk-vendors~57473a66.f586d2ed.js.map\nui/js/chunk-vendors~5bb1f863.3efba861.js\nui/js/chunk-vendors~5bb1f863.3efba861.js.map\nui/js/chunk-vendors~5eba3806.b8428291.js\nui/js/chunk-vendors~5eba3806.b8428291.js.map\nui/js/chunk-vendors~690b702c.fd888ae3.js\nui/js/chunk-vendors~690b702c.fd888ae3.js.map\nui/js/chunk-vendors~7274e1de.72bc2eab.js\nui/js/chunk-vendors~7274e1de.72bc2eab.js.map\nui/js/chunk-vendors~86f6b1bc.5b497749.js\nui/js/chunk-vendors~86f6b1bc.5b497749.js.map\nui/js/chunk-vendors~b5906859.deff14e4.js\nui/js/chunk-vendors~b5906859.deff14e4.js.map\nui/js/chunk-vendors~bc21d4b3.68b10b46.js\nui/js/chunk-vendors~bc21d4b3.68b10b46.js.map\nui/js/chunk-vendors~c8728516.dd1ccc58.js\nui/js/chunk-vendors~c8728516.dd1ccc58.js.map\nui/js/chunk-vendors~d2305125.6a99a4ff.js\nui/js/chunk-vendors~d2305125.6a99a4ff.js.map\nui/js/chunk-vendors~d9886323.1a1a66f6.js\nui/js/chunk-vendors~d9886323.1a1a66f6.js.map\nui/js/chunk-vendors~db300d2f.ddb8641c.js\nui/js/chunk-vendors~db300d2f.ddb8641c.js.map\nui/js/chunk-vendors~ec8c427e.5c1734c3.js\nui/js/chunk-vendors~ec8c427e.5c1734c3.js.map\nui/js/chunk-vendors~fdc6512a.81c5c86c.js\nui/js/chunk-vendors~fdc6512a.81c5c86c.js.map\nui/js/lang-en-translation-json~9b60384d.e8fe913e.js\nui/js/lang-en-translation-json~9b60384d.e8fe913e.js.map\nui/js/lang-it-translation-json~e043826f.c044128e.js\nui/js/lang-it-translation-json~e043826f.c044128e.js.map\nui/metadata.json\nui/shortcuts.json\ne417d5086ad29320f28707d0dba77ab3140e0b365a5d2b6017c03ba4f781a9a6\n","exit_code":0,"file":"task/cluster/cf8c4d94-e46f-42fc-b991-d1ebf8ded01d","output":{"image_name":"odoo","image_url":"ghcr.io/innovyou/odoo:1.0.2","module_id":"odoo2"}}},{"context":{"action":"restore-module","data":{"environment":{"IMAGE_DIGEST":"sha256:6fa3039ab67409751fdbef87513e6c18eca306ce5737c3dca2291c06d65e680d","IMAGE_ID":"00ded83cd5fcc80d00baac53b605dd964b2ce47dff1f821a496f2b5773b30354","IMAGE_REOPODIGEST":"ghcr.io/innovyou/odoo@sha256:6fa3039ab67409751fdbef87513e6c18eca306ce5737c3dca2291c06d65e680d","IMAGE_URL":"ghcr.io/innovyou/odoo:1.0.2","MODULE_ID":"odoo1","MODULE_UUID":"06583f51-53a1-4840-be74-a91e240e223c","NODE_ID":"1","NS8_ODOO_IMAGE":"docker.io/innovyou/ns8-odoo:16.20240607.0","NS8_POSTGRES_IMAGE":"docker.io/innovyou/ns8-postgres:16.20240607.0","ODOO_LDAP_DOMAIN":"gaillet.be","TCP_PORT":"20039","TCP_PORTS":"20039,20040,20041","TCP_PORTS_RANGE":"20039-20041","TRAEFIK_HOST":"odoo.toucheatout.be","TRAEFIK_HTTP2HTTPS":"True","TRAEFIK_LETS_ENCRYPT":"True"},"path":"odoo/06583f51-53a1-4840-be74-a91e240e223c","replace":true,"repository":"ce9fb2b8-d342-5aaa-b538-ada6b54553f7","snapshot":"ac58bfb9408127d5893c18119d6b1ec1c9a66564a304d690fc0d1e358faf1820"},"extra":{},"id":"e179cd32-07af-4dd9-b7da-0400d5393eec","parent":"45c0dae4-c781-4213-adb0-7dab25f6058a"},"status":"aborted","progress":62,"subTasks":[],"result":{"error":"restic restore --json ac58bfb9408127d5893c18119d6b1ec1c9a66564a304d690fc0d1e358faf1820 --target . --exclude state/environment\nTrying to pull ghcr.io/nethserver/restic:3.11.0...\nGetting image source signatures\nCopying blob sha256:3772b693249d565e5a48710e4e878dba433b0e03c3f490ca4288e262ef755a84\nCopying blob sha256:df603300ccbcc1523bc2760b1bd7133a04e098190156de2f216bc808a68a73a9\nCopying config sha256:82d4aeeb1dba621aaaca653f05d80cab449f179dff2b78692dae8677d44fbc32\nWriting manifest to image destination\nRestoring all postgres databases\nNOTICE:  drop cascades to 87 other objects\nDETAIL:  drop cascades to extension pg_trgm\ndrop cascades to table auth_totp_device\ndrop cascades to table auth_totp_wizard\ndrop cascades to sequence base_cache_signaling\ndrop cascades to table base_document_layout\ndrop cascades to table base_enable_profiling_wizard\ndrop cascades to table base_import_import\ndrop cascades to table base_import_mapping\ndrop cascades to table base_import_tests_models_char\ndrop cascades to table base_import_tests_models_char_noreadonly\ndrop cascades to table base_import_tests_models_char_readonly\ndrop cascades to table base_import_tests_models_char_required\ndrop cascades to table base_import_tests_models_char_states\ndrop cascades to table base_import_tests_models_char_stillreadonly\ndrop cascades to table base_import_tests_models_complex\ndrop cascades to table base_import_tests_models_float\ndrop cascades to table base_import_tests_models_m2o\ndrop cascades to table base_import_tests_models_m2o_related\ndrop cascades to table base_import_tests_models_m2o_required\ndrop cascades to table base_import_tests_models_m2o_required_related\ndrop cascades to table base_import_tests_models_o2m\ndrop cascades to table base_import_tests_models_o2m_child\ndrop cascades to table base_import_tests_models_preview\ndrop cascades to table base_language_export\ndrop cascades to table base_language_import\ndrop cascades to table base_language_install\ndrop cascades to table base_module_install_request\ndrop cascades to table base_module_install_review\ndrop cascades to table base_module_uninstall\ndrop cascades to table base_module_update\ndrop cascades to table base_module_upgrade\ndrop cascades to table base_partner_merge_automatic_wizard\ndrop cascades to table base_partner_merge_automatic_wizard_res_partner_rel\ndrop cascades to table base_partner_merge_line\ndrop cascades to sequence base_registry_signaling\ndrop cascades to table bus_bus\ndrop cascades to table bus_presence\ndrop cascades to table change_password_own\ndrop cascades to table change_password_user\ndrop cascades to table change_password_wizard\ndrop cascades to table decimal_precision\ndrop cascades to table document_page\ndrop cascades to table document_page_create_menu\ndrop cascades to table document_page_history\ndrop cascades to table email_template_attachment_rel\ndrop cascades to table fetchmail_server\ndrop cascades to table ir_actions\ndrop cascades to table ir_act_client\ndrop cascades to table ir_act_report_xml\ndrop cascades to table ir_act_server\ndrop cascades to table ir_act_server_group_rel\ndrop cascades to table ir_act_server_res_partner_rel\ndrop cascades to table ir_act_url\ndrop cascades to table ir_act_window\ndrop cascades to table ir_act_window_group_rel\ndrop cascades to table ir_act_window_view\ndrop cascades to table ir_actions_todo\ndrop cascades to table ir_asset\ndrop cascades to table ir_attachment\ndrop cascades to table ir_config_parameter\ndrop cascades to table ir_cron\ndrop cascades to table ir_cron_trigger\ndrop cascades to table ir_default\ndrop cascades to table ir_demo\ndrop cascades to table ir_demo_failure\ndrop cascades to table ir_demo_failure_wizard\ndrop cascades to table ir_exports\ndrop cascades to table ir_exports_line\ndrop cascades to table ir_filters\ndrop cascades to table ir_logging\ndrop cascades to table ir_mail_server\ndrop cascades to table ir_model\ndrop cascades to table ir_model_access\ndrop cascades to table ir_model_constraint\ndrop cascades to table ir_model_data\ndrop cascades to table ir_model_fields\ndrop cascades to table ir_model_fields_group_rel\ndrop cascades to table ir_model_fields_selection\ndrop cascades to table ir_model_relation\ndrop cascades to table ir_module_category\ndrop cascades to table ir_module_module\ndrop cascades to table ir_module_module_dependency\ndrop cascades to table ir_module_module_exclusion\ndrop cascades to table ir_profile\ndrop cascades to table ir_property\ndrop cascades to table ir_rule\ndrop cascades to table ir_sequence\n","exit_code":137,"file":"task/module/odoo2/e179cd32-07af-4dd9-b7da-0400d5393eec","output":""}}],"validated":true,"result":{"error":"restic dump ac58bfb9408127d5893c18119d6b1ec1c9a66564a304d690fc0d1e358faf1820 state/environment\nAssertion failed\n  File \"/var/lib/nethserver/cluster/actions/restore-module/50restore_module\", line 103, in <module>\n    agent.assert_exp(restore_task_result['exit_code'] == 0)\n","exit_code":2,"file":"task/cluster/45c0dae4-c781-4213-adb0-7dab25f6058a","output":""}}

Any idea ?

Thanks !

How exactly did you move the restic backup file to the new storage that the new cluster can access?

What permissions/ownership does the backup file have on the new cluster?

What OS version did it came from and to what OS version is it going?

same S3 repository

N/A

Same.

Ended up using the database manager to restore an odoo backup (done manually). Really no idea what’s wrong, I tried to restore the backup manually using pg tool and it succeeded.