OPNsense
  • Home
  • Help
  • Search
  • Login
  • Register

  • OPNsense Forum »
  • Archive »
  • 18.7 Legacy Series »
  • Nextcloud backup woops?
« previous next »
  • Print
Pages: [1]

Author Topic: Nextcloud backup woops?  (Read 3756 times)

xupetas

  • Newbie
  • *
  • Posts: 41
  • Karma: 4
    • View Profile
Nextcloud backup woops?
« on: August 02, 2018, 05:23:16 pm »
Hello all,

I'm having issues getting the nextcloud backup plugin to work. I am having this errors:

config[76475]: Error while fetching filelist from Nextcloud
config[93176]: {"url":"https:\/\/cloud.blablabla.com\/remote.php\/dav\/files\/config\/OPNsense-Backup\/config-pfsense01.net.xpto-2018-08-02_15:53:53.xml","content_type":"text\/html; charset=iso8859-1","http_code":403,"header_size":480,"request_size":326,"filetime":-1,"ssl_verify_result":0,"redirect_count":0,"total_time":1.293437,"namelookup_time":7.6e-5,"connect_time":0.003817,"pretransfer_time":0.029171,"size_upload":878690,"size_download":295,"speed_download":228,"speed_upload":679574,"download_content_length":-1,"upload_content_length":878690,"starttransfer_time":0.032878,"redirect_time":0,"redirect_url":"","primary_ip":"104.28.6.80","certinfo":[],"primary_port":443,"local_ip":"192.168.1.20","local_port":38604}

For what i am able to notice i am getting a 403 http error.
However i am able to upload to the nextcloud  instance with that user using either the browser or the native nextcloud client.
 
The nextcloud IS able to create the destination dir, so it appears not to be permission related. I just am not able to upload the xml file.

I can also see the opnsense logging in with success to the nextcloud instance:

{"reqId":"W2MlzKwQACkAAE3Xt7QAAAAC","level":1,"time":"2018-08-02T15:39:56+00:00","remoteAddr":"172.16.3.161","user":"config","app":"admin_audit","method":"PROPFIND","url":"\/remote.php\/dav\/files\/config\/","message":"Login successful: \"config\"","userAgent":"OPNsense Firewall","version":"13.0.5.2"}

Can you shed some light on this? What am i missing?

Nuno
« Last Edit: August 02, 2018, 05:42:51 pm by xupetas »
Logged

fabian

  • Hero Member
  • *****
  • Posts: 2768
  • Karma: 199
  • OPNsense Contributor (Language, VPN, Proxy, etc.)
    • View Profile
    • Personal Homepage
Re: Nextcloud backup woops?
« Reply #1 on: August 02, 2018, 10:28:39 pm »
Can you try to use a WebDAV client as it should act like OPNsense (for example accessing via a local file manager). PROPFIND is the request, which queries a list of elements (more or less a directory listing).
Logged

xupetas

  • Newbie
  • *
  • Posts: 41
  • Karma: 4
    • View Profile
Re: Nextcloud backup woops?
« Reply #2 on: August 03, 2018, 10:55:23 am »
Hello Fabian.

I CAN upload data using a regular webdav client
The path nextcloud forces me to use on the  webdav client is cloud.blablabla.com/remote.php/dav/files/USERNAME/

Thanks for your help.
Nuno
Logged

Fatmouse69

  • Newbie
  • *
  • Posts: 22
  • Karma: 2
    • View Profile
Re: Nextcloud backup woops?
« Reply #3 on: March 11, 2019, 08:33:59 am »
Hi there, has the issue been solved? If so, I am curious how. Kind regards.
Logged

  • Print
Pages: [1]
« previous next »
  • OPNsense Forum »
  • Archive »
  • 18.7 Legacy Series »
  • Nextcloud backup woops?
 

OPNsense is an OSS project © Deciso B.V. 2015 - 2023 All rights reserved
  • SMF 2.0.19 | SMF © 2021, Simple Machines
    Privacy Policy
    | XHTML | RSS | WAP2