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

    Confluence
    confluence
    4
    7
    297
    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.
    • F
      fengchang translator last edited by

      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?

      robi 1 Reply Last reply Reply Quote 0
      • robi
        robi @fengchang last edited by

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

        F 1 Reply Last reply Reply Quote 0
        • F
          fengchang translator @robi last edited by

          @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
          
          girish 1 Reply Last reply Reply Quote 0
          • robi
            robi last edited by

            This post is deleted!
            1 Reply Last reply Reply Quote 0
            • girish
              girish Staff @fengchang last edited by

              @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 Reply Quote 0
              • F
                fengchang translator @girish last edited by

                @girish Thank you, it works!

                nebulon 1 Reply Last reply Reply Quote 0
                • nebulon
                  nebulon Staff @fengchang last edited by

                  @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 Reply Quote 0
                  • First post
                    Last post
                  Powered by NodeBB