I had OCIS running in an LXC on a proxmox install. There was a power outage and I don’t know what happened but the LXC wouldn’t start and it appeared to be fully empty when I looked for files. I know I should’ve made backups but you live and learn. The ocis.yaml for the original install is far gone with no hopes of recovery.
I still have my data folder intact on my hard drive array. Is there any way for me to recover those files? I was running 6.2.0 in an Ubuntu LXC.
If you only lost the ocis.yaml file: yes, there is a way. However it might not be very easy to do so.
If you are using external user management this can be done quite easy. You can just run ocis init
again and then adjust the values for ldap bind password
and system-user-id
to match your ldap installation. After that you can just login normally with your users.
If you are using internal user management these values cannot be obtained easily. But you can still recover the files by extracting them manually from the blobstore. I have written a brief overview on how to this a while ago Issue Recovering Deleted Files in oCIS · Issue #6399 · owncloud/ocis · GitHub
1 Like
Ok so I actually did have a backup of the LXC. I have my full configuration back running 5.0.7 except I get an error when I try to run the server which is {"level":"error","service":"notifications","error":"mail: no address","time":"2025-05-23T01:55:14Z","message":"parsing error, the 'smtp_sender' must be a valid single RFC 5322 address."}
. Do you know how I would resolve this?
Yes.
If you don’t use email notifications you can turn the notifications service off. OCIS_EXCLUDE_RUN_SERVICES=notifications
If you use email notifications you need to set the smtp-sender: NOTIFICATIONS_SMTP_SENDER="you <you@yourdomain.com>"