NextCloud backup fails to backup

Started by petersrin, July 26, 2025, 05:34:01 AM

Previous topic - Next topic
I have a selfhosted nextcloud on a proxmox box separate to my opnsense box but still internal. I have a FQDN for external and use split brain DNS for internal access. Both point to my opnsense box for caddy which then reverse proxies to the NC AIO LXC. Works fine everywhere except when trying to connect the backup to it. I've followed the official documentation: on the correct user, I created an app password and used that instead of my actual password. I'm constantly met with "Saved settings, but remote backup returned no files."

System > Logs > General shows various errors:

`Error while fetching filelist from Nextcloud '/.' path`
`Check Nextcloud configuration parameters`

For now I'm just backing up manually but I'd rather just have automated backups.

September 04, 2025, 07:51:40 PM #1 Last Edit: September 04, 2025, 11:15:12 PM by joshgreyz
I believe this may be an issue with OPNsense version 25.7.x. In the past, I successfully set this up with the documentation & it was working as of OPNsense version 25.1.7, but on a brand new install of 25.7.x on brand new hardware, it will not work. I'm also constantly met with "Saved settings, but remote backup returned no files."

Quote from: petersrin on July 26, 2025, 05:34:01 AMSystem > Logs > General shows various errors:

`Error while fetching filelist from Nextcloud '/.' path`
`Check Nextcloud configuration parameters`
I'm getting the same error log message as you are, yet I can also manually reach the Nextcloud instance.

I'm still using the same Nextcloud server which my other OPNsense router (now on 25.7.2) still is able to backup to, but the fresh 25.7.2 install is experiencing what the original poster is also experiencing.

Here is the source code for this plugin if anyone has any ideas on how to fix it.
https://github.com/opnsense/plugins/tree/master/sysutils/nextcloud-backup