jordanjay29 OK, I am pretty sure it is an issue with the command-line installer. I tried installing it on my webhost. I chmodded all directories and files to 0775 and tried running php flarum install and I got

Please fix the following errors before we can continue with the installation.
The  directory is not writable.
Please chmod this directory and its contents to 0775.

What is up?

I just tried an install and noticed something. The installer page does not show up if the url is not /. Which means you have to set up a virtualhost so the public folder is at <http/https>://<domain/ip>/

When using a virtualhost (or the php dev server inside the public folder) I can install the latest dev-master fine following luceos instructions.

And as a foot note, if you don't know why using sudo will make a difference, this means you probably shouldn't run it as sudo. You can only mess up things if you don't know what you're doing.

    clarkwinkelmann I got the installer to work, but once it finished, it gave me an error:

    SQLSTATE[42S22]: Column not found: 1054 Unknown column 'discussions.id' in 'where clause' (SQL: (select `flarum_discussions`.* from `flarum_discussions` where not exists (select 1 from `flarum_discussions_tags` where 0 = 1 and discussions.id = discussion_id) and (`flarum_discussions`.`is_private` = 0 or (`flarum_discussions`.`is_approved` = 0 and (`start_user_id` = 0 or (exists (select 1 from `flarum_discussions_tags` where 0 = 1 and discussions.id = discussion_id))))) and (`flarum_discussions`.`hide_time` is null or `start_user_id` = 0 or (exists (select 1 from `flarum_discussions_tags` where 0 = 1 and discussions.id = discussion_id))) and (`comments_count` > 0 or `start_user_id` = 0 or (exists (select 1 from `flarum_discussions_tags` where 0 = 1 and discussions.id = discussion_id))) and not exists (select 1 from `flarum_users_discussions` where discussions.id = discussion_id and `user_id` = 0 and `subscription` = ignore) and not exists (select 1 from `flarum_discussions_tags` where 0 = 1 and discussions.id = discussion_id) order by `last_time` desc limit 21) union (select `flarum_discussions`.* from `flarum_discussions` where not exists (select 1 from `flarum_discussions_tags` where 0 = 1 and discussions.id = discussion_id) and (`flarum_discussions`.`is_private` = 0 or (`flarum_discussions`.`is_approved` = 0 and (`start_user_id` = 0 or (exists (select 1 from `flarum_discussions_tags` where 0 = 1 and discussions.id = discussion_id))))) and (`flarum_discussions`.`hide_time` is null or `start_user_id` = 0 or (exists (select 1 from `flarum_discussions_tags` where 0 = 1 and discussions.id = discussion_id))) and (`comments_count` > 0 or `start_user_id` = 0 or (exists (select 1 from 
    

    How did you get yours to work?

    EDIT: Think I see where I went wrong, re-installing from scratch

    ARGHHH! Still did it!

    Try leaving blank the prefix... That did it for me!

      How would I install Flarum dev-master on shared hosting? I can't adjust the document root, so how else would I do this?

        Frink I guess is just a matter of installing it first on your local computer and then copying the files and the database dump to the shared server.

          a month later

          Johann Even that wouldn't work, because the document root has to be set to the public/ dir...

            Frink I am sure there are ways to do that on shared hosting via cPanel, mod_rewrite, etc. If not, then you may have to switch to another provider that supports that i.e.: Hostgator

              Johann mod_rewrite may work, I didn't think about that. It doesn't really matter for me as I have a DO droplet, but some of the core devs may know of a mod_rewrite workaround.

              One could symlink the public directory?

              In shared hosting it should also be possible to have files outside the docroot.

                luceos I will give that a try, and let you know how it works, thanks!

                7 months later

                I'm aware of that dev-master is not supported. But I'm very new to flarum, composer and git, so I came to some trouble installing dev-master. Main reason to get it installed is to prepare my conversion-script for SMF2 to the new structures comming with beta-8.
                For 1st, I'm not able to git clone using given command from luceos, so I started with cloning it using git clone https://github.com/flarum/flarum.git .. So far, this was working and as well composer update worked after modifying the composer.json.
                At this point, I see the first issue which is, that php flarum -V shows 0.1.0-beta.7 and not the expected beta-8 or dev-master. Unfortunally I started the installation and stuck after entering all information in the form (database, user, password, ....) as it stops with an error telling me "Soemthing went wrong: Class cache.store does not exist".
                Even the installation via SSH stops with same error (additionally telling the location of the error where it occured "In Container.php line 752").
                What did I do wrong ?

                PHP v7.1.23
                Apache 2.4.25
                Debian stretch

                  Broxi the version wasn't bumped yet. You need to remove a few extensions. There's an issue about this on github.

                    luceos I get this error
                    Fatal error: Uncaught Error: Class 'Flarum\Forum\Server' not found in C:\xampp\htdocs\beta\index.php:14 Stack trace: #0 {main} thrown in C:\xampp\htdocs\beta\index.php on line 14

                    How do i fix it?

                    PHP 7.1