Running the Server from the command line throws the same error:
$ mono ./ManagerServer.exe
Manager Server [Version 16.12.16]
Copyright (c) 2016 NGSoftware. All rights reserved.
Syntax:
mono ManagerServer.exe [options]
Options:
-port [number] Set port on which HTTP server should listen on.
-path [directory] Set directory where Manager should look for data.
Examples:
mono ManagerServer.exe
mono ManagerServer.exe -port 80
mono ManagerServer.exe -port 80 -path "/home/samon/.local/share/Manager"
[11:59:25 AM] The type initializer for 'SQLite.SQLiteConnection' threw an exception. (TypeInitializationException)
I have tried emptying the ~/.local/share/Manager/ directory, but the issue continues. I have also tried installing this on another machine (Fedora 25) but the same issue occurs there too.
Is it possible to download and install a previous release instead? The last RPM that I have locally is quite old, and has the NameResolution issue sending emailsā¦
I have Ubuntu 16.04 32bit with Manager which I have upgraded to v17 - it threw the same exception. I have rolled back to 16.12.1 without sqlite as above which works fine - except I cannot load my backups due to āinvalid file formatā!! Please help
Thanks for the reply - tbh I cannot remember the exact version of Manager I had prior when all was OK. I upgraded to v17 today but it did not work at all. So I saw this thread relating to the same sqlite issue and I used the uploaded .deb to roll back. I therefore donāt know if 16.12 was before or after my original version. I installed that version from what was the most current version about two months ago.
Resolved - kind of. I have found my original .deb - i was on v16.12.56. Still, unresolved issue that I cannot then upgrade to v17 without this sqlite issue. Bummer.
Hi @lubos, thanks for getting us a workaround until this issue is fixed.
Unfortunately I bought a used, old 32-bit laptop that I threw Linux onto before I found out about this 32-bit issue with sqlite. Is there any chance of getting the same version of Manager for Windows to match your 32-bit Linux āfixā (16.12.1)?
In case you are wondering why; Iām keeping my Windows machine (what I used before the laptop) around as a backup & would like to keep their versions in sync.
@CyberScooby, the issue has been already addressed in library Manager is using 3 weeks ago. Unfortunately, new version of that library hasnāt been released yet. As soon as new version is released, I will include it in Manager which will make it run on 32-bit Linux again.
Is there a consensus on what actually causes this issue? Is it a particular version of SQLite?
It has been over six months since I initially raised this issue, and the answer at the time was simply āuse this older versionāā¦ which as a stop-gap was okay, but now that weāre on a whole new āmajorā version (confirmed still not working on v17.6.39) and the issue is still present, is it possible to get some investigation into what is causing this and therefore how to resolve it?
Unfortunately it seems like 32-bit Linux will remain being unsupported since the library Manager is using wonāt be adding 32-bit Linux support. The developer of the library has tried to make this happen but it ended up being too hard after he dug into it deeper.
There is a workaround to make Manager work on 32-bit Linux but I guess thatās for another topic.
As for why Manager cannot start on 64-bit Linux, I have no idea because I canāt reproduce the issue. What I would try is to install server edition since that could give more detailed error. Actually I believe the latest version of Manager should give more detailed error on desktop edition too. Not just one liner as previously posted.
Okay - so libe_sqlite3.so is missing! Iāve compiled that from sqlite3.c and dropped it into the binary folder, and now it works as desired I assume this just means that the Fedora package is missing that one file?
Yes, I also see that both source packages (manager-accounting.zip or Manager.src.rpm ) are also missing libe_sqlite3.so. Manager.deb is the only package that contains libe_sqlite3.so. In the meantime, for those who really want/need the latest release, you can grab a working fedora 25 rpm release here: Releases Ā· agrez/manager-accounting Ā· GitHub.
Hi Lubos - I am interested in learning about this workaround as I am working on a 32bit machine and using the newest version that still worked on 32 bit (16.12.1). It would be great to update to a newer version, if that is possible.
@agrez did good work to fix Fedora package so it will work on machines with x86 or ARM processor. Now, the same will need to be done for Debian package. I hope to dive into this before end of this month.