CorsServiceProvider not found error #11

Closed
opened 2023-04-30 14:57:48 +00:00 by benoitlouy · 2 comments

I am trying to update from tag 2023-04-12 to 2023-04-20 but the app and worker refuse to start.

I see the following error:

Apr 30 10:42:12 T docker-compose[7995]: pixelfed-app-1     | + [[ ! -e storage/.docker.init ]]
Apr 30 10:42:12 T docker-compose[7995]: pixelfed-app-1     | + gosu www-data php artisan storage:link
Apr 30 10:42:12 T docker-compose[7995]: pixelfed-app-1     |
Apr 30 10:42:12 T docker-compose[7995]: pixelfed-app-1     | In Application.php line 827:
Apr 30 10:42:12 T docker-compose[7995]: pixelfed-app-1     |
Apr 30 10:42:12 T docker-compose[7995]: pixelfed-app-1     |   Class "Fruitcake\Cors\CorsServiceProvider" not found

Same error with all the docker image version published after 2023-04-20

I am trying to update from tag 2023-04-12 to 2023-04-20 but the app and worker refuse to start. I see the following error: ``` Apr 30 10:42:12 T docker-compose[7995]: pixelfed-app-1 | + [[ ! -e storage/.docker.init ]] Apr 30 10:42:12 T docker-compose[7995]: pixelfed-app-1 | + gosu www-data php artisan storage:link Apr 30 10:42:12 T docker-compose[7995]: pixelfed-app-1 | Apr 30 10:42:12 T docker-compose[7995]: pixelfed-app-1 | In Application.php line 827: Apr 30 10:42:12 T docker-compose[7995]: pixelfed-app-1 | Apr 30 10:42:12 T docker-compose[7995]: pixelfed-app-1 | Class "Fruitcake\Cors\CorsServiceProvider" not found ``` Same error with all the docker image version published after 2023-04-20
Contributor

Any news on this? I have the same issue running the docker images and wonder how other setups get arround this error. Maybe someone has a hint for me?

Any news on this? I have the same issue running the docker images and wonder how other setups get arround this error. Maybe someone has a hint for me?
Author

@samuel-p what solved it for me was to remove the container using docker rm <container id or name> before upgrading to a new version.

@samuel-p what solved it for me was to remove the container using `docker rm <container id or name>` before upgrading to a new version.
Sign in to join this conversation.
No labels
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: dockers/pixelfed#11
No description provided.