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
ChangeEmailPreferenceDefaultValuesdoes not pass static checks from strong_migrations gem.The fix is rather simple. Go to
config/application.rband 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:
Hi, did you solve this problem? I'm also facing the same problem.
Hi, yes. informland.com/
Das war eine Probleme mit DB.