Database Error installing Stable release

Status
Not open for further replies.

socialboh

Member
Jan 11, 2021
30
2
8
Ver Cluster Port Status Owner Data directory Log file
13 main 5432 down postgres /var/lib/postgresql/13/main /var/log/postgresql/postgresql-13-main.log
update-alternatives: using /usr/share/postgresql/13/man/man1/postmaster.1.gz to provide /usr/share/man/man1/postmaster.1.gz (postmaster.1.gz) in auto mode
Setting up postgresql (13+225) ...
Setting up sysstat (12.5.2-2) ...

Creating config file /etc/default/sysstat with new version
update-alternatives: using /usr/bin/sar.sysstat to provide /usr/bin/sar (sar) in auto mode
Created symlink /etc/systemd/system/sysstat.service.wants/sysstat-collect.timer â /lib/systemd/system/sysstat-collect.timer.
Created symlink /etc/systemd/system/sysstat.service.wants/sysstat-summary.timer â /lib/systemd/system/sysstat-summary.timer.
Created symlink /etc/systemd/system/multi-user.target.wants/sysstat.service â /lib/systemd/system/sysstat.service.
Processing triggers for man-db (2.9.4-2) ...
CREATE DATABASE
CREATE DATABASE
CREATE ROLE
CREATE ROLE
GRANT
GRANT
GRANT
ALTER ROLE
ALTER ROLE
ERROR: relation "v_domains" does not exist
LINE 1: insert into v_domains (domain_uuid, domain_name, domain_enab...
^
PHP Notice: Undefined index: debug in /var/www/fusionpbx/resources/classes/auto_loader.php on line 41
PHP Notice: Undefined index: debug in /var/www/fusionpbx/resources/classes/auto_loader.php on line 50
PHP Notice: Undefined index: debug in /var/www/fusionpbx/resources/classes/auto_loader.php on line 95
PHP Notice: Undefined property: domains::$db in /var/www/fusionpbx/resources/classes/domains.php on line 603
PHP Notice: Undefined index: debug in /var/www/fusionpbx/resources/classes/auto_loader.php on line 41
PHP Notice: Undefined index: debug in /var/www/fusionpbx/resources/classes/auto_loader.php on line 50
PHP Notice: Undefined index: debug in /var/www/fusionpbx/resources/classes/auto_loader.php on line 95
PHP Fatal error: Uncaught Error: Call to a member function setAttribute() on null in /var/www/fusionpbx/resources/classes/database.php:1132
Stack trace:
#0 /var/www/fusionpbx/resources/classes/domains.php(765): database->select()
#1 /var/www/fusionpbx/resources/classes/domains.php(628): domains->settings()
#2 /var/www/fusionpbx/core/upgrade/upgrade_domains.php(56): domains->upgrade()
#3 {main}
thrown in /var/www/fusionpbx/resources/classes/database.php on line 1132
ERROR: relation "v_users" does not exist
LINE 1: insert into v_users (user_uuid, domain_uuid, username, passw...
^
ERROR: relation "v_groups" does not exist
LINE 1: select group_uuid from v_groups where group_name = 'superadm...
^
ERROR: relation "v_user_groups" does not exist
LINE 1: insert into v_user_groups (user_group_uuid, domain_uuid, gro...
^

Upgrade
-----------------------------------------

Database
PHP Notice: Undefined index: debug in /var/www/fusionpbx/resources/classes/auto_loader.php on line 41
PHP Notice: Undefined index: debug in /var/www/fusionpbx/resources/classes/auto_loader.php on line 50
PHP Notice: Undefined index: debug in /var/www/fusionpbx/resources/classes/auto_loader.php on line 95
PHP Notice: Undefined index: debug in /var/www/fusionpbx/resources/classes/auto_loader.php on line 41
PHP Notice: Undefined index: debug in /var/www/fusionpbx/resources/classes/auto_loader.php on line 50
PHP Notice: Undefined index: debug in /var/www/fusionpbx/resources/classes/auto_loader.php on line 95
PHP Fatal error: Uncaught Error: Call to a member function prepare() on null in /var/www/fusionpbx/resources/classes/schema.php:238
Stack trace:
#0 /var/www/fusionpbx/resources/classes/schema.php(561): schema->db_table_exists()
#1 /var/www/fusionpbx/core/upgrade/upgrade.php(146): schema->schema()
#2 {main}
thrown in /var/www/fusionpbx/resources/classes/schema.php on line 238
Created symlink /etc/systemd/system/multi-user.target.wants/email_queue.service â /etc/systemd/system/email_queue.service.
cp: cannot stat '/var/www/fusionpbx/app/event_guard/resources/service/debian.service': No such file or directory
Failed to enable unit: Unit file event_guard.service does not exist.
Failed to start event_guard.service: Unit event_guard.service not found.
 
Status
Not open for further replies.