[SOLVED] Database backwards compatibility / copy URLs of articles in 4.0.4 (Raspberry Pi version) #892
-
Hi, First I have to say that I'm so glad I found this application. It looks like I finally have a replacement for the quite outdated RSSOwl(nix), with a major new benefit: Raspberry Pi compatibility. I want to run it on my RPi, so I don't need to keep my PC running to not miss any new items. (*1) Due to the limited resources on the RPi, I'd prefer to just copy the link list to the clipboard and open it on my Desktop browser instead. Unfortunately, the RPi version is still on 4.0.4 and it seems it doesn't offer this feature yet. So I thought, as a workaround, before I go through the feeds I might export the DB on the RPi, import it on my Desktop on the newer version and use it there. When I'm done, I'd export the changes again to the RPi instance. In my test using a Windows 4.3.2 instance and importing its backup DB to a Windows 4.0.4 instance this didn't work, 4.0.4 didn't respond anymore after importing the DB and restarting. So I assume the DB isn't backwards compatible (even though there was no warning)? Is there any other way to do this until the RPi gets a newer version? Right now I can only think of exporting the current DB to Windows for copying the items, but then making all changes to the same selected items on the RPi. Thanks a lot! *1) |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 2 replies
-
Hi. Well. RSS Guard database is FORWARD compatible of course, As for backwards compatibility - database schema is sometimes updated to accomodate new features - new columns are sometimes added, some tables are added etc. Here are current scripts which are responsible for updating DB tables to "current" schema version. https://github.com/martinrotter/rssguard/tree/master/resources/sql Sadly if in some version some columns are added, then naturally old versions of RSS Guard will not be able to read that new DB. To my knowledge no widely used applications ensure backwards compatibility. There might be some compatility for some previous versions but 4.0.4 is just tooooo old. My suggestion would be to recompile RSS Guard for your system on Raspberry pi by hand? Compilation does not really take that long, even on slow configurations. |
Beta Was this translation helpful? Give feedback.
-
Thanks! I didn't really expect backwards compatibility. But it might be a good idea to add a DB version check to the Import/Export GUI. I think I have never compiled something on my own before. After dozens of iterations of error messages/web search/package installations I think I'm almost there, but not quite. I was able to run the following commands with no errors: But at the final step I get rssguard-4.3.2$ cmake --install . Any idea what I've missed? It might have something to do with this, as I don't really understand this, neither I can see the folders anywhere:
|
Beta Was this translation helpful? Give feedback.
-
Unfortunately doing it the same way on the Raspberry Pi OS doesn't work. Does anyone have any idea what's the problem here?
|
Beta Was this translation helpful? Give feedback.
Thanks! I didn't really expect backwards compatibility. But it might be a good idea to add a DB version check to the Import/Export GUI.
I think I have never compiled something on my own before. After dozens of iterations of error messages/web search/package installations I think I'm almost there, but not quite.
I was able to run the following commands with no errors:
rssguard-4.3.2$ cmake -DCMAKE_BUILD_TYPE="Release" .
rssguard-4.3.2$ cmake --build .
But at the final step I get
rssguard-4.3.2$ cmake --install .
-- Install configuration: "Release"
CMake Error at src/librssguard/cmake_install.cmake:46 (file):
file INSTALL cannot find
"[...]/rssguard-4.3.2/src/librssguard/CMakeFiles/CMakeRel…