OPNsense Forum

Archive => 22.7 Legacy Series => Topic started by: mkono87 on October 30, 2022, 08:34:35 pm

Title: Cant get nextcloud config backup working.
Post by: mkono87 on October 30, 2022, 08:34:35 pm
Been trying forever to get this working. I have set an app password and using my normal user. But the logs are just showing errors and telling me to check config. Any thoughts?

Code: [Select]
2022-10-30T15:30:33-04:00 Error php Check Nextcloud configuration parameters
2022-10-30T15:30:33-04:00 Error php {"url":"https:\/\/cloud.mydomain.ca\/remote.php\/dav\/files\/mike\/","content_type":null,"http_code":0,"header_size":0,"request_size":0,"filetime":-1,"ssl_verify_result":0,"redirect_count":0,"total_time":60.000495,"namelookup_time":0.001753,"connect_time":0,"pretransfer_time":0,"size_upload":0,"size_download":0,"speed_download":0,"speed_upload":0,"download_content_length":-1,"upload_content_length":-1,"starttransfer_time":0,"redirect_time":0,"redirect_url":"","primary_ip":"","certinfo":[],"primary_port":0,"local_ip":"","local_port":0,"http_version":0,"protocol":0,"ssl_verifyresult":0,"scheme":"","appconnect_time_us":0,"connect_time_us":0,"namelookup_time_us":1753,"pretransfer_time_us":0,"redirect_time_us":0,"starttransfer_time_us":0,"total_time_us":60000495}
2022-10-30T15:30:33-04:00

Iv thought about simply using rsync...is this even possible? I already save my nextcloud files outside of nextcloud to an offsite backup so its the only reason I was going to use nextcloud.

Edit:  I have created the folder in nextcloud but now in the opnsense logs I get

Error while fetching filelist from Nextcloud '/.' path
Cannot get real username
Title: Re: Cant get nextcloud config backup working.
Post by: FullyBorked on November 01, 2022, 01:19:42 am
It's probably a self signed cert issue.  I just went through this nonsense. If your nextcloud instance has a self signed cert that's your problem. I finally just set-up my next cloud without a cert.  Not ideal but it works now without issue.  The error reporting is terrible imo.  Not able to retrieve file list might technically not be wrong but doesn't even come close to leading you towards it being a cert issue.

Sent from my Pixel 6 Pro using Tapatalk

Title: Re: Cant get nextcloud config backup working.
Post by: Tismofied on March 26, 2023, 12:17:40 am
It's probably a self signed cert issue.  I just went through this nonsense. If your nextcloud instance has a self signed cert that's your problem. I finally just set-up my next cloud without a cert.  Not ideal but it works now without issue.  The error reporting is terrible imo.  Not able to retrieve file list might technically not be wrong but doesn't even come close to leading you towards it being a cert issue.

Sent from my Pixel 6 Pro using Tapatalk
what method did you use to install your nextcloud instance?
Title: Re: Cant get nextcloud config backup working.
Post by: FullyBorked on March 26, 2023, 12:41:05 am
It's probably a self signed cert issue.  I just went through this nonsense. If your nextcloud instance has a self signed cert that's your problem. I finally just set-up my next cloud without a cert.  Not ideal but it works now without issue.  The error reporting is terrible imo.  Not able to retrieve file list might technically not be wrong but doesn't even come close to leading you towards it being a cert issue.

Sent from my Pixel 6 Pro using Tapatalk
what method did you use to install your nextcloud instance?

I installed it on Ubuntu Server using snap -
Code: [Select]
sudo snap install nextcloud