Updating from below 2022-11-12: Manual intervention required!

If you’re upgrading our docker image from an installation done before 12th of November 2022, you’ll need to run a few commands manually on your instance, as the dependency on beyondcode/laravel-self-diagnosis was removed from pixelfed source.

To do so, if you use docker-compose, run the following commands.

Pull the new image and stop your running instance:

docker-compose pull
docker-compose stop app worker
docker-compose rm app worker

Enter an interactive container:

docker-compose run --rm --entrypoint=bash app

Inside the container, install composer and run dump-autoload to generate new dependencies, then exit the container (it will be removed automatically):

apt-install composer
composer dump-autoload
exit

Back at your server’s shell, start your instance:

docker-compose up -d

Leave a Reply

Your email address will not be published. Required fields are marked *