Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. BackItUp auf Dropbox: Fehler wegen Header

    NEWS

    • Neues Video "KI im Smart Home" - ioBroker plus n8n

    • Neues Video über Aliase, virtuelle Geräte und Kategorien

    • Wir empfehlen: Node.js 22.x

    BackItUp auf Dropbox: Fehler wegen Header

    This topic has been deleted. Only users with topic management privileges can see it.
    • D
      diwoma last edited by

      Hi,
      Ich habe mitte des vorigen Jahres für BackItUp eine App auf Dropbox definiert und den Token eingetragen um das Backup gleich in die Cloud zu machen. Läuft auf dem Master in einem LXC auf Proxmox.

      Jetzt habe ich einen Conbee2 auf einem Raspberry laufen und wollte die Zigbee-Daten ebenfalls auf die Dropbox senden.
      Also eine neue App definiert (den alten Token habe ich mir natürlich nicht irgendwo gesichert 😠) und auf dem Pi eine Instanz des Adapters erstellt, der im Master als Backitup.1 erscheint.

      Allerdings gibt es beim Upload Probleme:

      Started iobroker ...
      [DEBUG] [iobroker] - host.pi-broker 8389 states saved
      
      [DEBUG] [iobroker] - host.pi-broker 9078 objects saved
      
      [DEBUG] [iobroker] - Backup created: /opt/iobroker/backups/iobroker_2022_03_12-12_44_04_backupiobroker.tar.gz
      
      [DEBUG] [iobroker] - done
      [DEBUG] [zigbee] - found zigbee database: zigbee.0
      [DEBUG] [zigbee] - done
      [DEBUG] [ftp] - FTP connected.
      [DEBUG] [ftp] - Send iobroker_2022_03_12-12_44_04_backupiobroker.tar.gz
      [DEBUG] [ftp] - Send zigbee.0_2022_03_12-12_44_24_backupiobroker.tar.gz
      [DEBUG] [ftp] - done
      [DEBUG] [dropbox] - Dropbox: Copy iobroker_2022_03_12-12_44_04_backupiobroker.tar.gz...
      [ERROR] [dropbox] - upload Dropbox: {"code":400,"text":"Error in call to API function \"files/upload\": Bad HTTP \"Content-Type\" header: \"application/gzip\".  Expecting one of \"application/octet-stream\", \"text/plain; charset=dropbox-cors-hack\"."}
      [DEBUG] [dropbox] - Dropbox: Copy zigbee.0_2022_03_12-12_44_24_backupiobroker.tar.gz...
      [ERROR] [dropbox] - upload Dropbox: {"code":400,"text":"Error in call to API function \"files/upload\": Bad HTTP \"Content-Type\" header: \"application/gzip\".  Expecting one of \"application/octet-stream\", \"text/plain; charset=dropbox-cors-hack\"."}
      [DEBUG] [dropbox] - done
      [DEBUG] [clean] - done
      [DEBUG] [historyHTML] - new history html values created
      [DEBUG] [historyHTML] - done
      [DEBUG] [historyJSON] - new history json values created
      [DEBUG] [historyJSON] - done
      [EXIT] 0
      

      Ich glaube mich zu erinnern, dass sich an der API in Dropbox was getan hat, zumindest bekam ich mal Mails dafür.
      Ich kenne die Api und die Auswahl dazu nicht, könnte mir aber vorstellen, dass aufgrund des Token die neue API angesprochen wird und es da einen Fehler gibt.
      Die alte Version im LXC läuft weiterhin ohne Probleme.

      Aktuell auf beiden Rechnern laufende Adapter-Version: v2.3.5
      Dass vor dem Upload ein FTP-Send zu sehen ist, liegt daran, dass ich das Backup, solange es nicht auf die Dropbox kommt auf ein NAS sichere.

      Kann das ein Konfigurationsfehler meinerseits sein (was ich nicht glaube, weil bei 3 Einstellungen sollte man doch wenig Fehler machen können 😕) oder liegt es am Adapter?

      1 Reply Last reply Reply Quote 0
      • First post
        Last post

      Support us

      ioBroker
      Community Adapters
      Donate
      FAQ Cloud / IOT
      HowTo: Node.js-Update
      HowTo: Backup/Restore
      Downloads
      BLOG

      1.0k
      Online

      32.1k
      Users

      80.7k
      Topics

      1.3m
      Posts

      1
      1
      102
      Loading More Posts
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes
      Reply
      • Reply as topic
      Log in to reply
      Community
      Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen
      The ioBroker Community 2014-2023
      logo