I am facing an issue: I am unable to rebuild Discourse using the command “./launcher rebuild app”, and when I run the command “docker ps”, no Discourse container is visible. However, I can still access Discourse via the web without any problem. How is this possible?
Here are the errors that I encounter when I run the command “./launcher rebuild app”: :
docker: Error response from daemon: error while creating mount source path '/var/discourse/shared/standalone': mkdir /var/discourse: read-only file system.
bootstrap failed with exit code 125
** FAILED TO BOOTSTRAP ** please scroll up and look for earlier error messages, there may be more than one.
./discourse-doctor may help diagnose the problem.
f15514ef40f8a25134126ee1c0c7771c60081ce8a8f2f6384be73cbbca7a3d12
Result the command docker ps :
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
I want to rebuild Discourse to use it with HTTPS this time, and with Let’s Encrypt.
Thanks for help
You need to look for errors way back in the logs or console, maybe you had made a incomplete change for the https? Start and revert it to get it going again.
In the normal mode of launcher.sh docker containers are stopped before they are rebuild, so if the build fails they might miss (not sure if laufender tries to start the old ones as a recovery step?). (I think there is a reduced-downtime mode - which only stops them after the rebuild, not sure why this is not the default since it would help against such corruptions)
That would not explain why you still see discourse however discourse runs offline for quite some time very sneakily
Discourse version at forum.dauphine.media: NOT FOUND
Discourse version at localhost: NOT FOUND
Unable to find image 'local_discourse/app:latest' locally
docker: Error response from daemon: pull access denied for local_discourse/app, repository does not exist or may require 'docker login': denied: requested access to the resource is denied.
Discourse version at forum.dauphine.media: NOT FOUND
Discourse version at localhost: NOT FOUND
I used this command docker pull local_discourse/app:latest but i have same message : Error response from daemon: pull access denied for local_discourse/app, repository does not exist or may require 'docker login': denied: requested access to the resource is denied
I resolve the probleme with new install server discourse.
Before in old server i save data with administration setting and after i restore data in new server.
In new server Discourse container is visible now
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
e42d24042375 local_discourse/app "/sbin/boot" 25 minutes ago Up 25 minutes 0.0.0.0:80->80/tcp, :::80->80/tcp, 0.0.0.0:443->443/tcp, :::443->443/tcp app