Should I have a big server to run Mobilizon?¶
Not really. Being written in Elixir, Mobilizon doesn't need much resources once it's running. If you plan to open your instance to the public, plan in advance higher values for the following given requirements.
If you plan to self-host a address/geocoding server as well, the requirements are quite on another level.
- One should be enough
Depending on your number of users and instances you federate with, extra CPUs will be helpful.
- 512MB should be enough for Mobilizon, Nginx and PostgreSQL
Mobilizon will use at least around ~256MB and PostgreSQL and nginx can use ~20MB. Extra memory can improve tasks like compiling and building dependencies.
- Depends how many users and events you have
A little space will be needed for Mobilizon and it's dependencies (damn you
node_modules) themselves. Otherwise, storage usage will grow mostly with user's profile pics and pictures associated to events. Also the PostgreSQL database can start to weigh a bit after a while, depending on how many events you create and how many other instances you follow.
- Any bandwidth will do, but higher numbers will improve the experience for users and will help federation.
A Mobilizon dependency fails to compile (source install)¶
Some Mobilizon dependencies require system tools or libraries to compile (such as
gcc). You might be missing a system dependency.
Check the source install guide (especially the "Basic tools" section), make sure everything is installed and clean and recompile Mobilizon's dependencies with:
MIX_ENV=prod mix deps.clean --all MIX_ENV=prod mix clean MIX_ENV=prod mix compile
I am unable to send any emails¶
The default Mobilizon configuration assumes a local SMTP server is available on the same server. To tweak this for your own setup, see this page.
What should I backup?¶
You'll need to backup the PostgreSQL database (we recommend Barman), your config file (such as
config/runtime.exs, depending on how you installed Mobilizon) and the user's picture directory in
How can I tweak the instance theme, the logo,…¶
For now this isn't supported (unless you edit the front-end files directly).
How can I give a user moderator/administrator permissions?¶
For now this is only possible through CLI.
I can't install dependencies with Yarn¶
If you have the following error:
ERROR: [Errno 2] No such file or directory: 'install'
yarnfrom Debian/Ubuntu directly, which provides the
cmdtestpackage, which is completely unrelated. Follow the instructions on the Source install guide to install the proper tool.