Comments (15)
Yeah sorry, I didn't see that in the headline ;-)
from nzbhydra2.
Aaargh :-D
Well, I'm really glad that you figured it out quickly. I'll add code that checks the database version in the database file directly.
Thanks for the donation.
from nzbhydra2.
Thanks for the report. I'm getting feedback left and right, so it might take a bit until I can take a look.
from nzbhydra2.
I'm running NZBHydra 1, version 0.2.231 (see: https://vgy.me/pEfIX2.png).
from nzbhydra2.
There's a column missing in the database that was added with 0.2.151. I can't really explain why it's not there. That should not be possible. That could mean that there are any number of possible database states out there. Oh my god.
I'll have to release a new update for v1 which makes sure everything is expected but that will take time. Considering how many reports I'm getting for v2 you're better off waiting a bit ;-)
from nzbhydra2.
Okay, thanks. Is that also why the settings.cfg
import fails? I can do without my old database, but manually recreating all the settings and indexers in the UI would be a bit of a pain (but doable)
EDIT: I can send you my DB file too, if you'd like.
from nzbhydra2.
Please post your debug infos. I didn't really expect so many (or any issues) with the migration.
The settings should be migrated even if the database migration fails.
from nzbhydra2.
Please post your debug infos from v2 (http://127.0.0.1:5076/system/bugreport)
from nzbhydra2.
Debuginfos: https://dl.dropboxusercontent.com/s/sm8ckzmtvys6ya3/nzbhydra-debuginfos-2018-01-06-16-26.zip
from nzbhydra2.
I'm seeing
Error while reading old settings file
java.io.IOException: Is a directory
Make sure that the settings file you provided is correct.
from nzbhydra2.
That was from a previous attempt where I just entered /data/nzbhydra-old-migration
into the UI to see if it needed the filename or not. Other attempts in the debuginfos should have the full file paths.
EDIT: And I was doing the manual migration, as my V1 was running in a Docker container.
from nzbhydra2.
Hm shit, the migration will fail when the database migration doesn't work.
As a workaround you could shut down your v1 instance, move the database files and start v1 again. Then try to migrate again. The v1 database should be reinitialized and match the expectations of the migration process.
from nzbhydra2.
I really want to know what your database looks like and why it looks like that. The missing columns were added 2016 and Hydra shouldn't even work without them...
from nzbhydra2.
I figured it out, and it was me being silly — apologies for wasting your time.
I noticed when moving the database files, as you wrote earlier, that I was mistakenly using an older DB file from the end of 2016 (probably left over from some previous troubleshooting) that was in the top-level of my /hydra
folder, and not the most up-to-date database. I corrected this and used the most recent DB file, and the migration worked fine.
Sorry for any potential stress! Keep up the awesome work!
from nzbhydra2.
Sent you a small donation to apologize :P
from nzbhydra2.
Related Issues (20)
- [Binsearch] Unable to find main table in binsearch page. This happens sometimes ;-) (HAPPENS ALWAYS)
- RSS feed doesn't return any results? HOT 6
- Is there a way to add Prowlarr indexers to nzbhydra2? HOT 2
- Unsecured Dev Endpoints HOT 2
- 5.3.9 Generic fails to start, stuck in startup loop after update from 5.3.8 (MAC OS) HOT 2
- Can't run NZBHydra Windows, systray icon appears then disappears, service starts then stops HOT 47
- Windows v5.3.9 won't start HOT 1
- 5.3.9 python libc on debian failed to start HOT 2
- Core.exe CPU Usage HOT 2
- can't log into Hydra2 anymore HOT 5
- NZBindex API version HOT 1
- nzbhydra leaving behind GB's in local temp folder HOT 1
- Feature Request: Add IP to History tables HOT 5
- MAC OS - wrappers report as outdated HOT 5
- can't send to Sabnzb after updating to 5.3.11 HOT 4
- Update through WebUI Doesn't Work HOT 3
- Incorrect issue number in changelog HOT 1
- Nzbhydra2 no longer launches on Ubuntu 22.04 after 6.0 update HOT 2
- REQ don't choose the smallest posting as the one fronting concatenated posts HOT 2
- Enhancement Request to Search History Table HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nzbhydra2.