I was changing my server. I installed Discourse in a new server and and restoring the old backup in read-only mode. All of sudden, in the middle of the restoring process, the account got logout showing the message of Read Only mode.
After that, the site was not loading properly.
I want to rebuild discourse using the following codes:
cd /var/discourse
./launcher rebuild app
Is that fine? I don’t want to create a new droplet for Discourse again and again in my Digital Ocean account. They may ban me doing this too much.
I think this is totally ok. I mean it works this way for me too. After the admin account logged out I can log in again and that’s the restored version. It maybe take some time depending how big is your backup
Getting logged out when you restore is expected, as the new site has different users.
Digital ocean is designed such that you can create and delete droplets continually. They will not ban you for that. You can reach limits on requesting https keys from let’s encrypt, however.
It generally takes several minutes after you restore for the site to become available. It’s not clear from your message if anything is actually wrong.
That’s unlikely. If your site is working, then it’s likely just fine. You probably could have either just waited a bit more or simply restarted the container, but you are fine now. don’t worry.