invoiceninja / dockerfiles

Docker files for Invoice Ninja
https://hub.docker.com/r/invoiceninja/invoiceninja
GNU General Public License v2.0
398 stars 264 forks source link

after upgrade empty white page #549

Closed Tabarane closed 8 months ago

Tabarane commented 8 months ago

docker-compose

To reproduce Steps to reproduce the behavior: running upgrade commands Docker Pull and compose up

Attaching to dockerfiles_server_1, dockerfiles_app_1, dockerfiles_db_1
app_1     | 2023-12-11T07:44:11Z [INFO] [Entrypoint]: Initialising Invoice Ninja...
app_1     |
app_1     |    INFO  Configuration cached successfully.
app_1     |
app_1     |
app_1     |    INFO  Caching the framework bootstrap files.
app_1     |
app_1     |   config ........................................................... 31ms DONE
app_1     |   routes .......................................................... 101ms DONE
app_1     |
app_1     |
app_1     |    INFO  Discovering packages.
app_1     |
app_1     |   imdhemy/laravel-purchases ............................................. DONE
app_1     |   intervention/image .................................................... DONE
app_1     |   invoiceninja/inspector ................................................ DONE
app_1     |   laravel/slack-notification-channel .................................... DONE
app_1     |   laravel/socialite ..................................................... DONE
app_1     |   laravel/tinker ........................................................ DONE
app_1     |   laravel/ui ............................................................ DONE
app_1     |   livewire/livewire ..................................................... DONE
app_1     |   nesbot/carbon ......................................................... DONE
app_1     |   nunomaduro/termwind ................................................... DONE
app_1     |   nwidart/laravel-modules ............................................... DONE
app_1     |   sentry/sentry-laravel ................................................. DONE
app_1     |   socialiteproviders/manager ............................................ DONE
app_1     |   spatie/laravel-data ................................................... DONE
app_1     |   turbo124/beacon ....................................................... DONE
app_1     |   webpatser/laravel-countries ........................................... DONE
app_1     |
app_1     |
app_1     |    INFO  Nothing to migrate.
app_1     |
app_1     | 2023-12-11 07:44:16,672 WARN For [program:php-fpm], redirect_stderr=true but stderr_logfile has also been set to a filename, the filename has been ignored
app_1     | 2023-12-11 07:44:16,672 WARN For [program:scheduler], redirect_stderr=true but stderr_logfile has also been set to a filename, the filename has been ignored
app_1     | 2023-12-11 07:44:16,673 WARN For [program:queue-worker], redirect_stderr=true but stderr_logfile has also been set to a filename, the filename has been ignored
app_1     | 2023-12-11 07:44:16,673 WARN For [program:queue-worker], redirect_stderr=true but stderr_logfile has also been set to a filename, the filename has been ignored
app_1     | 2023-12-11 07:44:16,676 INFO supervisord started with pid 1
app_1     | 2023-12-11 07:44:17,679 INFO spawned: 'shutdown' with pid 61
db_1      | 2023-12-11 07:44:10+00:00 [Note] [Entrypoint]: Entrypoint script for MariaDB Server 1:11.2.2+maria~ubu2204 started.
db_1      | 2023-12-11 07:44:10+00:00 [Note] [Entrypoint]: Switching to dedicated user 'mysql'
db_1      | 2023-12-11 07:44:10+00:00 [Note] [Entrypoint]: Entrypoint script for MariaDB Server 1:11.2.2+maria~ubu2204 started.
db_1      | 2023-12-11 07:44:11+00:00 [Note] [Entrypoint]: MariaDB upgrade not required
db_1      | 2023-12-11  7:44:11 0 [Note] Starting MariaDB 11.2.2-MariaDB-1:11.2.2+maria~ubu2204 source revision 929532a9426d085111c24c63de9c23cc54382259 as process 1
db_1      | 2023-12-11  7:44:11 0 [Note] InnoDB: Compressed tables use zlib 1.2.11
db_1      | 2023-12-11  7:44:11 0 [Note] InnoDB: Number of transaction pools: 1
db_1      | 2023-12-11  7:44:11 0 [Note] InnoDB: Using crc32 + pclmulqdq instructions
db_1      | 2023-12-11  7:44:11 0 [Note] mariadbd: O_TMPFILE is not supported on /tmp (disabling future attempts)
db_1      | 2023-12-11  7:44:11 0 [Warning] mariadbd: io_uring_queue_init() failed with ENOMEM: try larger memory locked limit, ulimit -l, or https://mariadb.com/kb/en/systemd/#configuring-limitmemlock under systemd (262144 bytes required)
db_1      | 2023-12-11  7:44:11 0 [Warning] InnoDB: liburing disabled: falling back to innodb_use_native_aio=OFF
db_1      | 2023-12-11  7:44:11 0 [Note] InnoDB: Initializing buffer pool, total size = 128.000MiB, chunk size = 2.000MiB
db_1      | 2023-12-11  7:44:11 0 [Note] InnoDB: Completed initialization of buffer pool
db_1      | 2023-12-11  7:44:11 0 [Note] InnoDB: Resetting space id's in the doublewrite buffer
db_1      | 2023-12-11  7:44:11 0 [Note] InnoDB: File system buffers for log disabled (block size=512 bytes)
db_1      | 2023-12-11  7:44:11 0 [Note] InnoDB: End of log at LSN=485999990
db_1      | 2023-12-11  7:44:12 0 [Note] InnoDB: Opened 3 undo tablespaces
db_1      | 2023-12-11  7:44:12 0 [Note] InnoDB: 128 rollback segments in 3 undo tablespaces are active.
db_1      | 2023-12-11  7:44:12 0 [Note] InnoDB: Setting file './ibtmp1' size to 12.000MiB. Physically writing the file full; Please wait ...
db_1      | 2023-12-11  7:44:12 0 [Note] InnoDB: File './ibtmp1' size is now 12.000MiB.
db_1      | 2023-12-11  7:44:12 0 [Note] InnoDB: log sequence number 485999990; transaction id 18932645
db_1      | 2023-12-11  7:44:12 0 [Note] Plugin 'FEEDBACK' is disabled.
db_1      | 2023-12-11  7:44:12 0 [Note] Plugin 'wsrep-provider' is disabled.
db_1      | 2023-12-11  7:44:12 0 [Note] InnoDB: Loading buffer pool(s) from /var/lib/mysql/ib_buffer_pool
db_1      | 2023-12-11  7:44:12 0 [Note] Server socket created on IP: '0.0.0.0'.
db_1      | 2023-12-11  7:44:12 0 [Note] Server socket created on IP: '::'.
db_1      | 2023-12-11  7:44:12 0 [Note] mariadbd: Event Scheduler: Loaded 0 events
db_1      | 2023-12-11  7:44:12 0 [Note] mariadbd: ready for connections.
db_1      | Version: '11.2.2-MariaDB-1:11.2.2+maria~ubu2204'  socket: '/run/mysqld/mysqld.sock'  port: 3306  mariadb.org binary distribution
db_1      | 2023-12-11  7:44:12 0 [Note] InnoDB: Buffer pool(s) load completed at 231211  7:44:12
app_1     | 2023-12-11 07:44:17,683 INFO spawned: 'php-fpm' with pid 62
app_1     | 2023-12-11 07:44:17,693 INFO spawned: 'queue-worker_00' with pid 63
app_1     | 2023-12-11 07:44:17,713 INFO spawned: 'queue-worker_01' with pid 64
app_1     | 2023-12-11 07:44:17,733 INFO spawned: 'scheduler' with pid 65
app_1     | READY
app_1     | [11-Dec-2023 07:44:18] NOTICE: [pool www] 'user' directive is ignored when FPM is not running as root
app_1     | [11-Dec-2023 07:44:18] NOTICE: [pool www] 'user' directive is ignored when FPM is not running as root
app_1     | [11-Dec-2023 07:44:18] NOTICE: [pool www] 'group' directive is ignored when FPM is not running as root
app_1     | [11-Dec-2023 07:44:18] NOTICE: [pool www] 'group' directive is ignored when FPM is not running as root
app_1     | [11-Dec-2023 07:44:18] NOTICE: fpm is running, pid 62
app_1     | [11-Dec-2023 07:44:18] NOTICE: ready to handle connections
app_1     | 2023-12-11 07:44:19,051 INFO success: shutdown entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
app_1     | 2023-12-11 07:44:19,051 INFO success: php-fpm entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
app_1     | 2023-12-11 07:44:19,051 INFO success: queue-worker_00 entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
app_1     | 2023-12-11 07:44:19,051 INFO success: queue-worker_01 entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
app_1     | 2023-12-11 07:44:19,052 INFO success: scheduler entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
app_1     |   2023-12-11 07:45:00 Running [queue-size-job] ..................... 56ms DONE
app_1     |   2023-12-11 07:45:00 Running [Callback] ........................... 16ms DONE
server_1  | /docker-entrypoint.sh: /docker-entrypoint.d/ is not empty, will attempt to perform configuration
server_1  | /docker-entrypoint.sh: Looking for shell scripts in /docker-entrypoint.d/
server_1  | /docker-entrypoint.sh: Launching /docker-entrypoint.d/10-listen-on-ipv6-by-default.sh
server_1  | 10-listen-on-ipv6-by-default.sh: info: Getting the checksum of /etc/nginx/conf.d/default.conf
server_1  | 10-listen-on-ipv6-by-default.sh: info: Enabled listen on IPv6 in /etc/nginx/conf.d/default.conf
server_1  | /docker-entrypoint.sh: Sourcing /docker-entrypoint.d/15-local-resolvers.envsh
server_1  | /docker-entrypoint.sh: Launching /docker-entrypoint.d/20-envsubst-on-templates.sh
server_1  | /docker-entrypoint.sh: Launching /docker-entrypoint.d/30-tune-worker-processes.sh
server_1  | /docker-entrypoint.sh: Configuration complete; ready for start up
server_1  | 2023/12/11 07:44:12 [notice] 1#1: using the "epoll" event method
server_1  | 2023/12/11 07:44:12 [notice] 1#1: nginx/1.25.3
server_1  | 2023/12/11 07:44:12 [notice] 1#1: built by gcc 12.2.0 (Debian 12.2.0-14)
server_1  | 2023/12/11 07:44:12 [notice] 1#1: OS: Linux 5.4.0-99-generic
server_1  | 2023/12/11 07:44:12 [notice] 1#1: getrlimit(RLIMIT_NOFILE): 1048576:1048576
server_1  | 2023/12/11 07:44:12 [notice] 1#1: start worker processes
server_1  | 2023/12/11 07:44:12 [notice] 1#1: start worker process 28
server_1  | 94.201.121.166 - - [11/Dec/2023:07:44:32 +0000] "\x16\x03\x01\x02\x00\x01\x00\x01\xFC\x03\x03\xF6\x86\xEF\x7F\x01/\xD7\xA7\xB5&['\xD9!\xDE\xE9\x8C\xD3\xF2\xC9a\xEFK\xAB\xB8xw\x1B\x92g\xEE` \xD9\xC3\xCCz\x12}\xC8d%\xE5\xE6\x7F\x17`\xB1\x14\xCB|t\xD5U\xE9\xFA\xC4pLX\xAF/\xD02]\x00 \xBA\xBA\x13\x01\x13\x02\x13\x03\xC0+\xC0/\xC0,\xC00\xCC\xA9\xCC\xA8\xC0\x13\xC0\x14\x00\x9C\x00\x9D\x00/\x005\x01\x00\x01\x93\xDA\xDA\x00\x00\x00\x10\x00\x0E\x00\x0C\x02h2\x08http/1.1\x00\x17\x00\x00\x00\x12\x00\x00\x00\x0B\x00\x02\x01\x00\x00\x05\x00\x05\x01\x00\x00\x00\x00\x00\x00\x00\x17\x00\x15\x00\x00\x12sales.tabarane.com\x003\x00+\x00)zz\x00\x01\x00\x00\x1D\x00 \xEF\xF2\x055\xC2\xB9\xA4#51\xE2v\x86d\xAE\x8F!])\xF1\x959\x02w,\xD2>4\x8B[\xF3T\x00+\x00\x07\x06\xCA\xCA\x03\x04\x03\x03\x00" 400 150 "-" "-" "-"
server_1  | 94.201.121.166 - - [11/Dec/2023:07:44:33 +0000] "\x16\x03\x01\x02\x00\x01\x00\x01\xFC\x03\x03\xABO5\xA5\xA0M\xA7sA\x94\x8A\xF7ea=\xED\x17\x87r\xE0\xB5fr\xC5\xE3Rrb\xCB\xB8=\xA1 m\x86\x84~\xEA\xFFGSJ\x87\x9BG\x9C1\xDE\xDD\xFE\x1E\xB7\xFA\xAF\xA8\x85\xF9I\x9C\x22R}N\x11]\x00 JJ\x13\x01\x13\x02\x13\x03\xC0+\xC0/\xC0,\xC00\xCC\xA9\xCC\xA8\xC0\x13\xC0\x14\x00\x9C\x00\x9D\x00/\x005\x01\x00\x01\x93JJ\x00\x00\xFF\x01\x00\x01\x00\x00+\x00\x07\x06\xEA\xEA\x03\x04\x03\x03\x00\x12\x00\x00\x00\x0B\x00\x02\x01\x00\x00\x00\x00\x17\x00\x15\x00\x00\x12sales.tabarane.com\x00\x1B\x00\x03\x02\x00\x02\x00-\x00\x02\x01\x01\x00\x10\x00\x0E\x00\x0C\x02h2\x08http/1.1\x00\x05\x00\x05\x01\x00\x00\x00\x00\x00\x17\x00\x00\x00" 400 150 "-" "-" "-"
server_1  | 172.24.0.1 - - [11/Dec/2023:07:45:34 +0000] "GET / HTTP/1.1" 200 5 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/118.0.0.0 Safari/537.36" "94.201.121.166"
server_1  | 172.24.0.1 - - [11/Dec/2023:07:45:36 +0000] "GET /flutter_service_worker.js?v=5.7.57 HTTP/1.1" 200 0 "https://sales.tabarane.com/flutter_service_worker.js?v=5.7.57" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/118.0.0.0 Safari/537.36" "94.201.121.166"
server_1  | 172.24.0.1 - - [11/Dec/2023:07:45:36 +0000] "GET / HTTP/1.1" 200 5 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/118.0.0.0 Safari/537.36" "94.201.121.166"
server_1  | 172.24.0.1 - - [11/Dec/2023:07:45:38 +0000] "GET / HTTP/1.1" 200 5 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/118.0.0.0 Safari/537.36" "94.201.121.166"
app_1     |
app_1     |   2023-12-11 07:45:01 App\Jobs\Ninja\QueueSize ....................... RUNNING
app_1     |   2023-12-11 07:45:01 App\Jobs\Ninja\QueueSize .................. 11.47ms DONE
app_1     | 172.24.0.4 -  11/Dec/2023:07:45:34 +0000 "GET /index.php" 200
app_1     | 172.24.0.4 -  11/Dec/2023:07:45:36 +0000 "GET /index.php" 200
app_1     | 172.24.0.4 -  11/Dec/2023:07:45:38 +0000 "GET /index.php" 200
app_1     |    INFO  No scheduled commands are ready to run.
app_1     |
app_1     |    INFO  No scheduled commands are ready to run.
app_1     |
app_1     | 172.24.0.4 -  11/Dec/2023:07:47:10 +0000 "GET /index.php" 200
server_1  | 172.24.0.1 - - [11/Dec/2023:07:47:10 +0000] "GET / HTTP/1.1" 200 5 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/118.0.0.0 Safari/537.36" "xxxxxxxxx"

