-
-
Notifications
You must be signed in to change notification settings - Fork 476
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Impossible to install in Docker (PHP7 not supported, PHP8 breaking changes) #787
Comments
@PatrykPlewaOfficial |
Thank you @papnoisanjeev . Unfortunately it did not resolve all the issues. When setting up the built-in MySQL DB, there is some issue in `./docker/bash/uvdesk-entrypoint.sh.
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
|
Hey @PatrykPlewaOfficial , Kindly follow this commit for the setup of the project. Setup the project locally and then deploy on docker, and make sure that inside the container
they have permission to write inside the container |
Hi @ars128 , I checked out the Additionally, I'm not sure what you mean by
What local setup do you mean apart from |
Ok, I found the problem. The |
All those files that are copied by the Dockerfile have incorrect end-of-line sequence
|
The folder vendor does not exist. That is the problem I have been reporting a few weeks back. you need to run composer create-project inside your container so all the dependent package will be downloaded inside your container for this project |
@ars128 What is the reason behind not including this inside the Dockerfile or the setup shell script? |
Anyway, I ran the In DefinitionErrorExceptionPass.php line 49: |
FROM ubuntu:latest ENV GOSU_VERSION=1.11 Install base supplementary packagesRUN apt-get update && apt-get -y upgrade RUN adduser uvdesk -q --disabled-password --gecos "" Copy Apache and entrypoint configurationsCOPY ./.docker/config/apache2/env /etc/apache2/envvars RUN Set permissions for all required files, including .envRUN Install Composer dependenciesRUN Change working directory to uvdesk sourceWORKDIR /var/www ENTRYPOINT ["uvdesk-entrypoint.sh"] |
**In DefinitionErrorExceptionPass.php line 49: This issue occurs because the Mailbox bundle has been updated, but the Core bundle is outdated, leading to a dependency conflict. To resolve this, update the Mailbox bundle using: composer require uvdesk/mailbox-component:"v1.1.3" and then clear the cache |
I did update the
|
This is realted to some symfony class which is missing while auto dump class is loaded, You can try to setup the project again and in the composer.json file, you can set the mailbox bundle "v1.1.3" so instead of getting the latest package it will use the old one |
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: