Hi when I add the reactions plugin or the translation plugin in the containers/app.yml and try to rebuild the app I get the following output. Weirdly enmough also with a dutch phrase in the error message.
Ensuring launcher is up to date
Fetching origin
warning: unable to access '.git/info/grafts': Structure moet worden opgeschoond
warning: unable to access '.git/info/grafts': Structure moet worden opgeschoond
warning: unable to access '.git/info/grafts': Structure moet worden opgeschoond
Updating Launcher...
warning: unable to access '.git/info/grafts': Structure moet worden opgeschoond
warning: unable to access '.git/info/grafts': Structure moet worden opgeschoond
warning: unable to access '.git/info/grafts': Structure moet worden opgeschoond
Updating 333b879..f982cc4
warning: unable to access '.git/info/attributes': Structure moet worden opgeschoond
warning: unable to access '.git/info/exclude': Structure moet worden opgeschoond
error: Your local changes to the following files would be overwritten by merge:
image/base/Dockerfile
image/base/install-gifsicle
image/base/install-imagemagick
image/base/install-nginx
image/base/install-pngcrush
image/base/install-pngquant
image/base/install-redis
Please commit your changes or stash them before you merge.
Aborting
failed to update
Launcher updated, restarting...
And this repeats indefinitely until I hit CTRL+C.
Probably doing something wrong. I tried updating everything to the latest version, but to no avail.
Sorry. Nothing jumped out at me. You might need two spaces in front of - exec (or maybe it pasted funny?). It’s not an error I recognize or would expect to cause that error. . … Yeah. Maybe you need 4 spaces in front of - exec and 2 more in front of the rest. You could (or rename) your app.yml and re-run discourse-setup then carefully copy/paste the discourse_docker line and edit it for the additional plugins.
Tried your suggestion and I think I got something when running discourse-setup I got this:
WARNING: Discourse requires at least 2GB of swap when running with 2GB of RAM
or less. This system does not appear to have sufficient swap space.
Without sufficient swap space, your site may not work properly, and future
upgrades of Discourse may not complete successfully.
Ctrl+C to exit or wait 5 seconds to have a 2GB swapfile created.
install: kan geen toegang krijgen tot '/swapfile': Structure moet worden opgeschoond
fallocate: cannot open /swapfile: Structure moet worden opgeschoond
mkswap: cannot open /swapfile: Structure moet worden opgeschoond
swapon: cannot open /swapfile: Structure moet worden opgeschoond
/swapfile swap swap auto 0 0
vm.swappiness = 10
Failed to create swap: are you root? Are you running on real hardware, or a fully virtualized server?
free indicates no swap available on my VPS. Strange thing I never had it before either and the site runs nicely otherwise. Have succesfully installed plugins too.
Hi all, just to report back about how I resolved this.
It was indeed the XFS filesystem that got corrupted badly. Repairing that required installing XFSprogs which I couldn’t do because using apt-get to install gave same errors.
I’ve come to understand that installing plugins and rebuilding the app is a memory intensive task. However, I have a small forum with dito hardware underneath 2GB ram and 15 gb disk space. Had no swap enabled and my hypothesis is that I ran into memory issues because I had to reboot the system a couple of times while trying to install the plugins. Probably not good for the filesystem and XFS put safeguards around amongst others the GIT folder.
So I pulled a backup (fortunately on S3 so no issues with that), made backup of the app.yml file and respawned the VPS and setup SWAP with this guide (debian VPS). Under an hour I had things up and running again. Few
And the reactions plugin I set out for, working great!