Mikhail_Degtjarev encountered issues rebuilding a Discourse app due to a YAML syntax error caused by a tab in app.ymlMikhail_Degtjarev. After fixing the tab, a new error arose: mkdir /var/discourse: read-only file systemMikhail_Degtjarev. Stephen identified that Docker was installed via snap (unsupported for Discourse), confirmed by docker info output showing snap paths. Mikhail followed a DigitalOcean tutorial using Git, which isn’t officially supported Stephen. He attempted to reinstall using the official method, but faced backup restore failures and persistent snap traces even after purging Docker via apt Mikhail_Degtjarev. schleifer clarified that snap installations require sudo snap remove to fully uninstall, not apt commands. Mikhail plans to fully remove snap Docker and retry the official install, acknowledging the unsupported nature of his current setup Mikhail_Degtjarev. Community support is limited for non-Ubuntu or snap-based installs, though consultants can be hired via the MarketplaceStephen.
While trying to install akismet, running: sudo ./launcher rebuild app
gives me such error:
Ensuring launcher is up to date
Fetching origin
Launcher is up-to-date
(<unknown>): found a tab character that violate intendation while scanning a plain scalar at line 91 column 13 -e LANG=en_US.UTF-8
YAML syntax error. Please check your containers/*.yml config files.
in my /containers/app.yml I have:
## Which Git revision should this container use? (default: tests-passed)
#version: tests-passed
env:
LANG: en_US.UTF-8
# DISCOURSE_DEFAULT_LOCALE: en
Thank you!
I find tab in config file, now I have another issue:
Ensuring launcher is up to date
Fetching origin
Launcher is up-to-date
cd /pups && git pull && /pups/bin/pups --stdin
/usr/bin/docker: Error response from daemon: error while creating mount source path '/var/discourse/shared/standalone': mkdir /var/discourse: read-only file system.
260dedf1e96919078211b6e422ba8297749d9418d13f27f69caa79b41926f98a
** FAILED TO BOOTSTRAP ** please scroll up and look for earlier error messages, there may be more than one
We don’t support that installation method here, the only supported install is the official install method.
Your docker info confirms that docker was installed using snap. Your options are to either ask DigitalOcean for support as you’ve followed their method, or use the official install method linked above.
Oh, sure I will reinstall it, but please do you have official method for reinstalling? I am going to use CentOS and want to migrate container itself to new host.