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

          luceos Now such a mistake
          http://localhost/flarum/public/
          Fatal error: Trait 'Flarum\Core\Access\AssertPermissionTrait' not found in C:\xampp\htdocs\flarum\vendor\flarum\approval\src\Listener\ApproveContent.php on line 21
          At the beginning there was a database settings page, then an error

            Pirat looks like you didn't install the right dependencies.. Try upgrading flarum/approval to dev-master.

              luceos I added so
              "flarum/flarum-ext-approval": "dev-master as 0.1",
              "flarum/approval": "dev-master as 0.1"

              Now such a mistake
              Error booting Flarum: Cannot register two routes matching "/flags" for method "GET"

                Okay, I will not install the master version anyway there are a lot of errors most likely
                I will use the stable version

                  Pirat Did you set your document root in apache2.conf correctly? It should be pointing to /public

                  Pirat Error booting Flarum: Cannot register two routes matching "/flags" for method "GET"

                  there are two extensions that register the flags route, most likely you have the official flags extension available and your own

                  7 days later

                  @luceos I'm experiencing the same error. I didn't add or registered a different /flags route. I checked and flarum/approval requires flarum/flags.

                    bkintanar Check your vendor directory, you probably (definitely) have another flags extension installed.

                      Kyrne Thanks! But as I've mentioned flarumn/approval requires flarum/flags but according to the composer.json file I need to include flarum/flarum-ext-flags as well. So yeah, I know there's a conflict I just don't know how to fix it.

                      bkintanar thanks for not explaining the solution 🤟

                      You have to rename all flarum/flarum-ext- extensions to flarum/, so flarum/flarum-ext-tags becomes flarum/tags. Then run composer update.