Hello!
I have fusion installed a on a physical computer running Debian 9.8 and postgres 13. Trying to migrate that server to a proxmox container. Both sides were fully up to date with the latest pull.
I setup a Debian 10 minimal image, went through the install script, Freeswitch wouldnt start. After some research I found this article, commented out these 3 lines (#IOSchedulingClass=realtime, #IOSchedulingPriority=2, #CPUSchedulingPolicy=rr) and freeswitch started correctly. I was able to login to the web interface. Everything looks good. Status of all services checked out.
I ran the backup script from the fusion site on my current server. It performs a DB dump without issues.
I login to my new server, run the restore script which uses RSYNC to copy files, tries to restores the database - Gives error
DROP SCHEMA
CREATE SCHEMA
pg_restore: connecting to database for restore
pg_restore: creating SCHEMA "public"
pg_restore: [archiver (db)] Error while PROCESSING TOC:
pg_restore: [archiver (db)] Error from TOC entry 3; 2615 2200 SCHEMA public postgres
pg_restore: [archiver (db)] could not execute query: ERROR: schema "public" already exists
Command was: CREATE SCHEMA public;
I manually deleted the public schema and restored the sql file manually and was able to get it to restore without errors. Compared the database to the old one and it appears to be the same.
When I login to my new server - Now i get a blank screen with only <! - {title} -> showing.
Enabled errors to be shown and I get:
Warning: ini_set(): A session is active. You cannot change the session module's ini settings at this time in /var/www/fusionpbx/resources/php.php on line 29
Notice: Undefined index: domains in /var/www/fusionpbx/resources/pdo.php on line 258
Notice: Undefined index: domain_uuid in /var/www/fusionpbx/resources/classes/domains.php on line 95
Notice: Undefined index: domain_name in /var/www/fusionpbx/resources/classes/domains.php on line 202
Notice: Undefined index: domain_uuid in /var/www/fusionpbx/resources/pdo.php on line 329
Notice: Undefined index: en-us in /var/www/fusionpbx/resources/classes/text.php on line 105
Notice: Undefined index: en-us in /var/www/fusionpbx/resources/classes/text.php on line 110
Notice: Undefined index: destination in /var/www/fusionpbx/resources/login.php on line 38
Notice: Undefined index: cache in /var/www/fusionpbx/resources/footer.php on line 43
Notice: Undefined variable: template_rss_sub_category in /var/www/fusionpbx/resources/footer.php on line 50
Notice: Undefined index: custom_css in /var/www/fusionpbx/resources/footer.php(76) : eval()'d code on line 37
Notice: Undefined index: font_loader in /var/www/fusionpbx/resources/footer.php(76) : eval()'d code on line 57
Any help would be appreciated. I feel like im pretty close to making this work but am at a loss.
I have fusion installed a on a physical computer running Debian 9.8 and postgres 13. Trying to migrate that server to a proxmox container. Both sides were fully up to date with the latest pull.
I setup a Debian 10 minimal image, went through the install script, Freeswitch wouldnt start. After some research I found this article, commented out these 3 lines (#IOSchedulingClass=realtime, #IOSchedulingPriority=2, #CPUSchedulingPolicy=rr) and freeswitch started correctly. I was able to login to the web interface. Everything looks good. Status of all services checked out.
I ran the backup script from the fusion site on my current server. It performs a DB dump without issues.
I login to my new server, run the restore script which uses RSYNC to copy files, tries to restores the database - Gives error
DROP SCHEMA
CREATE SCHEMA
pg_restore: connecting to database for restore
pg_restore: creating SCHEMA "public"
pg_restore: [archiver (db)] Error while PROCESSING TOC:
pg_restore: [archiver (db)] Error from TOC entry 3; 2615 2200 SCHEMA public postgres
pg_restore: [archiver (db)] could not execute query: ERROR: schema "public" already exists
Command was: CREATE SCHEMA public;
I manually deleted the public schema and restored the sql file manually and was able to get it to restore without errors. Compared the database to the old one and it appears to be the same.
When I login to my new server - Now i get a blank screen with only <! - {title} -> showing.
Enabled errors to be shown and I get:
Warning: ini_set(): A session is active. You cannot change the session module's ini settings at this time in /var/www/fusionpbx/resources/php.php on line 29
Notice: Undefined index: domains in /var/www/fusionpbx/resources/pdo.php on line 258
Notice: Undefined index: domain_uuid in /var/www/fusionpbx/resources/classes/domains.php on line 95
Notice: Undefined index: domain_name in /var/www/fusionpbx/resources/classes/domains.php on line 202
Notice: Undefined index: domain_uuid in /var/www/fusionpbx/resources/pdo.php on line 329
Notice: Undefined index: en-us in /var/www/fusionpbx/resources/classes/text.php on line 105
Notice: Undefined index: en-us in /var/www/fusionpbx/resources/classes/text.php on line 110
Notice: Undefined index: destination in /var/www/fusionpbx/resources/login.php on line 38
Notice: Undefined index: cache in /var/www/fusionpbx/resources/footer.php on line 43
Notice: Undefined variable: template_rss_sub_category in /var/www/fusionpbx/resources/footer.php on line 50
Notice: Undefined index: custom_css in /var/www/fusionpbx/resources/footer.php(76) : eval()'d code on line 37
Notice: Undefined index: font_loader in /var/www/fusionpbx/resources/footer.php(76) : eval()'d code on line 57
Any help would be appreciated. I feel like im pretty close to making this work but am at a loss.