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.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?
-
@fengchang you have to use the CLI tool.
npm install -g cloudron
on your PC/laptop. Thencloudron login my.domain.com
to login to your Cloudron and thencloudron 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 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!