Ana_d
(Ana)
July 18, 2021, 6:34pm
1
Hello,
I’m trying to update my discourse forum through the DigitalOcean droplet console. I’m not comfortable with docker
I tried this :
If you self-host Discourse, you occasionally need to run a manual update via the command line to get the latest security releases newest libraries. These updates are not picked up in admin/update, which is why you’ll occasionally need to do this additional step.
Discourse itself should be updated about twice a month, by clicking the “Update to Latest Version” button in your admin dashboard (admin/update).
Every two months we recommend SSH’ing into your web server (using putty or your favor…
But got this error message :
too many arguments
After that I went to the link at the end of the error message :
I just ran:
cd /var/discourse
git pull
./launcher rebuild app
And am getting:
Your Docker installation is not working correctly
See: https://meta.discourse.org/t/docker-error-on-bootstrap/13657/18?u=sam
What do I do?
First things first … scroll up.
The error will usually contain multiple lines, the last line just points you here, previous lines point at the actual issue.
Second thing … can you run a trivial container… try.
docker run -it --rm hello-world
If this is not worki…
And I tried to run this :
docker run -it --rm hello-world
I tried the cleanup, but I was afraid to loose something on my work.
Could anybody help me ?
Thank you for reading me.
Benjamin_D
(Benjamin Decotte)
July 18, 2021, 7:31pm
2
Hi,
Considering your forum is up (you still can download a backup just in case) and assuming your host is not too far from up to date and this has previously worked, it might just be some transitory network trouble, could you try to rebuild again?
1 Like
Falco
(Falco)
July 18, 2021, 8:09pm
3
You can run ./launcher start app
to start your instance again without the update.
Regarding the error during the update, looks like an error on the hub.docker.com service. Try again later, they may be under some technical issues.
1 Like
Ana_d
(Ana)
July 19, 2021, 5:56pm
4
It worked !
Looks like when i copy/paste the command :
cd /var/discourse
git pull
./launcher rebuild app
There was too many spaces and that’s why I got the “too many arguments” error :
So I just copy/paste line by line separately and it worked perfectly, thanks everyone for your time !
system
(system)
Closed
August 18, 2021, 5:56pm
5
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.