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


Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
  • Search
Skins
  • Light
  • Brite
  • 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
Brand Logo

Cloudron Forum

Apps - Status | Demo | Docs | Install
  1. Cloudron Forum
  2. Discourse
  3. How to backup and delete plugins?

How to backup and delete plugins?

Scheduled Pinned Locked Moved Solved Discourse
6 Posts 3 Posters 9 Views 3 Watching
  • 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.
  • P Online
    P Online
    pHneutre
    wrote last edited by pHneutre
    #1

    I saw on previous posts that I simply need to delete the plugin folder in /app/code/plugins.

    1. Could this be added to the docs please?
    2. I would like to backup the plugins directory before proceeding. For this I'm trying to mv plugins plugins.backup but even with gosu cloudron:cloudron before, it fails as parent folder is read-only.
      What is the standard way to proceed?
    3. Cloudron is not a Discourse-supported way of self-hosting so docs is scarce. Is there an app.yml somewhere (couldn't find one with find) that lists the plugins or has this been removed?

    (I'm on Discourse 2.8.14 if that matters)

    jamesJ 1 Reply Last reply
    0
    • P Online
      P Online
      pHneutre
      wrote last edited by james
      #2

      Referenced Topic: https://forum.cloudron.io/post/55243
      Agreed, how to uninstall plugins should be added to the docs. I can't find the app.yml file in my app.

      1 Reply Last reply
      0
      • jdaviescoatesJ Offline
        jdaviescoatesJ Offline
        jdaviescoates
        wrote last edited by
        #3

        I'd just do a full Cloudron back-up of the Discourse app before deleting that folder. Give it a suitable label, and make it as one not to delete. See https://docs.cloudron.io/backups#backup-labels

        image.png

        image.png

        I use Cloudron with Gandi & Hetzner

        1 Reply Last reply
        1
        • P pHneutre

          I saw on previous posts that I simply need to delete the plugin folder in /app/code/plugins.

          1. Could this be added to the docs please?
          2. I would like to backup the plugins directory before proceeding. For this I'm trying to mv plugins plugins.backup but even with gosu cloudron:cloudron before, it fails as parent folder is read-only.
            What is the standard way to proceed?
          3. Cloudron is not a Discourse-supported way of self-hosting so docs is scarce. Is there an app.yml somewhere (couldn't find one with find) that lists the plugins or has this been removed?

          (I'm on Discourse 2.8.14 if that matters)

          jamesJ Online
          jamesJ Online
          james
          Staff
          wrote last edited by
          #4

          Hello @pHneutre

          Everything that is included in the backup and read-write is located in /app/data/.
          So the plugins folder is located in /app/data/plugins.
          When you open the Web Terminal of a Cloudron app you are by default in the /app/code/ path which is read-only.
          By running ls -lah you can see the folder /app/code/plugins is a symbolic link to /app/data/plugins.
          Thus, you can run rm -rf /app/data/plugins or mv /app/data/plugins /app/data/plugins_backup and then restart the app to uninstall plugins.

          Regarding the app.yml you have mentioned.
          This file is automatically generated by Cloudron on each app startup.
          So there is no need to edit this file in any way.

          I will add a documentation section for plugin uninstallation.

          1 Reply Last reply
          1
          • P Online
            P Online
            pHneutre
            wrote last edited by
            #5

            Thanks you guys! Not sure if there's a "solved" button that I'm missing in here but problem and questions solved.

            1 Reply Last reply
            0
            • jamesJ james marked this topic as a question
            • jamesJ james has marked this topic as solved
            • jamesJ Online
              jamesJ Online
              james
              Staff
              wrote last edited by james
              #6

              Hello @phneutre

              On the right side of a topic is a button called Topic Tools there you can press Ask a question, then a topic will be marked as unsolved and can be marked as solved later on.
              I have done so.

              Always happy to help.

              1 Reply Last reply
              0
              Reply
              • Reply as topic
              Log in to reply
              • Oldest to Newest
              • Newest to Oldest
              • Most Votes


              • Login

              • Don't have an account? Register

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