Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- root@core1:~# sudo apt-get install --reinstall nginx sonata-switchboard sonata-recordings vitalpbx vitalpbx-sms vitalpbx-voice-hub provisioning-core vitalpbx-ai-assistants sonata-stats vitalpbx-connect vitalpbx-phones-provisioning logger-core sonata-billing vitalpbx-queues-callback vitalpbx-phone-books vitxi vitalpbx-multi-tenant vitalpbx-virtual-faxes
- Reading package lists... Done
- Building dependency tree... Done
- Reading state information... Done
- The following packages were automatically installed and are no longer required:
- linux-image-5.10.0-33-amd64 linux-image-6.1.0-32-amd64 python3-ntp
- Use 'sudo apt autoremove' to remove them.
- 0 upgraded, 0 newly installed, 18 reinstalled, 0 to remove and 0 not upgraded.
- Need to get 0 B/158 MB of archives.
- After this operation, 0 B of additional disk space will be used.
- (Reading database ... 139288 files and directories currently installed.)
- Preparing to unpack .../00-vitalpbx_4.5.1-2_amd64.deb ...
- Unpacking vitalpbx (4.5.1-2) over (4.5.1-2) ...
- Preparing to unpack .../01-logger-core_4.5.0-3_all.deb ...
- Unpacking logger-core (4.5.0-3) over (4.5.0-3) ...
- Preparing to unpack .../02-nginx_1.22.1-9+deb12u2_amd64.deb ...
- Unpacking nginx (1.22.1-9+deb12u2) over (1.22.1-9+deb12u2) ...
- Preparing to unpack .../03-provisioning-core_4.5.0-7_all.deb ...
- Unpacking provisioning-core (4.5.0-7) over (4.5.0-7) ...
- Preparing to unpack .../04-sonata-billing_4.5.0-2_all.deb ...
- Unpacking sonata-billing (4.5.0-2) over (4.5.0-2) ...
- Preparing to unpack .../05-sonata-recordings_4.5.0-4_all.deb ...
- Unpacking sonata-recordings (4.5.0-4) over (4.5.0-4) ...
- Preparing to unpack .../06-sonata-stats_4.0.5-4_all.deb ...
- Unpacking sonata-stats (4.0.5-4) over (4.0.5-4) ...
- Preparing to unpack .../07-sonata-switchboard_4.5.0-4_all.deb ...
- Unpacking sonata-switchboard (4.5.0-4) over (4.5.0-4) ...
- Preparing to unpack .../08-vitalpbx-ai-assistants_4.5.0-7_amd64.deb ...
- Unpacking vitalpbx-ai-assistants (4.5.0-7) over (4.5.0-7) ...
- Preparing to unpack .../09-vitalpbx-connect_4.5.0-4_all.deb ...
- Unpacking vitalpbx-connect (4.5.0-4) over (4.5.0-4) ...
- Preparing to unpack .../10-vitalpbx-multi-tenant_4.5.0-3_all.deb ...
- Unpacking vitalpbx-multi-tenant (4.5.0-3) over (4.5.0-3) ...
- Preparing to unpack .../11-vitalpbx-phone-books_4.5.0-4_all.deb ...
- Unpacking vitalpbx-phone-books (4.5.0-4) over (4.5.0-4) ...
- Preparing to unpack .../12-vitalpbx-phones-provisioning_4.5.0-9_all.deb ...
- Unpacking vitalpbx-phones-provisioning (4.5.0-9) over (4.5.0-9) ...
- Preparing to unpack .../13-vitalpbx-queues-callback_4.5.0-3_all.deb ...
- Unpacking vitalpbx-queues-callback (4.5.0-3) over (4.5.0-3) ...
- Preparing to unpack .../14-vitalpbx-sms_4.5.0-3_all.deb ...
- Unpacking vitalpbx-sms (4.5.0-3) over (4.5.0-3) ...
- Preparing to unpack .../15-vitalpbx-virtual-faxes_4.5.1-1_all.deb ...
- Unpacking vitalpbx-virtual-faxes (4.5.1-1) over (4.5.1-1) ...
- Preparing to unpack .../16-vitalpbx-voice-hub_4.5.0-3_all.deb ...
- Unpacking vitalpbx-voice-hub (4.5.0-3) over (4.5.0-3) ...
- Preparing to unpack .../17-vitxi_4.5.0-6_all.deb ...
- Unpacking vitxi (4.5.0-6) over (4.5.0-6) ...
- Setting up nginx (1.22.1-9+deb12u2) ...
- Upgrading binary: nginx.
- Setting up sonata-switchboard (4.5.0-4) ...
- Setting up sonata-recordings (4.5.0-4) ...
- Configuration file '/etc/nginx/pbx-addons/rec-manager.conf'
- ==> File on system created by you or by a script.
- ==> File also in package provided by package maintainer.
- What would you like to do about it ? Your options are:
- Y or I : install the package maintainer's version
- N or O : keep your currently-installed version
- D : show the differences between the versions
- Z : start a shell to examine the situation
- The default action is to keep your current version.
- *** rec-manager.conf (Y/I/N/O/D/Z) [default=N] ? Y
- Installing new version of config file /etc/nginx/pbx-addons/rec-manager.conf ...
- Setting up provisioning-core (4.5.0-7) ...
- INFO Application cache cleared successfully.
- INFO Clearing cached bootstrap files.
- events .................................................................................................................................. 3ms DONE
- views .................................................................................................................................. 17ms DONE
- cache .................................................................................................................................. 12ms DONE
- route ................................................................................................................................... 2ms DONE
- config .................................................................................................................................. 2ms DONE
- compiled ................................................................................................................................ 2ms DONE
- INFO Route cache cleared successfully.
- INFO Caching the framework bootstrap files.
- config ................................................................................................................................. 32ms DONE
- routes ................................................................................................................................. 25ms DONE
- Setting up sonata-stats (4.0.5-4) ...
- INFO Application cache cleared successfully.
- INFO Clearing cached bootstrap files.
- events .................................................................................................................................. 4ms DONE
- views .................................................................................................................................. 14ms DONE
- cache ................................................................................................................................... 9ms DONE
- route ................................................................................................................................... 3ms DONE
- config .................................................................................................................................. 2ms DONE
- compiled ................................................................................................................................ 2ms DONE
- INFO Caching the framework bootstrap files.
- config ................................................................................................................................. 32ms DONE
- routes ................................................................................................................................. 26ms DONE
- INFO Routes cached successfully.
- INFO Configuration cached successfully.
- INFO Nothing to migrate.
- Setting up logger-core (4.5.0-3) ...
- INFO Application cache cleared successfully.
- INFO Clearing cached bootstrap files.
- cache ................................................................................................................................ 6.20ms DONE
- compiled ............................................................................................................................. 2.95ms DONE
- config ............................................................................................................................... 1.90ms DONE
- events ............................................................................................................................... 1.85ms DONE
- routes ............................................................................................................................... 1.87ms DONE
- views ............................................................................................................................... 17.33ms DONE
- INFO Route cache cleared successfully.
- INFO Caching framework bootstrap, configuration, and metadata.
- config .............................................................................................................................. 26.25ms DONE
- events ............................................................................................................................... 2.06ms DONE
- routes .............................................................................................................................. 11.22ms DONE
- views ............................................................................................................................... 44.61ms DONE
- Setting up sonata-billing (4.5.0-2) ...
- Configuration file '/etc/nginx/pbx-addons/call-accounting.conf'
- ==> File on system created by you or by a script.
- ==> File also in package provided by package maintainer.
- What would you like to do about it ? Your options are:
- Y or I : install the package maintainer's version
- N or O : keep your currently-installed version
- D : show the differences between the versions
- Z : start a shell to examine the situation
- The default action is to keep your current version.
- *** call-accounting.conf (Y/I/N/O/D/Z) [default=N] ? Y
- Installing new version of config file /etc/nginx/pbx-addons/call-accounting.conf ...
- Setting up vitxi (4.5.0-6) ...
- Y
- Updating 'vitxi' wrapper script...
- Starting the .env update process...
- Found existing .env file: /usr/share/vitxi/backend/.env
- Updating variable DB_CONNECTION to new value mariadb
- Updating variable REVERB_APP_ID to new value vitxi_app
- Updating variable REVERB_APP_KEY to new value vitxi4561aq
- Updating variable REVERB_APP_SECRET to new value va9UMJwqYhs9aKW53FH+asd
- Removed empty lines from .env file
- Updated .env file has been saved
- Restored original permissions, owner, and group to .env file
- Temporary file cleaned up
- Checking JWT_SECRET and DB_PASSWORD in /usr/share/vitxi/backend/.env...
- JWT_SECRET is already set.
- DB_PASSWORD is already set.
- INFO Application cache cleared successfully.
- INFO Caching framework bootstrap, configuration, and metadata.
- config .............................................................................................................................. 56.32ms DONE
- events ............................................................................................................................... 2.98ms DONE
- routes .............................................................................................................................. 46.76ms DONE
- views ............................................................................................................................... 91.35ms DONE
- INFO Nothing to migrate.
- INFO Routes cached successfully.
- INFO Configuration cached successfully.
- INFO Caching framework bootstrap, configuration, and metadata.
- config .............................................................................................................................. 59.44ms DONE
- events ............................................................................................................................... 2.23ms DONE
- routes .............................................................................................................................. 42.45ms DONE
- views ............................................................................................................................... 59.71ms DONE
- Cron entry already exists in /etc/cron.d/vitxi
- Setting up vitalpbx (4.5.1-2) ...
- Configuring Tenant: MAIN PBX...
- INFO Nothing to migrate.
- Setting up vitalpbx-sms (4.5.0-3) ...
- Setting up vitalpbx-voice-hub (4.5.0-3) ...
- Setting up vitalpbx-ai-assistants (4.5.0-7) ...
- Setting up vitalpbx-connect (4.5.0-4) ...
- Setting up vitalpbx-phones-provisioning (4.5.0-9) ...
- INFO Nothing to migrate.
- 💡 [INFO] Configuring Provisioning Auth for "MAIN PBX" tenant...
- 💡 [INFO] Configuration Applied
- 💡 [INFO] Done!
- Setting up vitalpbx-queues-callback (4.5.0-3) ...
- Setting up vitalpbx-phone-books (4.5.0-4) ...
- Setting up vitalpbx-multi-tenant (4.5.0-3) ...
- Setting up vitalpbx-virtual-faxes (4.5.1-1) ...
- Processing triggers for mariadb-server (1:10.11.11-0+deb12u1) ...
- Processing triggers for man-db (2.11.2-2) ...
- root@core1:~# vitalpbx check-integrity
- No Issues Found!
- root@core1:~# vitalpbx optimize-mariadb
- Restarting MariaDB...
- Reloading Asterisk ODBC driver...
- Module 'res_odbc.so' reloaded successfully.
- Done
- ● mariadb.service - MariaDB 10.11.11 database server
- Loaded: loaded (/lib/systemd/system/mariadb.service; enabled; preset: enabled)
- Active: active (running) since Thu 2025-07-31 07:12:31 EDT; 101ms ago
- Docs: man:mariadbd(8)
- https://mariadb.com/kb/en/library/systemd/
- Process: 784182 ExecStartPre=/usr/bin/install -m 755 -o mysql -g root -d /var/run/mysqld (code=exited, status=0/SUCCESS)
- Process: 784183 ExecStartPre=/bin/sh -c systemctl unset-environment _WSREP_START_POSITION (code=exited, status=0/SUCCESS)
- Process: 784185 ExecStartPre=/bin/sh -c [ ! -e /usr/bin/galera_recovery ] && VAR= || VAR=`/usr/bin/galera_recovery`; [ $? -eq 0 ] && systemctl set-environment _WSREP_START_POSITION=$VAR || exit 1 (code=exited, status=0/SU> Process: 784349 ExecStartPost=/bin/sh -c systemctl unset-environment _WSREP_START_POSITION (code=exited, status=0/SUCCESS)
- Process: 784351 ExecStartPost=/etc/mysql/debian-start (code=exited, status=0/SUCCESS)
- Main PID: 784326 (mariadbd)
- Status: "Taking your SQL requests now..."
- Tasks: 20 (limit: 62585)
- Memory: 361.9M
- CPU: 1.481s
- CGroup: /system.slice/mariadb.service
- ├─784326 /usr/sbin/mariadbd
- ├─784352 /bin/bash /etc/mysql/debian-start
- ├─784354 /usr/bin/mysql_upgrade --defaults-extra-file=/etc/mysql/debian.cnf --version-check --silent
- ├─784355 grep -E -v "^(1|@had|ERROR (1051|1054|1060|1061|1146|1347|1348))"
- ├─784356 logger -p daemon warn -i -t/etc/mysql/debian-start
- ├─784366 sh -c "'/usr/bin/mariadb' --defaults-file=/tmp/mysql_upgrade-qxanP0 --database=mysql --batch --skip-force --print-query-on-error --silent < /tmp/sqlEFSNC9 2>&1 "
- └─784367 /usr/bin/mariadb --defaults-file=/tmp/mysql_upgrade-qxanP0 --database=mysql --batch --skip-force --print-query-on-error --silent
- Jul 31 07:12:30 core1 mariadbd[784326]: 2025-07-31 7:12:30 0 [Note] InnoDB: Setting file './ibtmp1' size to 12.000MiB. Physically writing the file full; Please wait ...
- Jul 31 07:12:30 core1 mariadbd[784326]: 2025-07-31 7:12:30 0 [Note] InnoDB: File './ibtmp1' size is now 12.000MiB.
- Jul 31 07:12:30 core1 mariadbd[784326]: 2025-07-31 7:12:30 0 [Note] InnoDB: log sequence number 39479775405; transaction id 34977019
- Jul 31 07:12:30 core1 mariadbd[784326]: 2025-07-31 7:12:30 0 [Note] InnoDB: Loading buffer pool(s) from /var/lib/mysql/ib_buffer_pool
- Jul 31 07:12:30 core1 mariadbd[784326]: 2025-07-31 7:12:30 0 [Note] Plugin 'FEEDBACK' is disabled.
- Jul 31 07:12:31 core1 mariadbd[784326]: 2025-07-31 7:12:31 0 [Note] Server socket created on IP: '0.0.0.0'.
- Jul 31 07:12:31 core1 mariadbd[784326]: 2025-07-31 7:12:31 0 [Note] Server socket created on IP: '::'.
- Jul 31 07:12:31 core1 mariadbd[784326]: 2025-07-31 7:12:31 0 [Note] /usr/sbin/mariadbd: ready for connections.
- Jul 31 07:12:31 core1 mariadbd[784326]: Version: '10.11.11-MariaDB-0+deb12u1-log' socket: '/run/mysqld/mysqld.sock' port: 3306 Debian 12
- Jul 31 07:12:31 core1 systemd[1]: Started mariadb.service - MariaDB 10.11.11 database server.
- root@core1:~# vitalpbx optimize-server
- Optimizing Nginx...
- Optimizing PHP FPM...
- Optimizing MariaDB...
- Optimizing Redis...
- Optimizing Server...
- Module 'res_odbc.so' reloaded successfully.
- Done
- ● nginx.service - A high performance web server and a reverse proxy server
- Loaded: loaded (/lib/systemd/system/nginx.service; enabled; preset: enabled)
- Active: active (running) since Thu 2025-07-31 07:13:31 EDT; 3s ago
- Docs: man:nginx(8)
- Process: 784717 ExecStartPre=/usr/sbin/nginx -t -q -g daemon on; master_process on; (code=exited, status=0/SUCCESS)
- Process: 784718 ExecStart=/usr/sbin/nginx -g daemon on; master_process on; (code=exited, status=0/SUCCESS)
- Main PID: 784719 (nginx)
- Tasks: 7 (limit: 9482)
- Memory: 8.4M
- CPU: 199ms
- CGroup: /system.slice/nginx.service
- ├─784719 "nginx: master process /usr/sbin/nginx -g daemon on; master_process on;"
- ├─784720 "nginx: worker process"
- ├─784721 "nginx: worker process"
- ├─784722 "nginx: worker process"
- ├─784723 "nginx: worker process"
- ├─784724 "nginx: worker process"
- └─784725 "nginx: worker process"
- Jul 31 07:13:31 core1 systemd[1]: Starting nginx.service - A high performance web server and a reverse proxy server...
- Jul 31 07:13:31 core1 systemd[1]: Started nginx.service - A high performance web server and a reverse proxy server.
- ● php8.2-fpm.service - The PHP 8.2 FastCGI Process Manager
- Loaded: loaded (/lib/systemd/system/php8.2-fpm.service; enabled; preset: enabled)
- Active: active (running) since Thu 2025-07-31 07:13:25 EDT; 8s ago
- Docs: man:php-fpm8.2(8)
- Process: 784699 ExecStartPost=/usr/lib/php/php-fpm-socket-helper install /run/php/php-fpm.sock /etc/php/8.2/fpm/pool.d/www.conf 82 (code=exited, status=0/SUCCESS)
- Main PID: 784666 (php-fpm8.2)
- Status: "Ready to handle connections"
- Tasks: 31 (limit: 9482)
- Memory: 35.9M
- CPU: 740ms
- CGroup: /system.slice/php8.2-fpm.service
- ├─784666 "php-fpm: master process (/etc/php/8.2/fpm/php-fpm.conf)"
- ├─784669 "php-fpm: pool www"
- ├─784670 "php-fpm: pool www"
- ├─784671 "php-fpm: pool www"
- ├─784672 "php-fpm: pool www"
- ├─784673 "php-fpm: pool www"
- ├─784674 "php-fpm: pool www"
- ├─784675 "php-fpm: pool www"
- ├─784676 "php-fpm: pool www"
- ├─784677 "php-fpm: pool www"
- ├─784678 "php-fpm: pool www"
- ├─784679 "php-fpm: pool www"
- ├─784680 "php-fpm: pool www"
- ├─784681 "php-fpm: pool www"
- ├─784682 "php-fpm: pool www"
- ├─784683 "php-fpm: pool www"
- ├─784684 "php-fpm: pool www"
- ├─784685 "php-fpm: pool www"
- ├─784686 "php-fpm: pool www"
- ├─784687 "php-fpm: pool www"
- ├─784688 "php-fpm: pool www"
- ├─784689 "php-fpm: pool www"
- ├─784690 "php-fpm: pool www"
- ├─784691 "php-fpm: pool www"
- ├─784692 "php-fpm: pool www"
- ├─784693 "php-fpm: pool www"
- ├─784694 "php-fpm: pool www"
- ├─784695 "php-fpm: pool www"
- ├─784696 "php-fpm: pool www"
- ├─784697 "php-fpm: pool www"
- └─784698 "php-fpm: pool www"
- Jul 31 07:13:25 core1 systemd[1]: Starting php8.2-fpm.service - The PHP 8.2 FastCGI Process Manager...
- Jul 31 07:13:25 core1 systemd[1]: Started php8.2-fpm.service - The PHP 8.2 FastCGI Process Manager.
- ● mariadb.service - MariaDB 10.11.11 database server
- Loaded: loaded (/lib/systemd/system/mariadb.service; enabled; preset: enabled)
- Active: active (running) since Thu 2025-07-31 07:13:33 EDT; 1s ago
- Docs: man:mariadbd(8)
- https://mariadb.com/kb/en/library/systemd/
- Process: 784729 ExecStartPre=/usr/bin/install -m 755 -o mysql -g root -d /var/run/mysqld (code=exited, status=0/SUCCESS)
- Process: 784730 ExecStartPre=/bin/sh -c systemctl unset-environment _WSREP_START_POSITION (code=exited, status=0/SUCCESS)
- Process: 784732 ExecStartPre=/bin/sh -c [ ! -e /usr/bin/galera_recovery ] && VAR= || VAR=`/usr/bin/galera_recovery`; [ $? -eq 0 ] && systemctl set-environment _WSREP_START_POSITION=$VAR || exit 1 (code=exited, status=0/SU> Process: 784885 ExecStartPost=/bin/sh -c systemctl unset-environment _WSREP_START_POSITION (code=exited, status=0/SUCCESS)
- Process: 784887 ExecStartPost=/etc/mysql/debian-start (code=exited, status=0/SUCCESS)
- Main PID: 784872 (mariadbd)
- Status: "Taking your SQL requests now..."
- Tasks: 15 (limit: 62585)
- Memory: 313.7M
- CPU: 2.186s
- CGroup: /system.slice/mariadb.service
- └─784872 /usr/sbin/mariadbd
- Jul 31 07:13:32 core1 mariadbd[784872]: 2025-07-31 7:13:32 0 [Note] Plugin 'FEEDBACK' is disabled.
- Jul 31 07:13:32 core1 mariadbd[784872]: 2025-07-31 7:13:32 0 [Note] InnoDB: Buffer pool(s) load completed at 250731 7:13:32
- Jul 31 07:13:33 core1 mariadbd[784872]: 2025-07-31 7:13:33 0 [Note] Server socket created on IP: '0.0.0.0'.
- Jul 31 07:13:33 core1 mariadbd[784872]: 2025-07-31 7:13:33 0 [Note] Server socket created on IP: '::'.
- Jul 31 07:13:33 core1 mariadbd[784872]: 2025-07-31 7:13:33 0 [Note] /usr/sbin/mariadbd: ready for connections.
- Jul 31 07:13:33 core1 mariadbd[784872]: Version: '10.11.11-MariaDB-0+deb12u1-log' socket: '/run/mysqld/mysqld.sock' port: 3306 Debian 12
- Jul 31 07:13:33 core1 systemd[1]: Started mariadb.service - MariaDB 10.11.11 database server.
- Jul 31 07:13:33 core1 /etc/mysql/debian-start[784889]: Upgrading MySQL tables if necessary.
- Jul 31 07:13:33 core1 /etc/mysql/debian-start[784902]: Checking for insecure root accounts.
- Jul 31 07:13:33 core1 /etc/mysql/debian-start[784906]: Triggering myisam-recover for all MyISAM tables and aria-recover for all Aria tables
- ● redis-server.service - Advanced key-value store
- Loaded: loaded (/lib/systemd/system/redis-server.service; enabled; preset: enabled)
- Active: active (running) since Thu 2025-07-31 07:13:34 EDT; 2s ago
- Docs: http://redis.io/documentation,
- man:redis-server(1)
- Main PID: 784923 (redis-server)
- Status: "Ready to accept connections"
- Tasks: 5 (limit: 9482)
- Memory: 24.1M
- CPU: 615ms
- CGroup: /system.slice/redis-server.service
- └─784923 "/usr/bin/redis-server 127.0.0.1:6379"
- Jul 31 07:13:33 core1 systemd[1]: Starting redis-server.service - Advanced key-value store...
- Jul 31 07:13:34 core1 systemd[1]: Started redis-server.service - Advanced key-value store.
- root@core1:~# vitalpbx gen-conf
- Done
- root@core1:~# vitalpbx fully-gen-conf
- Configuring Tenant: MAIN PBX...
- Done
Advertisement
Add Comment
Please, Sign In to add comment