Hi
I am trying to upgrade my discourse forum from 1.6.0.Beta10+9 to 2.3.0.beta6, using the “Click Here to Upgrade” option, inside the Admin panel
See this screen shot: https://www.intecons.com/AMB%2067.png
However, after doing some stuff for a while, it just hangs up at “Building Assets”, see this screen shot: https://www.intecons.com/AMB%2066.png
I am not a NGINX expert, just Apache
That’s why I am not trying to upgrade it using terminal window, but I have no idea now where to go from here
Any helps will be highly appreciated
Thanks
Ashwani
PS: Attaching the log which it has created so far. It’s here: https://www.intecons.com/Discourse%20upgrade%20log.txt
The error is probably happening before, we can’t see it in your screenshot.
Hi Joffery
Thanks for replying, that’s why I attached the whole log link too. It’s here: https://www.intecons.com/Discourse upgrade log.txt
Hopefully this helps
So your error is:
Sass::SyntaxError: Invalid CSS after "...le:none}:root{-": expected number or function, was "-blue:#007bff;-..."
Not sure it’s coming from Discourse, might be a plugin.
1 Like
pfaffman
(Jay Pfaffman)
April 3, 2019, 1:38pm
5
If you’re updating from 1.6 you’ll have to do a rebuild from the command line.
1 Like
Hi Jay
Thanks for the reply
But how will my data get transferred if I do a rebuild from command line
Sorry, I am a newbie
Can you give me some starting steps
pfaffman
(Jay Pfaffman)
April 3, 2019, 2:36pm
7
cd /var/discourse
git pull
./launcher rebuild app
./launcher rebuild app
You will not lose your data. I believe that you’ll need to rebuild twice because the first one will upgrade the database.
For $300 or year I’ll do command line upgrades when they are required. Automatic Rebuilds when They Are Needed – Literate Computing, LLC
1 Like
Stranik
(Evgeny)
April 3, 2019, 2:39pm
8
Small addition. If you had an error through the admin interface, you will have a high probability of error through the console. In order not to risk it can be immediately disable all third-party plugins and make a rebuild.
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…
2 Likes
Hi Jay
I get this
ERROR: Docker version 1.8.2 not supported, please upgrade to at least 17.03.1, or recommended 17.06.2
When I try to upgrade via console
Any help?
You think you can take it further from here?
Here is the full log of what it shows: https://www.intecons.com/result%20of%20upgrade%20through%20terminal.txt
Stephen
(Stephen)
April 4, 2019, 4:45am
10
How was this installed originally? What version of Ubuntu is this?
Assuming you have updated everything in apt and are running 16.+ then docker can usually be taken care of with:
wget -qO- https://get.docker.com/ | sh
pfaffman
(Jay Pfaffman)
April 4, 2019, 12:08pm
11
If docker was installed from an old Ubuntu version it is best to
apt purge docker.io
(or widget docker it is) first. You can see what it is with
dpkg -l |grep docker
1 Like