Replies: 1 comment 1 reply
-
Update: For some reason, some of the files had the wrong permissions. I set autoload.php and bootstrap.php to 755, now it works! |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Trying to upgrade from craft 4 to 5 now.. Im following the docs (https://craftcms.com/docs/5.x/upgrade.html), here's what ive done so far:
1.Update Craft 4 and plugins to the latest (in Control Panel)
2.Update Craft CMS through Control Panel to the latest available version
3.Update all the remaining plugins through Control Panel to the latest available version
4.Edit my project’s composer.json to require "craftcms/cms": "^5.0.0" and Craft-4-compatible plugins all at once
5.Run ddev composer update
Then, when i run
ddev php craft up
, it runs succssfully:*** applied m240115_000000_craft5 (time: 5.657s)
28 migrations were applied.
Migrated up successfully.
Checking for pending content migrations ...
No new migrations found. Your system is up-to-date.
then my web page has the following error:
Warning: require(/var/www/html/bootstrap.php): Failed to open stream: No such file or directory in /var/www/html/web/index.php on line 7
Fatal error: Uncaught Error: Failed opening required '/var/www/html/bootstrap.php' (include_path='.:/usr/share/php') in /var/www/html/web/index.php:7 Stack trace: #0 {main} thrown in /var/www/html/web/index.php on line 7
Here is my composer.json:
Beta Was this translation helpful? Give feedback.
All reactions