Cloudron makes it easy to run web apps like WordPress, Nextcloud, GitLab on your server. Find out more or install now.


    Cloudron Forum

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular

    Grav CMS

    Announcements
    7
    20
    710
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • girish
      girish Staff last edited by

      Hi all,
      I have just published Grav CMS as an unstable app. Most of the packaging work was done by @jimcavoli . Thanks a lot, Jim!

      Code: https://git.cloudron.io/cloudron/grav-app
      App store link: https://cloudron.io/store/org.getgrav.cloudronapp.html

      The app is not integrated with Cloudron LDAP yet, I expect that to be added soonish. I am in the process of writing the tests, it will become a stable app after that.

      1 Reply Last reply Reply Quote 5
      • W
        will last edited by

        cough bitwarden cough

        1 Reply Last reply Reply Quote -2
        • yusf
          yusf last edited by

          Hi, I get this when trying to install a plugin: podcast.

          Unable to move the library files to /app/data/user/plugins/get-id3/library/
          Files are missing from the getID3 library. Please see the grav log files for more information
          Please manually download the library from http://www.getid3.org/ and follow the installation instructions in the README.md file for this plugin.
          

          Grav log file only says:

          [2019-12-20 23:39:44] grav.INFO: Unable to move the library files to /app/data/user/plugins/get-id3/library/ [] []
          

          Not sure if Cloudron related though, but it sounds like a directory permissions issue.

          1 Reply Last reply Reply Quote 0
          • girish
            girish Staff last edited by

            @yusf Does look like a packaging issue, will look into it.

            1 Reply Last reply Reply Quote 0
            • girish
              girish Staff last edited by

              Investigated this a bit and this is just a plugin related issue. https://github.com/jgonyea/grav-plugin-get-id3/blob/develop/get-id3.php#L174 is trying to install the get-id3 library and failing. It's unclear why because there is no logs about why it's failing. The workaround is to follow https://github.com/jgonyea/grav-plugin-get-id3#post-installation. Just need to:

              cp -r /app/data/user/plugins/get-id3/tmp/extracted/getID3-1.9.15/getid3/* /app/data/user/plugins/get-id3/library
              
              P 1 Reply Last reply Reply Quote 0
              • P
                paulhibbitts @girish last edited by

                @girish Thanks so much for getting Grav on Cloudron! I've been having several issues which I think are related to permissions and I've posted the details at https://git.cloudron.io/cloudron/grav-app/issues/1

                Happy to help test etc. if helpful.

                Thanks again,
                Paul

                1 Reply Last reply Reply Quote 0
                • girish
                  girish Staff last edited by

                  @paulhibbitts The issue is related to permissions indeed. When you ran bin/gpm install bootstrap4-open-matter this installed the files as root. You have to make sure the files are owned by www-data user. You can fix this in two way:

                  sudo -u www-data -- bin/gpm install bootstrap4-open-matter
                  

                  Alternately, just restart the app (from Console -> Restart). Restarting the app will run the packages startup script again which fixes up the ownership.

                  yusf 1 Reply Last reply Reply Quote 1
                  • yusf
                    yusf @girish last edited by

                    @girish Is this similar to the gosu command used for the, say, NodeBB app? Please document it if you haven't already. 🙂

                    I'm thinking there should be some wrapper command for each app that needs custom command line stuff like this so that the command looks and feels similar across apps. What do you think?

                    1 Reply Last reply Reply Quote 0
                    • girish
                      girish Staff last edited by girish

                      Yup, exactly. Similar to gosu. For now, I pushed a simple doc page at https://cloudron.io/documentation/apps/grav/ . One can also do:

                      /usr/local/bin/gosu www-data:www-data bin/gpm install bootstrap4-open-matter
                      
                      1 Reply Last reply Reply Quote 0
                      • ?
                        A Former User last edited by A Former User

                        Hi @girish

                        I don't understand why but I after installing the plugins gitsync had to chown the plugins dir again

                        chown 33:33 -R /app/data/user/plugins
                        

                        unless gitsync plugin was unable to save his configuration file

                        all the rest in /app/data/user was fine.

                        maybe a sticky bit could fix this

                        1 Reply Last reply Reply Quote 0
                        • girish
                          girish Staff last edited by

                          @jdmnt I see. Did you install the plugin using the CLI or via the Grav admin UI?

                          JOduMonT 1 Reply Last reply Reply Quote 0
                          • JOduMonT
                            JOduMonT @girish last edited by

                            @girish said in Grav CMS:

                            Did you install the plugin using the CLI or via the Grav admin UI?

                            My Bad; I thought I installed through the UI but apparently not, since I installed a second GravCMS and it didn't happened.

                            1 Reply Last reply Reply Quote 1
                            • JOduMonT
                              JOduMonT last edited by JOduMonT

                              @girish a new version of Grav is out
                              I cant install plugin (such as autodate) because it required the new version
                              their is a way to bypass this, such as temporary removing the read-only option on the container do the update than putting it back ?

                              JOduMonT 1 Reply Last reply Reply Quote 0
                              • JOduMonT
                                JOduMonT @JOduMonT last edited by

                                @JOduMonT ok I trick it by copying the plugin from another grav 😉

                                1 Reply Last reply Reply Quote 0
                                • JOduMonT
                                  JOduMonT last edited by

                                  @girish I'm sorry but the update really botter me, I can't install this theme because it require an update

                                  perhaps, since I'll use extensively this apps, maybe I should propose you to take over the control of this apps no ?

                                  yusf 1 Reply Last reply Reply Quote 0
                                  • yusf
                                    yusf @JOduMonT last edited by

                                    @JOduMonT There's always the option of installing Grav inside a LAMP app, which should give more freedom.

                                    fbartels 1 Reply Last reply Reply Quote 0
                                    • fbartels
                                      fbartels App Dev @yusf last edited by

                                      @yusf or running your own version of the grav app.

                                      1 Reply Last reply Reply Quote 0
                                      • JOduMonT
                                        JOduMonT last edited by

                                        @yusf and @fbartels Yes I could also run my own server as I was doing before and not participating to this community 😛

                                        @girish I was able to reproduce the issue with the permission in ./user/config/plugins by installing via the WebAdmin the theme: Quark Open Publishing so I believe sticking the permission would be a good idea

                                        fbartels 1 Reply Last reply Reply Quote 0
                                        • fbartels
                                          fbartels App Dev @JOduMonT last edited by

                                          @JOduMonT said in Grav CMS:

                                          Yes I could also run my own server as I was doing before and not participating to this community

                                          that was not at all what we were suggesting

                                          But if you have special requirements or always immediately want to run the latest version if may be a benefit to look at the app source and simply deploy your own customised version. Your customisations and updates can then of course be made available via pull requests to the main app.

                                          1 Reply Last reply Reply Quote 2
                                          • girish
                                            girish Staff last edited by

                                            Pushed the update out for Grav CMS and the admin panel. Are you able to install the other plugin now?

                                            1 Reply Last reply Reply Quote 1
                                            • First post
                                              Last post
                                            Powered by NodeBB