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

    Solved Documenting Switch from Custom to Store App

    Support
    appstore
    4
    9
    397
    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.
    • doodlemania2
      doodlemania2 App Dev last edited by girish

      Before I go thinking too much about this, wanted to see if there was a simple way baked in to take, say, paperless-ng which I was running as custom app and swap to the new store version without a full port/reinstall?

      Thinking like cloudron upgrade --image..."cloudron's image url"?

      girish fbartels 2 Replies Last reply Reply Quote 6
      • girish
        girish Staff @doodlemania2 last edited by

        @doodlemania2 I think a backup and then import should work.

        • Backup current custom app. Download the backup config
        • Install appstore app
        • Then, backups -> import the backup config from the first step
        timconsidine 1 Reply Last reply Reply Quote 3
        • fbartels
          fbartels App Dev @doodlemania2 last edited by

          @doodlemania2 I came across this a while ago as well, see https://forum.cloudron.io/topic/3915/replace-custom-build-with-version-from-appstore

          1 Reply Last reply Reply Quote 3
          • timconsidine
            timconsidine @girish last edited by

            @girish said in Documenting Switch from Custom to Store App:

            I think a backup and then import should work.

            This sounds great
            Would it work if the app locations for custom app and store app are different ?
            Just thinking that I might want to see the store app working properly before I delete the custom one.
            I have the custom paperless-ng which is working fine but would be interested to have it ported to the store instance.

            girish 1 Reply Last reply Reply Quote 1
            • girish
              girish Staff @timconsidine last edited by girish

              @timconsidine said in Documenting Switch from Custom to Store App:

              Would it work if the app locations for custom app and store app are different ?

              Yes. The old app can still be installed/running when you test out the new appstore app in a new location.

              The main requirement for this backup/import to work is that two apps should have the same backup structure (i.e layout of files and also what databases they use etc) which I believe is this the case here.

              timconsidine 1 Reply Last reply Reply Quote 3
              • timconsidine
                timconsidine @girish last edited by

                @girish thank you

                doodlemania2 1 Reply Last reply Reply Quote 0
                • doodlemania2
                  doodlemania2 App Dev @timconsidine last edited by

                  btw - that worked like a champ - was afraid the package version or backup version or something would throw it off, but it worked perfectly.

                  then uninstalled old app and changed the location. like nothing ever happened!

                  girish 1 Reply Last reply Reply Quote 6
                  • girish
                    girish Staff @doodlemania2 last edited by

                    @doodlemania2 did you try the import/export or the CLI tool method?

                    doodlemania2 1 Reply Last reply Reply Quote 0
                    • doodlemania2
                      doodlemania2 App Dev @girish last edited by

                      @girish no, I mean, like nothing ever happened in that it worked perfectly (via the interface, not CLI). Should have been more articulate in my response but was just so excited how easy it was!

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