Skip to content

Could not load manifest: assets/manifest.json file not found!

Describe the bug

New install of Castopod using GitLab as source

Steps to reproduce

  1. Follow the directions here: https://docs.castopod.org/getting-started/install.html
  2. run php composer install (this step is missing from official documentation)
  3. Attempt to go to the cp-install page

Expected behavior

Should show the Installer options

Actual behavior

Get an error: Could not load manifest: assets/manifest.json file not found!

Relevant logs and/or screenshots

[Mon Sep 04 13:21:38.546285 2023\] \[proxy_fcgi:error\] \[pid 1844161\] \[client 172.56.24.122:0\] AH01071: Got error 'PHP message: PHP Warning: require(/home/enigmatic/web/enigmatic.zone/public_html/app/Config/../../vendor/codeigniter4/framework/system/bootstrap.php): Failed to open stream: No such file or directory in /home/enigmatic/web/enigmatic.zone/public_html/public/index.php on line 44PHP message: PHP Fatal error: Uncaught Error: Failed opening required '/home/enigmatic/web/enigmatic.zone/public_html/app/Config/../../vendor/codeigniter4/framework/system/bootstrap.php' (include_path='.:/usr/share/php') in /home/enigmatic/web/enigmatic.zone/public_html/public/index.php:44\\nStack trace:\\n#0 {main}\\n thrown in /home/enigmatic/web/enigmatic.zone/public_html/public/index.php on line 44' \[Mon Sep 04 13:21:38.547058 2023\] \[proxy_fcgi:error\] \[pid 1844162\] \[client 172.56.24.122:0\] AH01071: Got error 'PHP message: PHP Warning: require(/home/enigmatic/web/enigmatic.zone/public_html/app/Config/../../vendor/codeigniter4/framework/system/bootstrap.php): Failed to open stream: No such file or directory in /home/enigmatic/web/enigmatic.zone/public_html/public/index.php on line 44PHP message: PHP Fatal error: Uncaught Error: Failed opening required '/home/enigmatic/web/enigmatic.zone/public_html/app/Config/../../vendor/codeigniter4/framework/system/bootstrap.php' (include_path='.:/usr/share/php') in /home/enigmatic/web/enigmatic.zone/public_html/public/index.php:44\\nStack trace:\\n#0 {main}\\n thrown in /home/enigmatic/web/enigmatic.zone/public_html/public/index.php on line 44' \[Mon Sep 04 13:21:38.819538 2023\] \[proxy_fcgi:error\] \[pid 1844163\] \[client 172.56.24.122:0\] AH01071: Got error 'PHP message: PHP Warning: require(/home/enigmatic/web/enigmatic.zone/public_html/app/Config/../../vendor/codeigniter4/framework/system/bootstrap.php): Failed to open stream: No such file or directory in /home/enigmatic/web/enigmatic.zone/public_html/public/index.php on line 44PHP message: PHP Fatal error: Uncaught Error: Failed opening required '/home/enigmatic/web/enigmatic.zone/public_html/app/Config/../../vendor/codeigniter4/framework/system/bootstrap.php' (include_path='.:/usr/share/php') in /home/enigmatic/web/enigmatic.zone/public_html/public/index.php:44\\nStack trace:\\n#0 {main}\\n thrown in /home/enigmatic/web/enigmatic.zone/public_html/public/index.php on line 44' \[Mon Sep 04 13:37:08.234174 2023\] \[proxy_fcgi:error\] \[pid 1844160\] \[client 172.56.24.122:0\] AH01071: Got error 'PHP message: PHP Fatal error: Uncaught TypeError: array_key_exists(): Argument #2 ($array) must be of type array, null given in /home/enigmatic/web/enigmatic.zone/public_html/app/Libraries/Vite/Vite.php:59\\nStack trace:\\n#0 /home/enigmatic/web/enigmatic.zone/public_html/app/Libraries/Vite/Vite.php(59): array_key_exists()\\n#1 /home/enigmatic/web/enigmatic.zone/public_html/app/Libraries/Vite/Vite.php(27): Vite\\Vite-\>loadProd()\\n#2 /home/enigmatic/web/enigmatic.zone/public_html/app/Views/errors/html/production.php(12): Vite\\Vite-\>asset()\\n#3 /home/enigmatic/web/enigmatic.zone/public_html/vendor/codeigniter4/framework/system/Debug/Exceptions.php(251): include('...')\\n#4 /home/enigmatic/web/enigmatic.zone/public_html/vendor/codeigniter4/framework/system/Debug/Exceptions.php(254): CodeIgniter\\Debug\\Exceptions-\>CodeIgniter\\Debug\\{closure}()\\n#5 /home/enigmatic/web/enigmatic.zone/public_html/vendor/codeigniter4/framework/system/Debug/Exceptions.php(138): CodeIgniter\\Debug\\Exceptions-\>render()\\n#6 \[internal function\]: Co...'

Context

  • develop
  • OS: Ubuntu 22.04.2 LTS
  • Browser: Firefox
  • Web server:Nginx
  • [any other relevant context...]

Possible fixes

[If you can, link to the line of code that might be responsible for the problem]

Edited by Yassine Doghri