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. Confluence
  3. Modify file under /home/cloudron

Modify file under /home/cloudron

Scheduled Pinned Locked Moved Solved Confluence
confluence
7 Posts 4 Posters 2.7k Views 4 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.
  • F Offline
    F Offline
    fengchang
    translator
    wrote on last edited by
    #1

    I am trying to setup a Confluence instance and migrate data from Confluence Cloud.

    After imported the data successfully, I cannot login with my username & password. I found a post about how to restore password. And I guess this is the reason:

    You've imported a site from Cloud, and it does not contain a system administrator account.

    So I followed this post to restore my access. It ask me to modify <installation-directory>/bin/setenv.sh and the file is located at /home/cloudron/confluence/bin/setenv.sh.

    However, the file cannot be updated. I understand it's the security mechanism of Cloudron, but is there any way I can update the file temporarily?

    robiR 1 Reply Last reply
    0
    • F fengchang

      I am trying to setup a Confluence instance and migrate data from Confluence Cloud.

      After imported the data successfully, I cannot login with my username & password. I found a post about how to restore password. And I guess this is the reason:

      You've imported a site from Cloud, and it does not contain a system administrator account.

      So I followed this post to restore my access. It ask me to modify <installation-directory>/bin/setenv.sh and the file is located at /home/cloudron/confluence/bin/setenv.sh.

      However, the file cannot be updated. I understand it's the security mechanism of Cloudron, but is there any way I can update the file temporarily?

      robiR Offline
      robiR Offline
      robi
      wrote on last edited by
      #2

      @fengchang yes, set the app into recovery mode and log in via the web terminal.

      F 1 Reply Last reply
      0
      • robiR robi

        @fengchang yes, set the app into recovery mode and log in via the web terminal.

        F Offline
        F Offline
        fengchang
        translator
        wrote on last edited by
        #3

        @robi I tried, but it told me it's a read-only file system.

        For example:

        root@2a790adb-5abf-431b-9fc0-9a27912311a8:/home/cloudron# touch a
        touch: cannot touch 'a': Read-only file system
        
        girishG 1 Reply Last reply
        0
        • robiR Offline
          robiR Offline
          robi
          wrote on last edited by
          #4
          This post is deleted!
          1 Reply Last reply
          0
          • F fengchang

            @robi I tried, but it told me it's a read-only file system.

            For example:

            root@2a790adb-5abf-431b-9fc0-9a27912311a8:/home/cloudron# touch a
            touch: cannot touch 'a': Read-only file system
            
            girishG Offline
            girishG Offline
            girish
            Staff
            wrote on last edited by
            #5

            @fengchang you have to use the CLI tool. npm install -g cloudron on your PC/laptop. Then cloudron login my.domain.com to login to your Cloudron and then cloudron debug --app configure.domain.com. After that you can do, cloudron exec --app confluence.domain.com to get a "shall" and edit whatever files. Then, you can start the app in the same terminal by running /home/cloudron/start.sh. Once done, you can cloudron debug --disable --app configure.domain.com.

            (The repair mode in browser does not make the file system editable, only the CLI does).

            F 1 Reply Last reply
            0
            • girishG girish

              @fengchang you have to use the CLI tool. npm install -g cloudron on your PC/laptop. Then cloudron login my.domain.com to login to your Cloudron and then cloudron debug --app configure.domain.com. After that you can do, cloudron exec --app confluence.domain.com to get a "shall" and edit whatever files. Then, you can start the app in the same terminal by running /home/cloudron/start.sh. Once done, you can cloudron debug --disable --app configure.domain.com.

              (The repair mode in browser does not make the file system editable, only the CLI does).

              F Offline
              F Offline
              fengchang
              translator
              wrote on last edited by
              #6

              @girish Thank you, it works!

              nebulonN 1 Reply Last reply
              0
              • F fengchang

                @girish Thank you, it works!

                nebulonN Offline
                nebulonN Offline
                nebulon
                Staff
                wrote on last edited by
                #7

                @fengchang looks like you summarized your successful process at https://forum.cloudron.io/topic/4704/tutorial-migrate-confluence-from-cloud-to-server

                Thanks a lot for sharing this!

                1 Reply Last reply
                0

                Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                With your input, this post could be even better 💗

                Register Login
                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