Hello everyone! I encountered a problem installing Forem SelfHost on DigitalOcean, although I had previously installed it without problems.
It is ...
For further actions, you may consider blocking this person and/or reporting abuse
This is most likely a bug in Forem. The migration
ChangeEmailPreferenceDefaultValues
does not pass static checks from strong_migrations gem.The fix is rather simple. Go to
config/application.rb
and disable partial writes withBut it should be fixed in the code of Forem too, I think.
Hi @katafrakt ! Thanks for the answer. But in the config github.com/forem/forem/blob/main/c... I didn't find this line:
Should I just add it?
Yes. It should be safe to add.
@katafrakt Pawel, I forgot which folder the Forem files are in?
Previously I was able to access Forem files by opening a Rails container, but now that container won't start. So I can't access the application.rb file.
After restarting with the command sudo systemctl restart forem.service, the container with Rails appears, but after a few seconds it immediately disappears.
I'm not really familiar with this set up. If the container now dies, perhaps there's something wrong with the config file. Where did you add this line mentioned in the previous comment?
I haven't added it anywhere yet. I wanted to add it to forem/config
/application.rb, but as I already wrote, I can't open the Rails container to change the file. After installing Forem, this problem with Rails immediately appears :)
When starting Rails, it gives an error. The logs indicate this:
Could you share the instructions you are following with this? You should not change it inside the running container, rather somewhere in the code and rebuild the container. This needs to be changed by the time the container starts.
Pawel, thank you very much for your help! I haven't encountered this yet. If you have time, could you tell me how to rebuild and upload the container to the server?
I can thank you with PayPal :)
I assume you are using this github.com/forem/selfhost, right? Unfortunately from what I see this uses some pre-built docker image and I don't know Ansible to know how you can replace it with your own.
True. I don't know either. I'll have to study.
Hi, did you solve this problem? I'm also facing the same problem.
Hi, yes. informland.com/
Das war eine Probleme mit DB.