Modify file under /home/cloudron
-
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.shand 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?
-
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.shand 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?
@fengchang yes, set the app into recovery mode and log in via the web terminal.
-
@fengchang yes, set the app into recovery mode and log in via the web terminal.
-
@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@fengchang you have to use the CLI tool.
npm install -g cloudronon your PC/laptop. Thencloudron login my.domain.comto login to your Cloudron and thencloudron debug --app configure.domain.com. After that you can do,cloudron exec --app confluence.domain.comto 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 cancloudron debug --disable --app configure.domain.com.(The repair mode in browser does not make the file system editable, only the CLI does).
-
@fengchang you have to use the CLI tool.
npm install -g cloudronon your PC/laptop. Thencloudron login my.domain.comto login to your Cloudron and thencloudron debug --app configure.domain.com. After that you can do,cloudron exec --app confluence.domain.comto 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 cancloudron debug --disable --app configure.domain.com.(The repair mode in browser does not make the file system editable, only the CLI does).
-
@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!
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