Hi,
I am not able to inject the setenv.sh to restore the admin user right from a imported cloud site-backup on my server-version:
Tutorial: https://confluence.atlassian.com/doc/restore-passwords-to-recover-admin-user-rights-158390.html?_ga=2.230325340.1533054907.1545952478-1044970277.1545589042
CMD:
kubectl exec [container_id] -- mkdir /var/atlassian/application-data/confluence/bin
--> Works (but confusing that the bin folder is not already present?)
kubectl exec [container_id] -- touch /var/atlassian/application-data/confluence/bin/setenv.sh
--> Works (cat results emty content for created .sh file)
kubectl exec [container_id] -- echo "-Datlassian.recovery.password=<pw>" >> /var/atlassian/application-data/confluence/bin/setenv.sh
--> Does not work:
--> -bash: /var/atlassian/application-data/confluence/bin/setenv.sh: No such file or directory
How can this be the case?
Your support is very appreciated 