nextcloud / backup

Backup now. Restore later.
GNU Affero General Public License v3.0
232 stars 33 forks source link

UNIX socket support missing for MySQL #612

Open SK-Crow opened 5 months ago

SK-Crow commented 5 months ago

Running Nextcloud 28.0.1 on a TrueNAS Core jail. Installed using freenas-iocage-nextcloud script.

I have configured external storage to another nextcloud instance, and app data is on default. image image

When I run occ backup:point:create, this is what I'm getting:

image

config.php has the DB set up as: image image

I read through a handful of other issues here, and people mentioned fixing the issue by setting the db host from 127.0.0.1 to localhost (among the solutions). I don't really see how it would be applicable to my situation.

Has anyone with my setup found a solution?

jackywu commented 1 month ago

I run into the same error, any progress ?

SK-Crow commented 1 month ago

I run into the same error, any progress ?

No luck. It appears this plugin isn't designed for the way that my Nextcloud instance is installed, or I'm a moron and am missing something obvious. Good chance of both 😄

jackywu commented 1 month ago

I installed nextcloud by snap on ubuntu OS. the error seems this script can not connect to the MySQL. and I can't figure out what's the address of MySQL the script was connecting to.

jackywu commented 1 month ago

I run into the same error, any progress ?

No luck. It appears this plugin isn't designed for the way that my Nextcloud instance is installed, or I'm a moron and am missing something obvious. Good chance of both 😄

I fix this issue by https://github.com/nextcloud/backup/pull/672 , you can try.