Hi Everyone,
I'm so lucky that we have this community for requesting help (and Flarum too). I would like to request some help with installation. I don't have a specific problem right now, but I'm stuck somewhere.
So I'm making an installation to a clean VPS server (Ubuntu) with php7.1.
I just don't know how to fix the directory not empty error, I just can't fix it.
I installed composer to the home dir and tried installed Flarum there too, it won't install it.
I installed composer to the root dir and tried installed Flarum to the empty home dir but it still won't work!
I created 2 different folders called "composer" and "flarum", installed composer to "composer" and tried installed "flarum" to the flarum folder but it won't work.
I created a folder called "flarum", installed flarum inside it and installed composer in the home dir but this won't work either.
Then I started checking out the directory should be empty errors other people encountered around the community but their solution didn't work for me.
Discussions I read about this:
- https://discuss.flarum.org/d/11035-invalidargumentexception-project-directory-is-not-empty
- https://discuss.flarum.org/d/1554-invalidargumentexception-project-directory-is-not-empty
- https://discuss.flarum.org/d/1618-error-invalidargumentexception-project-directory-is-not-empty
- https://discuss.flarum.org/d/7182-invalidargumentexception-project-directory-is-not-empty
Btw, just following the official installation guide from Flarum: https://flarum.org/docs/installation/
Installing composer using this documentation: https://getcomposer.org/download/
Running composer with "php composer.phar [flarum installation command]" (phar may be wrong I don't remember)
I now requested a VPS reset from the provider and waiting for them, so can't send any logs, but the minute I get the reset from them, I'll send all the logs for you guys to check out. Until then, can anyone help me with some tricks so I can get Flarum installed successfully? I know how to do the rest, I've installed one time (a few months ago) but now I'm not able to for some reason.
I actually encountered this error back then too but I fixed it somehow, just can't fix it this time.