Closed jds11111 closed 1 year ago
Hi,
The main issue here is that you are not running a supervisor. Backups/snapshots are mades by the supervisor, this add-on only send a request to create a new one, download and upload it to your Nextcloud instance.
This add-on can't work without supervision, sorry.
OK. Thanks for letting me know.
Is your feature request related to a problem? Please describe. Before I switch to pure docker installation from HassOS, I need to get this addon working as a docker container. I suspect that this is possible, and have made progress despite my ignorance on the subject. I suppose I could use the Duplicati docker container, but yours is very nicely integrated with home assistant now.
Describe the solution you'd like Probably just need a few lines in the docs to explain how to do this, or a way to remove the code from requiring the supervisor?
Describe alternatives you've considered So far, I have done the following:
git clone https://github.com/Sebclem/hassio-nextcloud-backup
cd hassio-nextcloud-backup
docker build nextcloud_backup
Everything seems to work just fine so far. Then I run the image:
docker run 94ffff31605e
But this throws some understandable errors:
and
[2022-09-06 21:53:52] [error]: Nextcloud config not found !
The first error is understandable, because supervisor is not running on such an install. The second, because I haven't written the config file yet, and not sure where to put it. I had assumed that the file
config.json
is where I could make some small changes, like the UI port, but my changes there don't seem to show up in the docker image. In fact the docker image has no port forwarding.System information
Additional context I am happy to help debug this change. My installation is just test, not production so far.