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


  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse

Cloudron Forum

Apps | Demo | Docs | Install

Grav CMS

Scheduled Pinned Locked Moved Announcements
20 Posts 7 Posters 848 Views
    • 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.
  • girishG Do not disturb
    girishG Do not disturb
    girish Staff
    wrote on last edited by
    #1

    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
    5
  • W Offline
    W Offline
    will
    wrote on last edited by
    #2

    cough bitwarden cough

    1 Reply Last reply
    -2
  • yusfY Offline
    yusfY Offline
    yusf
    wrote on last edited by
    #3

    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
    0
  • girishG Do not disturb
    girishG Do not disturb
    girish Staff
    wrote on last edited by
    #4

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

    1 Reply Last reply
    0
  • girishG Do not disturb
    girishG Do not disturb
    girish Staff
    wrote on last edited by
    #5

    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
    0
  • P Offline
    P Offline
    paulhibbitts
    replied to girish on last edited by
    #6

    @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
    0
  • girishG Do not disturb
    girishG Do not disturb
    girish Staff
    wrote on last edited by
    #7

    @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.

    yusfY 1 Reply Last reply
    1
  • yusfY Offline
    yusfY Offline
    yusf
    replied to girish on last edited by
    #8

    @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
    0
  • girishG Do not disturb
    girishG Do not disturb
    girish Staff
    wrote on last edited by girish
    #9

    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
    0
  • ? Offline
    ? Offline
    A Former User
    wrote on last edited by A Former User
    #10

    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
    0
  • girishG Do not disturb
    girishG Do not disturb
    girish Staff
    wrote on last edited by
    #11

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

    JOduMonTJ 1 Reply Last reply
    0
  • JOduMonTJ Offline
    JOduMonTJ Offline
    JOduMonT
    replied to girish on last edited by
    #12

    @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
    1
  • JOduMonTJ Offline
    JOduMonTJ Offline
    JOduMonT
    wrote on last edited by JOduMonT
    #13

    @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 ?

    JOduMonTJ 1 Reply Last reply
    0
  • JOduMonTJ Offline
    JOduMonTJ Offline
    JOduMonT
    replied to JOduMonT on last edited by
    #14

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

    1 Reply Last reply
    0
  • JOduMonTJ Offline
    JOduMonTJ Offline
    JOduMonT
    wrote on last edited by
    #15

    @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 ?

    yusfY 1 Reply Last reply
    0
  • yusfY Offline
    yusfY Offline
    yusf
    replied to JOduMonT on last edited by
    #16

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

    fbartelsF 1 Reply Last reply
    0
  • fbartelsF Offline
    fbartelsF Offline
    fbartels App Dev
    replied to yusf on last edited by
    #17

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

    1 Reply Last reply
    0
  • JOduMonTJ Offline
    JOduMonTJ Offline
    JOduMonT
    wrote on last edited by
    #18

    @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

    fbartelsF 1 Reply Last reply
    0
  • fbartelsF Offline
    fbartelsF Offline
    fbartels App Dev
    replied to JOduMonT on last edited by
    #19

    @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
    2
  • girishG Do not disturb
    girishG Do not disturb
    girish Staff
    wrote on last edited by
    #20

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

    1 Reply Last reply
    1

  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
  • Login

  • Don't have an account? Register

  • Login or register to search.