For anyone finding this thread, I solved the problem by:
- Backuping my files and database,
- Remove the all flarum files,
- Reinstall flarum,
- Copied my config file,
- Copied my /public/assets/avatars/
- And all is working now!
I noticed when I was reinstalling that my system admin kinda fucked with the paths so that was possibly the problem.