Manager does not start after recent update on Ubuntu

Great, the only issue is that packaging the application to a non user writable directory like /usr/ will prevent the extraction of the libe_sqlite3.so. in any case I adjusted the ArchLinux packaging script to execute the ManagerServer.exe on port 1 so it fails, this way it extracts the sqlite3 library before packaging the files, PKGBUILD - aur.git - AUR Package Repositories

Thanks a lot for your work!, now I wonder if there is a way to package an ARM version of the sqlite3 library…

i have updatet it on one from my three machines, the programm starts but i can not import my Backups.

Why do you need to import the backups? A new version of Manager calls the same, existing data file as the older version.

@hanny, this seems unrelated problem. Any chance you could send me the backup file you are trying to import to lubos@manager.io ?

@jgm & @mprokopov, yes it’s an ugly hack just to make it work. The main issue here is that I really have little experience with making Debian packages. I’m going to find someone to take over this part as I have no interest in penetrating Debian documentation - it’s massive!

As for ARM build, try to download sqlite3.c and compile it on ARM-based machine with following command:

gcc -shared -fPIC -O -DNDEBUG -DSQLITE_DEFAULT_FOREIGN_KEYS=1 -DSQLITE_ENABLE_FTS3_PARENTHESIS -DSQLITE_ENABLE_FTS4 -DSQLITE_ENABLE_COLUMN_METADATA -DSQLITE_ENABLE_JSON1 -DSQLITE_ENABLE_RTREE -o libe_sqlite3.so sqlite3.c

Then place resulting libe_sqlite3.so in Manager program folder where ManagerServer.exe or ManagerDesktop.exe files are.

Now that I’m thinking about this, maybe Manager shouldn’t include libe_sqlite3.so at all. It should include sqlite3.c which would be compiled into platform-dependent libe_sqlite3.so (x86, x64, ARM etc) during install.

2 Likes

Same here. I was on 16.12.21 (desktop edition) I think, and about 4 hours ago I tried to upgrade to 16.12.31 and now it doesn’t start. I’m on Ubuntu 16.04 64-bit. I tried removing it and installing it again like two times and nothing. It just doesn’t start.

Hi Tut, i Backup every Day after work in my Dropbox, and use it on a Laptop too.

You could set the data path on both machines to the Dropbox location. Then you never have to import. Manager on both machines will call the data from the Dropbox folder. But you need to make sure both machines are kept up to date on versions so you don’t get in the situation of opening the file with an older version after it’s been accessed by a newer version.

I have updatet the new Version on a little Laptop but i have no workws in Manager Accounting with them.
I open the Programm to test the new Update, and it works. Then i search the Backup in my Dropboxfolder and try to import but it did not work. Why i don´t know

OK on my Packard Bell Laptop all went fine, i don´t know why but i will look what is different on my eepc Laptop.
I will spend time tomorrow to update on my desktop and post again. Good night all.
Thank you and advance

Yes I think that is the Problem, my Desktop an my Packard Bell are working with the same Folder on Dropbox, and the eepc not, i will change it and test it out, thanks for reply an for the tipp.

Now it works, my symlink was wrong, now all is fine.

Its mean Manager can run on 32bit linux?

This morning I updated to latest version on 64 bit Mint 18, but Manager does not start. No warnings nor errors, just nothing happens.

edit: i downgraded to the version without sqlite, working fine again

I do have the same situation:

 /opt/manager-accounting $ ./manager-accounting 

Unhandled Exception:
System.UnauthorizedAccessException: Access to the path "/opt/manager-accounting/libe_sqlite3.so" is denied.
  at System.IO.FileStream..ctor (System.String path, System.IO.FileMode mode, 

However, starting Manager as superuser solves the issue…

/opt/manager-accounting $ sudo ./manager-accounting 
[sudo] password for xxxxxx: 
Vector smash protection is enabled.
openjdk version "1.8.0_03-Ubuntu"
OpenJDK Runtime Environment (build 1.8.0_03-Ubuntu-8u77-b03-3ubuntu3-b03)
OpenJDK 64-Bit Server VM (build 25.03-b03, mixed mode)

Maybe this information will help.

With some additional testing, I’ve found a workaround.
Workaround:

  1. de-install Manager.
  2. remove libe_sqlite3.so (or at least rename it)
  3. re-install Manager
  4. Start Manager with root rights (This wil recreate the libe_sqlite3.so file)
  5. Exit Manager.

After these steps, I was able te start the Manager as ordinary user.

All of the above is done on Linux Mint 18 (Ubuntu 16.04)

thanks, workaround works here as well

@Gert thank you very much for this workaround. You have saved my life. Also, I have already installed Manager and just did this command and close it, just testing, without doing anything else and it worked. Again, thank you.

Hi
This fix doesn’t work for me. I’m using Ubuntu on a 32bit.
I get the response below:

mjr@mjr-ESPRIMO-Mobile-U9200:~$ sudo ./manager-accounting
[sudo] password for mjr:
sudo: ./manager-accounting: command not found
mjr@mjr-ESPRIMO-Mobile-U9200:~$ /opt/manager-accounting
bash: /opt/manager-accounting: Is a directory
mjr@mjr-ESPRIMO-Mobile-U9200:~$ sudo ./manager-accounting
sudo: ./manager-accounting: command not found
mjr@mjr-ESPRIMO-Mobile-U9200:~$

You have to go to the right directory first:

cd /opt/manager-accounting/

Then the command sudo ./manager-accounting can be found.

Thanks for clarifying. Working ok now.
Happy New Year!

Now every time I want to use manager I have to go to the directory and type sudo ./Manager-accounting

Any other way the application give me the internal error problem if I want to change language or add customer …etc

Is there another way to make it start normally ???