You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There is a mismatch in the repository between PHP version expected in composer.json and the one installed in Dockerfile.
Running UVDesk is no longer possible on PHP7.4.
However, after selecting the Ubuntu version manually to 20.04 and replacing all PHP packages with any version 8+ it is no longer possible to install UVDesk due to breaking changes in PHP inside the migrations files.
Issue Description
In file /var/www/uvdesk/vendor/doctrine/migrations/lib/Doctrine/Migrations/Configuration/Connection/Loader/ConnectionHelperLoader.php
Build new image and start the container. Proceed to install in the browser.
Expected result
Successful installation
Actual result
POST wizard/xhr/load/migrations returns
<b>Deprecated</b>: Optional parameter $helperSet declared before required parameter $helperName is implicitly treated as a required parameter in <b>/var/www/uvdesk/vendor/doctrine/migrations/lib/Doctrine/Migrations/Configuration/Connection/Loader/ConnectionHelperLoader.php</b> on line <b>25</b><br/>[]
Installation is never completed.
The text was updated successfully, but these errors were encountered:
When setting up the built-in MySQL DB, there is some issue in `./docker/bash/uvdesk-entrypoint.sh.
mysqladmin: connect to server at 'localhost' failed
error: 'Access denied for user 'root'@'localhost' (using password: NO)'
Error: Failed to establish a connection with mysql server (localhost)
Secondly, when omitting setting up the DB (no env variables), there is still an issue. In the web browser, the container returns 500 without any specific error message. No errors in the Docker console.
Attaching the /var/log/apache2/error.log file
[mpm_prefork:notice] [pid 30] AH00163: Apache/2.4.41 (Ubuntu) configured -- resuming normal operations
[core:notice] [pid 30] AH00094: Command line: '/usr/sbin/apache2'
[php:warn] [pid 33] [client 172.23.0.1:55308] PHP Warning: require_once(/var/www/uvdesk/vendor/autoload_runtime.php): Failed to open stream: No such file or directory in /var/www/uvdesk/public/index.php on line 5
[php:error] [pid 33] [client 172.23.0.1:55308] PHP Fatal error: Uncaught Error: Failed opening required '/var/www/uvdesk/vendor/autoload_runtime.php' (include_path='.:/usr/share/php') in /var/www/uvdesk/public/index.php:5\nStack trace:\n#0 {main}\n thrown in /var/www/uvdesk/public/index.php on line 5
Bug report
Title
There is a mismatch in the repository between PHP version expected in
composer.json
and the one installed in Dockerfile.Running UVDesk is no longer possible on PHP7.4.
However, after selecting the Ubuntu version manually to
20.04
and replacing all PHP packages with any version 8+ it is no longer possible to install UVDesk due to breaking changes in PHP inside the migrations files.Issue Description
In file
/var/www/uvdesk/vendor/doctrine/migrations/lib/Doctrine/Migrations/Configuration/Connection/Loader/ConnectionHelperLoader.php
the optional parameter
$helperSet
comes first. Since PHP8 this is no longer possible. This causes the migrations to fail.Preconditions
Dockerfile
Steps to reproduce
Build new image and start the container. Proceed to install in the browser.
Expected result
Successful installation
Actual result
POST wizard/xhr/load/migrations
returnsInstallation is never completed.
The text was updated successfully, but these errors were encountered: