question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Issue with import backup.json

See original GitHub issue

⚠️ Please verify that this bug has NOT been raised before.

  • I checked and didn’t find similar issue

🛡️ Security Policy

Description

I export the backup file on my first server and I try to import this file to my new server. But I encounter an issue when I try that with all methods (Keep both, Skip existing, Overwrite), I’ve got this log: cannot read property of undefined (reading 'length'). I use this method a lot of time and it’s the first time I’ve got problems.

The 2 servers run with the latest version of docker on Debian 11 with Kuma 1.14.0

👟 Reproduction steps

  • Export Backup
  • Import Backup

👀 Expected behavior

It will import the backup.json without any issues.

😓 Actual Behavior

Got an issue with this log: cannot read property of undefined (reading 'length')

🐻 Uptime-Kuma Version

1.14.0

💻 Operating System and Arch

Debian 11 x86

🌐 Browser

Safari and Firefox

🐋 Docker Version

Docker 20.10.5

🟩 NodeJS Version

No response

📝 Relevant log output

No response

Issue Analytics

  • State:closed
  • Created a year ago
  • Reactions:5
  • Comments:7 (1 by maintainers)

github_iconTop GitHub Comments

16reactions
chakflyingcommented, Apr 13, 2022

Looks like the backup process is not updated to include proxies. In the meantime, you can fix this by opening the backup.json file, and add a new line between version and notificationList:

{
    "version": "1.14.0",
    "proxyList": [],
    "notificationList": [
        ...

save this and now import should work.

0reactions
trojan20161207commented, Apr 15, 2022

thx,it’s work!

Read more comments on GitHub >

github_iconTop Results From Across the Web

export/import json backup file · Issue #7252 · invoiceninja ...
I have an instance if invoiceninja self-hosted on my synology nas. I exported the json file to import into my new instance on...
Read more >
1332702 - "Unable to process the backup file" when importing ...
When I tried second time to restore same bookmarks json file, it got imported without any issue. Note: Backup json file is from...
Read more >
Import data from JSON - Atlassian Support
The JSON import feature allows you to import issues from external issue trackers that cannot be exported to CSV files. Please note that...
Read more >
Import json backup file with curl - Support - Duplicati forum
Hi, I'm using duplicati 2.0.2.12_canary_2017-10-20 and I try to import a json file with curl instead of WUI. But I don't know which...
Read more >
Backup and restore every setting in the same instance
1. Navigate to Email This Issue - Administration - Backup/Restore. · 2. Click on Add file then click on Browse. · 3. Select...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found