So I’m trying to start a forum on GCP’s Compute Engine, running it on an e2-micro. I think a 2GB swapfile was made when I first tried to run it.
10GB didn’t work because it was too little IIRC, so I increased it to 20GB.
After running ./launcher rebuild app, it started doing it’s thing. When it was doing ...[@embroider/webpack, it took so long I just left and come back later (~2h later).
I found that it was done, but I could not access my forum, even though I connected my Namecheap A record with the external IP of the VM.
I tried it again, and here are the full logs (logs are too long): GCP e2-micro discourse logs.txt (176.7 KB)
And yet, my Discourse site isn’t working. I get:
Does reducing Unicorn workers to 1 in containers/app.yml to conserve memory, and then rebuilding the app with ./launcher rebuild app works by any chance?
Or you can temporarily upgrade your instance to e2-small or higher, complete the rebuild, and then resize back to e2-micro.
Email works now, but I’m afraid of installing plugins, since rebuilding will take about 2 hours. I know this isn’t normal, so is there any way to speed it up without changing the resources of the VM?
That could be. If you don’t mind me asking what is the VPs system specs?
Quite awhile ago now. One of the servers I manage as a volunteer was on a basic 20g VPs. And even with how big the db was on there it typically only took usually around maybe 15m.
Eventually the client was forced to mitigate to a bigger server after it crashed hard. As they are the time didn’t heed my the server was going to crash as could no longer was able to rebuild via cmdline.
So they paid a member here to move it to a new server with 256g plan. Costed them a lot of downtime about 2.5 weeks for ignoring the issue.
On the plus for the most part they listen better now to when given.
I believe it’s 0.25 vCPU and 1 GB RAM. The setup made a 2 GB swapfile. The original server came with 10 GB storage. But the installation said it needed more to continue since there was like 1.7 GB left. So I increased it to 20 GB and I haven’t seen any storage-related warnings yet.