`

Yes, no Error

turbo124 commented 8 months ago

Cannot recreate:

app_1     |    INFO  Running migrations.  
app_1     | 
app_1     |   2023_10_15_204204_add_paypal_ppcp ................................. 6ms DONE
app_1     |   2023_11_27_095042_add_hash_and_meta_columns_to_tasks_table ....... 80ms DONE
app_1     |   2023_11_30_042431_2023_11_30_add_payment_visibility .............. 39ms DONE
app_1     | 
app_1     | 2023-12-11 07:52:02,641 WARN For [program:php-fpm], redirect_stderr=true but stderr_logfile has also been set to a filename, the filename has been ignored
app_1     | 2023-12-11 07:52:02,641 WARN For [program:scheduler], redirect_stderr=true but stderr_logfile has also been set to a filename, the filename has been ignored
app_1     | 2023-12-11 07:52:02,641 WARN For [program:queue-worker], redirect_stderr=true but stderr_logfile has also been set to a filename, the filename has been ignored
app_1     | 2023-12-11 07:52:02,641 WARN For [program:queue-worker], redirect_stderr=true but stderr_logfile has also been set to a filename, the filename has been ignored
app_1     | 2023-12-11 07:52:02,642 INFO supervisord started with pid 1
app_1     | 2023-12-11 07:52:03,644 INFO spawned: 'shutdown' with pid 62
app_1     | 2023-12-11 07:52:03,645 INFO spawned: 'php-fpm' with pid 63
app_1     | 2023-12-11 07:52:03,645 INFO spawned: 'queue-worker_00' with pid 64
app_1     | 2023-12-11 07:52:03,646 INFO spawned: 'queue-worker_01' with pid 65
app_1     | 2023-12-11 07:52:03,647 INFO spawned: 'scheduler' with pid 66
app_1     | READY
app_1     | [11-Dec-2023 07:52:03] NOTICE: [pool www] 'user' directive is ignored when FPM is not running as root
app_1     | [11-Dec-2023 07:52:03] NOTICE: [pool www] 'user' directive is ignored when FPM is not running as root
app_1     | [11-Dec-2023 07:52:03] NOTICE: [pool www] 'group' directive is ignored when FPM is not running as root
app_1     | [11-Dec-2023 07:52:03] NOTICE: [pool www] 'group' directive is ignored when FPM is not running as root
app_1     | [11-Dec-2023 07:52:03] NOTICE: fpm is running, pid 63
app_1     | [11-Dec-2023 07:52:03] NOTICE: ready to handle connections
app_1     | 2023-12-11 07:52:04,680 INFO success: shutdown entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
app_1     | 2023-12-11 07:52:04,680 INFO success: php-fpm entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
app_1     | 2023-12-11 07:52:04,680 INFO success: queue-worker_00 entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
app_1     | 2023-12-11 07:52:04,680 INFO success: queue-worker_01 entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
app_1     | 2023-12-11 07:52:04,680 INFO success: scheduler entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
server_1  | 172.19.0.1 - - [11/Dec/2023:07:52:11 +0000] "GET / HTTP/1.1" 200 4737 "-" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36" "-"
app_1     | 172.19.0.4 -  11/Dec/2023:07:52:10 +0000 "GET /index.php" 200
server_1  | 172.19.0.1 - - [11/Dec/2023:07:52:11 +0000] "GET /js/pdf.min.js HTTP/1.1" 200 194857 "http://dv5r.test:8009/" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36" "-"
server_1  | 172.19.0.1 - - [11/Dec/2023:07:52:11 +0000] "GET /main.foss.dart.js?v=5.7.59 HTTP/1.1" 200 13263788 "http://dv5r.test:8009/" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36" "-"
server_1  | 172.19.0.1 - - [11/Dec/2023:07:52:12 +0000] "GET /canvaskit/chromium/canvaskit.js HTTP/1.1" 200 94032 "http://dv5r.test:8009/" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36" "-"
server_1  | 172.19.0.1 - - [11/Dec/2023:07:52:12 +0000] "GET /assets/FontManifest.json HTTP/1.1" 200 340 "http://dv5r.test:8009/" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36" "-"
server_1  | 172.19.0.1 - - [11/Dec/2023:07:52:12 +0000] "GET /assets/fonts/MaterialIcons-Regular.otf HTTP/1.1" 200 22400 "http://dv5r.test:8009/" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36" "-"
server_1  | 172.19.0.1 - - [11/Dec/2023:07:52:12 +0000] "GET /assets/assets/google_fonts/Roboto-Regular.ttf HTTP/1.1" 200 168260 "http://dv5r.test:8009/" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36" "-"
server_1  | 172.19.0.1 - - [11/Dec/2023:07:52:12 +0000] "GET /assets/packages/material_design_icons_flutter/lib/fonts/materialdesignicons-webfont.ttf HTTP/1.1" 200 1034252 "http://dv5r.test:8009/" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36" "-"
server_1  | 172.19.0.1 - - [11/Dec/2023:07:52:12 +0000] "GET /canvaskit/chromium/canvaskit.wasm HTTP/1.1" 200 5160078 "http://dv5r.test:8009/" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36" "-"
server_1  | 172.19.0.1 - - [11/Dec/2023:07:52:13 +0000] "GET /assets/AssetManifest.bin HTTP/1.1" 200 29311 "http://dv5r.test:8009/" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36" "-"
server_1  | 172.19.0.1 - - [11/Dec/2023:07:52:14 +0000] "GET /assets/assets/images/logo_light.png HTTP/1.1" 200 23482 "http://dv5r.test:8009/" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36" "-"

You'll want to inspect the browser console +/- storage/logs/laravel.log

Tabarane commented 8 months ago

Storage is cleared up otherwise continuers wont start , which is your location for the laravel logs? i can get it and share