[SOLVED] Migrating srv-x64-ubuntu to srv-arm64-ubuntu
Published: October 5, 2025 - 6:34 AM
WAPT Discovery -- 2.6.1.17472 -- SRV Ubuntu 24.04
Good morning,
I had set up a wapt server on the oracle cloud on a micro-x64 instance (1/8 ocpu / 1 GB RAM), everything works perfectly except that you have to be a little more patient given the performance of the server (limit of 50Mb/sec of upload bandwidth).
I wanted to migrate the server to an arm-x64 instance (better performance and 1Gb/sec/ocpu of bandwidth).
so I backed up
and dump the database.
I started the installation on the arm64 VM, but it seems there's an issue with the postconf script:
From what I've been able to find, it crashes with the new Python 3.10 environment when importing "setuphelper" into postconf.py. (But I'm probably wrong and I haven't investigated further.)
To get out of there, I purged everything and installed the latest 2.5 and there were no problems.
I migrated
but the database restoration fails (probably not the same schemas since I was on the latest 2.6)
So I have the server running on the latest 2.5, I have retrieved the server config and my packages and the host files but the console inventory remains empty (because there is no database restore?) and I cannot then upgrade to the latest 2.6 because of the error during postconf.
(To re-register a machine - agent 2.6 - I haven't found any other solution so far than to regenerate a waptagent 2.5 and do a "wapt-get install --force" to overwrite the installed agent 2.6, but I have to go to each machine to do this)
Commander.
Good morning,
I had set up a wapt server on the oracle cloud on a micro-x64 instance (1/8 ocpu / 1 GB RAM), everything works perfectly except that you have to be a little more patient given the performance of the server (limit of 50Mb/sec of upload bandwidth).
I wanted to migrate the server to an arm-x64 instance (better performance and 1Gb/sec/ocpu of bandwidth).
so I backed up
Code: Select all
/opt/wapt/conf
/opt/wapt/waptserver/ssl
/var/www/wapt*
/var/www/*.jsonI started the installation on the arm64 VM, but it seems there's an issue with the postconf script:
Code: Select all
root@xxxx:/opt/wapt/waptserver/ssl# /opt/wapt/waptserver/scripts/postconf.sh
/opt/wapt/waptserver/scripts/postconf.sh: line 12: 20784 Segmentation fault (core dumped) NCURSES_NO_UTF8_ACS=1 PYTHONPATH=/opt/wapt /opt/wapt/bin/python -I /opt/wapt/waptserver/scripts/postconf.py $@
To get out of there, I purged everything and installed the latest 2.5 and there were no problems.
I migrated
Code: Select all
/opt/wapt/conf
/opt/wapt/waptserver/ssl
/var/www/wapt*
/var/www/*.jsonSo I have the server running on the latest 2.5, I have retrieved the server config and my packages and the host files but the console inventory remains empty (because there is no database restore?) and I cannot then upgrade to the latest 2.6 because of the error during postconf.
(To re-register a machine - agent 2.6 - I haven't found any other solution so far than to regenerate a waptagent 2.5 and do a "wapt-get install --force" to overwrite the installed agent 2.6, but I have to go to each machine to do this)
Commander.