OPNsense
  • Home
  • Help
  • Search
  • Login
  • Register

  • OPNsense Forum »
  • Archive »
  • 18.1 Legacy Series »
  • [18.1.10] Nextcloud Backup Issues
« previous next »
  • Print
Pages: 1 [2]

Author Topic: [18.1.10] Nextcloud Backup Issues  (Read 7115 times)

astrandb

  • Newbie
  • *
  • Posts: 15
  • Karma: 5
    • View Profile
Re: [18.1.10] Nextcloud Backup Issues
« Reply #15 on: July 09, 2018, 02:04:51 pm »
There is a (typing) error in the code that creates the filename that explain the time issue.

I have raised the issue on GitHub
Logged

fabian

  • Hero Member
  • *****
  • Posts: 2764
  • Karma: 197
  • OPNsense Contributor (Language, VPN, Proxy, etc.)
    • View Profile
    • Personal Homepage
Re: [18.1.10] Nextcloud Backup Issues
« Reply #16 on: July 09, 2018, 08:21:51 pm »
Fixed - patch can be applied using:
opnsense-patch 4b1dd40

https://github.com/opnsense/core/pull/2532/files
Logged

Nergale

  • Newbie
  • *
  • Posts: 1
  • Karma: 0
    • View Profile
Re: [18.1.10] Nextcloud Backup Issues
« Reply #17 on: July 23, 2018, 01:50:32 pm »
I'll be honest, if I am uploading my own configurations to my own Nextcloud server, then I should be able to send it without any encryption.
The choice to do so would be nice.

Right now i changed the following lines in "/usr/local/opnsense/mvc/app/library/OPNsense/Backup/Nextcloud.php":
                $this->upload_file_content(
                    $url,
                    $username,
                    $password,
                    $backupdir,
                    $configname,
                    $confdata_enc
                );

To this:
                $this->upload_file_content(
                    $url,
                    $username,
                    $password,
                    $backupdir,
                    $configname,
                    $confdata
                );

This uploads the data without any encryption.
Logged

mimugmail

  • Hero Member
  • *****
  • Posts: 6148
  • Karma: 423
    • View Profile
Re: [18.1.10] Nextcloud Backup Issues
« Reply #18 on: July 23, 2018, 02:03:50 pm »
https://github.com/opnsense/core/commit/15534011f0e2fe98eb0995ba3b671c76ca12b534
Logged
IRC: mimugmail
Twitter: mimu_muc
WWW: www.routerperformance.net
Commercial Plugins (German): https://opnsense.max-it.de/

  • Print
Pages: 1 [2]
« previous next »
  • OPNsense Forum »
  • Archive »
  • 18.1 Legacy Series »
  • [18.1.10] Nextcloud Backup Issues
 

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