I'm encountering the same issue when attempting to upgrade—it's breaking. Has anyone found a way to successfully update the app without it breaking or requiring extensive debugging and db work? @johnny
Before Update:
Server Info
PHP version: 8.1.29
Database Version: 10.6.18-MariaDB-0ubuntu0.22.04.1 / 100618
Operating System: Linux techtronics-Standard-PC-Q35-ICH9-2009 6.8.0-45-generic #45~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Wed Sep 11 15:25:05 UTC 2 x86_64
Web Server: Apache/2.4.52 (Ubuntu)
Apache/PHP Error Log: Debian/Ubuntu default is usually /var/log/apache2/error.log
File System
Total number of files in uploads and its subdirectories: 29
Total size of files in uploads and its subdirectories: 0.8 MB
ITFlow app
App Version: 0f6ed690088819336e7be2b0acc9b911cf340d4e
Cron enabled: 1
App Timezone: Australia/Melbourne
Database Structure Check
Database stats
Number of tables: 93
Total number of fields: 919
Total number of rows: 5068
Current Database Version: 1.4.5
After Update:
🇫
[Thu Oct 17 15:04:05.184608 2024] [php:warn] [pid 853] [client] PHP Warning: Undefined array key "last_visited" in /path/to/login.php on line 221, referer: /path/to/login.php
[Thu Oct 17 15:10:01.110697 2024] [php:warn] [pid 850] [client] PHP Warning: Undefined variable $comments in /path/to/setting.php on line 985, referer: /path/to/admin_update.php
[Thu Oct 17 15:10:03.477920 2024] [php:warn] [pid 850] [client] PHP Warning: require_once(post/software.php): Failed to open stream: No such file or directory in /path/to/post.php on line 71, referer: /path/to/admin_update.php
[Thu Oct 17 15:10:03.478142 2024] [php:error] [pid 850] [client] PHP Fatal error: Uncaught Error: Failed opening required 'post/software.php' (include_path='.:/usr/share/php') in /path/to/post.php:71\nStack trace:\n#0 {main}\n thrown in /path/to/post.php on line 71, referer: /path/to/admin_update.php
[Thu Oct 17 15:10:03.552786 2024] [php:warn] [pid 1772] [client] PHP Warning: Undefined array key "config_invoice_paid_notification_email" in /path/to/get_settings.php on line 49, referer: /path/to/admin_update.php
[Thu Oct 17 15:10:03.552852 2024] [php:warn] [pid 1772] [client] PHP Warning: Undefined array key "config_whitelabel_enabled" in /path/to/get_settings.php on line 134, referer: /path/to/admin_update.php
[Thu Oct 17 15:10:03.552861 2024] [php:warn] [pid 1772] [client] PHP Warning: Undefined array key "config_whitelabel_key" in /path/to/get_settings.php on line 135, referer: /path/to/admin_update.php
[Thu Oct 17 15:10:03.554004 2024] [php:error] [pid 1772] [client] PHP Fatal error: Uncaught mysqli_sql_exception: Table 'itflow.custom_links' doesn't exist in /path/to/top_nav.php:33\nStack trace:\n#0 /path/to/top_nav.php(33): mysqli_query()\n#1 /path/to/inc_all_admin.php(16): require_once('...')\n#2 /path/to/admin_update.php(2): require_once('...')\n#3 {main}\n thrown in /path/to/top_nav.php on line 33, referer: /path/to/admin_update.php