-
-
Notifications
You must be signed in to change notification settings - Fork 33
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
Fehlermeldung bei das updaten von 4.3 auf 5.0 #822
Comments
Contao 5.0 has reached the end of its life, you need to update to Contao 5.3.* or 5.4.*. You also need to update to Contao 4.13 first - you cannot update directly from Contao 4.3 to 5. |
The error does not look like it is related to the actually updated Contao versions. Do you get the same message when installing or updating any other package? |
On other Contao sites (on the same server) I could install packages (like the rocksolid packages) without problem. As a test, on this site, I now installed madeyourday/contao-rocksolid-slider: same error. So, your assumption is right. What can be the reason that on the same server, but on other sites, this works fine, but not on this site? How can I see what the problem is? The error is vague, and the server obviously is supported. |
You could try to run the same command via CLI if that's possible for you. |
I have no experience with CLI, I depend on the Contao UI |
When updating, can you see more information in the posted screenshot? There should be a button to show more details. Did you try it with a blank contao installation? Are you sure it's not any dependencies that don't work on your setup? I know that you depend on the Contao UI but we can't help you if all you are giving us is a: |
After refreshing the contao manager, it now added the madeyourday/contao-rocksolid-slider: $ /usr/local/php83/bin/php -q -dmax_execution_time=0 -dmemory_limit=-1 -ddisplay_errors=0 -ddisplay_startup_errors=0 -derror_reporting=0 -dallow_url_fopen=1 -ddisable_functions= -ddate.timezone=Europe/Zurich /home/eniseu1/www/2024.denisebucher.ch/public/contao-manager.phar.php composer require madeyourday/contao-rocksolid-slider --no-update --no-scripts --prefer-stable --sort-packages --no-ansi --no-interaction Using version ^2.2 for madeyourday/contao-rocksolid-slider Process terminated with exit code 0Result: OK
[6.8MiB/0.18s] Loading composer repositories with package information Job ID floYF7BiV27pjBQBv47fhlWGzwdKeNgH7NwnCUpM53moVXfE8MkGfxVd2gsqN7k5rUa8n0IHdBjNCk1 completed in 1724662389 secondsMemory usage: 13.29MB (peak: 170.86MB), time: 8.35s.$ /usr/local/php83/bin/php -q -dmax_execution_time=0 -dmemory_limit=-1 -ddisplay_errors=0 -ddisplay_startup_errors=0 -derror_reporting=0 -dallow_url_fopen=1 -ddisable_functions= -ddate.timezone=Europe/Zurich /home/eniseu1/www/2024.denisebucher.ch/public/contao-manager.phar.php composer install --no-dev --no-progress --no-ansi --no-interaction --optimize-autoloader Installing dependencies from lock file
Trying to install assets as relative symbolic links.
✔ --- ------------------------ ------------------ ✔ ContaoCoreBundle relative symlink
✔ public/files/bilder files/bilder // Clearing the cache for the prod environment with debug [OK] Cache for the "prod" environment (debug=false) was successfully cleared. // Clearing the cache for the dev environment with debug [OK] Cache for the "dev" environment (debug=true) was successfully cleared. // Warming up the cache for the prod environment with debug [OK] Cache for the "prod" environment (debug=false) was successfully warmed. [INFO] Done! Please open the Contao install tool or run the contao:migrate w/2024.denisebucher.ch/vendor/contao/manager-bundle/bin/contao-console cache:clear --no-warmup --env=prod --no-ansi" command: Cannot rename because the target "/home/eniseu1/www/2024.denisebucher.ch/va cache:clear [--no-warmup] [--no-optional-warmers] " ["exception" => RuntimeException { …},"message" => """ An error occurred while executing the "/usr/local/php83/bin/php -dmemory_limit=-1 /home/eniseu1/www/2024.denisebucher.ch/vendor/contao/manager-bundle/bin/contao-console cache:clear --no-warmup --env=prod --no-ansi" command: \n In Filesystem.php line 297:\n \n Cannot rename because the target "/home/eniseu1/www/2024.denisebucher.ch/va \n r/cache/pro~" already exists. \n \n \n cache:clear [--no-warmup] [--no-optional-warmers]\n \n """] In ContaoSetupCommand.php line 146: An error occurred while executing the "/usr/local/php83/bin/php -dmemory_li
va cache:clear [--no-warmup] [--no-optional-warmers] contao:setup Script @php vendor/bin/contao-setup handling the post-install-cmd event returned with error code 1 Process terminated with exit code 0Result: OK |
I then tried to run the Contao Update to 5, but the same error happens. I cannot copy the full log, as the button to show more details does not do anything when this error happens. |
There are no dependencies, it's a pure Contao installation, an upgrade of a 3.* site, which went well and is running. |
Update: I now refreshed the contao manager again, when getting the error. It then proceeeds with the upgrade. Apparently, the status of the installation is not communicated well to the UI. After refreshing, the status is communicated properly. |
It looks like it's trying to rename something but you are missing permissions. Did you simply copy everything? Did you follow this guide? |
I used this guide: https://contao-academy.de/blog/update-contao-3-auf-contao-4 |
With other sites this worked flawlessly, funny enough, only this site gives problems |
Could you delete the |
I did, but it did not make a difference. Every time this error pops up, I have to do a hard reload on the contao manager, then it proceeds. |
You mean the task continues to run even though it did give you an error in the first place? |
Exactly. The contao manager front end gives the error, but when I do a hard reload, apparently the the task ran and completed. |
can you check your browser console for the |
Fehlermeldung bei das updaten von 4.3 auf 5.0:
Hintergrund-Prozess
Der Contao Manager konnte den Hintergrund-Prozess nicht starten.
Die Ausführung der Aufgabe ist fehlgeschlagen.
Sollte dies wiederholt geschehen, wird dein Server möglicherweise nicht unterstützt.
composer require contao/manager-bundle=5.0 contao/news-bundle=5.0 contao/calendar-bundle=5.0 contao/faq-bundle=5.0 contao/comments-bundle=5.0 contao/newsletter-bundle=5.0 contao/listing-bundle=5.0
composer update --no-install --dry-run
vendor/bin/contao-console contao:maintenance-mode enable
composer install --dry-run
vendor/bin/contao-console contao:maintenance-mode disable
Wäre gut zu wissen was nicht unterstützt wird, es gibt nirgendswo infos dazu.
Server ist bei Hostpoint, Schweiz, PHP8.3.10, MySQL10.6-MariaDB
The text was updated successfully, but these errors were encountered: