ScottBeeson no need to upgrade. 2 is still in alpha. Check your version with

composer -V

Great job everyone!
!yay

keep it going

7 days later
11 days later

Dear all,

I have used the Flarum version 0.1.0-beta.7 for a long time.
Is it possible to migrate to the current version from Flarum version 0.1.0-beta.7 without losing any data?

Thanks!

    5 days later

    Hi luceos and @SnakePromise,

    Thanks for sharing your experiences before. Unfortunately, it's extremely hard to migrate to the latest version. I've tried many ways but all failed. I will choose to keep the current version and try to migrate all posts to latest version.

    Still thanks for your help.

      wmchen you need to follow the upgrade instructions for each version that was released after the version you have. It's certainly possible, just upgrade one version at a time and there shouldn't be problems

      wmchen
      What worked for me was instructions from @jordanjay29 https://discuss.flarum.org/d/21272-upgrading-from-beta-6-to-9/2:

      1. Disabled all non-core extensions
      2. Exported old database
      3. Made fresh install of the latest beta
      4. Created new empty database
      5. Went through setup, entered new database data
      6. Dropped all tables in the new database
      7. Imported old database into the new one
      8. Ran php flarum migrate
      9. Ran php flarum cache:clear
      10. Moved avatars and uploads form the old assets folder to the new one
      6 days later
      8 days later
      6 days later
      13 days later

      You should upload the image to a third party service like imgur, then click the image icon in the editor to link it.

        If you install the extensionn named Flagrow Upload, you can do that. It is not available on this website at the moment.

          kalucky0 Once PHP 8.0 is fully released and no longer in RC/Beta status it will probably be something that we test and ensure everything works as expected. It probably won't be immediately after PHP 8.0 is released but we will support it. I believe our general policy going forward is to always support current versions of PHP that are actively maintained and receive security updates. Once the PHP version reaches End of Life we will probably decide on dropping support.

          Hello

          I can't install it on Centos 8 with composer. The message is :
          [root@forumcmstrat site]# php /usr/local/bin/composer create-project flarum/flarum . --stability=beta
          Creating a "flarum/flarum" project at "./"
          Installing flarum/flarum (v0.1.0-beta.13)

          • Installing flarum/flarum (v0.1.0-beta.13): Loading from cache
            Created project in /sites/forum/flarum/site/.
            Loading composer repositories with package information
            Updating dependencies (including require-dev)

          [RuntimeException]
          Could not load package kylekatarnls/update-helper in http://repo.packagist.org: [UnexpectedValueException] Could
          not parse version constraint 2.0.x-dev: Invalid version string "2.0.x-dev"


          [UnexpectedValueException]
          Could not parse version constraint 2.0.x-dev: Invalid version string "2.0.x-dev"


          create-project [-s|--stability STABILITY] [--prefer-source] [--prefer-dist] [--repository REPOSITORY] [--repository-url REPOSITORY-URL] [--add-repository] [--dev] [--no-dev] [--no-custom-installers] [--no-scripts] [--no-progress] [--no-secure-http] [--keep-vcs] [--remove-vcs] [--no-install] [--ignore-platform-reqs] [--] [<package>] [<directory>] [<version>]

            LudovikDopierala it seems like it's an issue between the latest version of Composer and kylekatarnls/update-helper which is a dependency of one of our dependencies.

            This GitHub issue on their project shows a command to downgrade the Composer version manually. I haven't tested it so I don't know if this fixes the issue for Flarum kylekatarnls/update-helper9

            The problem must have started to occur in the last few hours. There will probably be development happening in their GitHub issue. Unfortunately Flarum can't do much about this until they get it fixed.

            Will this fix the insert code button when posting. iframes refuse to work currently.

              dotails Hi and welcome to Flarum!

              The Insert Code button on our post composer is meant for showing actual code, which is useful on forums because there are many times where sharing code or markup is hard to do in the formatted text of a post. It is not, however, meant for rendering code. So if you place an iframe, or any other kind of code within a block generated by Insert Code, it will not render and show the contents of another website within an iframe.

              To do something like that, you would need an extension or to consider another approach. If you want to keep discussing this, please open a new discussion in the Support tag and explain what you're hoping to do with an iframe, and we can give you more guidance on achieving it.

              The code formatting via BBCode and Markdown was not broken in Beta 12 and has no changes applied in Beta 13. So it remains the same method as I described above.

                jordanjay29 thanks I've started a new thread and the resources section as you suggested. I'm wanting to use a forum as a way to access published Google documents and other resources in real time so the community always has the latest content without having to leave the site. I'm currently using a wix forum which supports rendering iframes, but I far prefer the beautiful interface of Flarum and would love to make the switch if this feature can be accomplished.

                  dotails if I'm not mistaken the media embed extension supports showing drive documents inside posts, have you tried that one?

                    luceos just checked, it supports native Google Sheets links and Google Drive links too. For other files such as Google Documents, you can just replace a few things in the sharable link that you get so that you replace:

                    https://docs.google.com/document/d/1ZilchjH0Le3ops1PovmciO-Q12FBxxP6bSnOYe3L3aY/edit?usp=sharing

                    with https://drive.google.com/file/d/1ZilchjH0Le3ops1PovmciO-Q12FBxxP6bSnOYe3L3aY/edit?usp=sharing

                    And you'll get:

                    Hope this satisfies your requirements for switching over, @dotails 😉

                    You can grab the extension @luceos was talking about here. Just remember to enable the MediaEmbed option 💝

                    7 days later
                    9 days later
                    14 days later

                    thanks for contribution

                    7 days later