Closed hari-bo closed 1 month ago
@hari-bo Can you try changing the mount for the config dir:
- /mnt/SolidInvoice/var/www/html/config:/var/www/html/config
+ /mnt/SolidInvoice/var/www/html/config/env:/var/www/html/config/env
That did the trick! In the documentation it is incorrect and only describes the /var/www/html/config path.
Thank you for the report @hari-bo , I have updated the documentation to specify the correct config location
Describe the bug I've prepared the mandatory steps for using the docker full image which has the database included. But when trying to access the web interface via port 80 or 443 the screen is blank. Within the logging there are errors with missing files.
NOTICE: PHP message: PHP Warning: require(/var/www/html/config/bundles.php): Failed to open stream: No such file or directory in /var/www/html/src/Kernel.php on line 43 NOTICE: PHP message: PHP Fatal error: Uncaught Error: Failed opening required '/var/www/html/config/bundles.php' (include_path='.:/usr/share/php') in /var/www/html/src/Kernel.php:43 Stack trace:
0 /var/www/html/vendor/symfony/http-kernel/Kernel.php(386): SolidInvoice\Kernel->registerBundles()
1 /var/www/html/vendor/symfony/http-kernel/Kernel.php(788): Symfony\Component\HttpKernel\Kernel->initializeBundles()
2 /var/www/html/vendor/symfony/http-kernel/Kernel.php(190): Symfony\Component\HttpKernel\Kernel->preBoot()
3 /var/www/html/vendor/symfony/runtime/Runner/Symfony/HttpKernelRunner.php(35): Symfony\Component\HttpKernel\Kernel->handle()
4 /var/www/html/vendor/autoload_runtime.php(35): Symfony\Component\Runtime\Runner\Symfony\HttpKernelRunner->run()
5 /var/www/html/public/index.php(19): require_once('...')
6 {main}
thrown in /var/www/html/src/Kernel.php on line 43
To Reproduce Deploy docker container with the following config
With the second retry i did an chmod with all permissions on the html folder so that wouldn't be an issue. chmod -R 777 /mnt/SolidInvoice/var/www/html
Expected behavior Functional web interface.
Desktop (please complete the following information):