Loomio
Tue 30 Jun 2020 10:35PM

problems with upgrading old installation

HW Holger Wessels Public Seen by 47

Hi,

as it was mentioned in a similar topic, upgrading an older loomio installation which wasn't touch since installation can be tricky. I've tried for hours all the variations I could find, but wasn't successful yet. I'm running a Ubuntu 18.4 virtual server. I've tried several from the command mentioned in the other threads, upgrading the os, git pull etc. but nothing got me through.

What could be the most useful next step?

Thanks,

Holger (Berlin Burner e.V.)

RG

Robert Guthrie Thu 16 Jul 2020 8:27PM

No such file or directory @ rb_sysopen - /loomio/public/client/vue/index.html means the vue client did not build or could not be found.

Are you running stable or latest?

RG

Robert Guthrie Thu 16 Jul 2020 8:39PM

Actually, I posted that last comment too early.

Honestly, I don't get this error. The vue client is built during the Dockerfile build stage, so before the image gets to you. (assuming you're running :latest).

It's very strange to me that it's not there.

Side note: I just found a problem where app should have had "depends_on: redis" added, so I've added that to master now.

HW

Holger Wessels Thu 16 Jul 2020 10:36PM

I'm running latest, now with your last addition. The funny thing is that the file is there somewhere and readable (/var/snap/docker/common/var-lib-docker/aufs/diff/e5de098ed06bdabead2ada2aaf96e78166a8c5c39be7950154a38e9cdb176683/loomio/public/client/vue/index.html), but somehow the relative path is not working. I tried also en-us locale in the browser, but no change. The machine has a very tight memory and cpu setting, it was just enough for the old version a year ago, but I sometimes get requestTimeoutExceptions (>15sec) usually in sprockets. Do you think those problems could be related? the 500 usually comes quite fast ...

RG

Robert Guthrie Thu 16 Jul 2020 10:58PM

oh dear, I think this line needs to be taken out of docker-compose.yml:

- ./client:/loomio/public/client

RG

Robert Guthrie Thu 16 Jul 2020 10:59PM

I've updated loomio-deploy master just now, so you can git pull rather than editing if you like

HW

Holger Wessels Thu 16 Jul 2020 11:20PM

(sorry, that was before your last comments) Still strange. I've upgraded the server to 2 vCpus and 2 GB RAM, but the problem remains.

HW

Holger Wessels Thu 16 Jul 2020 11:27PM

Yes, that was the break-through! :-) Now there's a beautiful new looking loomio (and a slightly bigger server) ! 👏Thanks for all your effort!

RG

Robert Guthrie Thu 16 Jul 2020 11:31PM

Thank you, really, for persisting. We found a lot of issues together... and I can't do it alone.

RG

Robert Guthrie Thu 16 Jul 2020 11:33PM

If you wanted to go back and edit your comments so only the relevant lines of stack trace remained, and maybe put them into code fences, that would form a pretty good guide for anyone else who later decides to upgrade an old Loomio install.

HW

Holger Wessels Thu 16 Jul 2020 11:40PM

That's a good idea, I'll do that tomorrow morning 😴

Load More