Hello i tried to update Manager 23.10.2.1021 and i got the following error. any help will be much appreciated. i also install sqlite3.
# Internal Error
— Manager 23.10.2.1021 —
System.TypeInitializationException: The type initializer for ‘SQLite.SQLiteConnection’ threw an exception. —> System.DllNotFoundException: Unable to load shared library ‘e_sqlite3’ or one of its dependencies. In order to help diagnose loading problems, consider using a tool like strace. If you’re using glibc, consider setting the LD_DEBUG environment variable: /usr/share/manager-server/e_sqlite3.so: cannot open shared object file: No such file or directory /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.28’ not found (required by /usr/share/manager-server/libe_sqlite3.so) libe_sqlite3.so: cannot open shared object file: No such file or directory /usr/share/manager-server/e_sqlite3: cannot open shared object file: No such file or directory /usr/share/manager-server/libe_sqlite3: cannot open shared object file: No such file or directory at SQLitePCL.SQLite3Provider_e_sqlite3.NativeMethods.sqlite3_libversion_number() at SQLitePCL.SQLite3Provider_e_sqlite3.SQLitePCL.ISQLite3Provider.sqlite3_libversion_number() at SQLitePCL.raw.SetProvider(ISQLite3Provider imp) at SQLitePCL.Batteries_V2.Init() at SQLite.SQLiteConnection…cctor() — End of inner exception stack trace — at SQLite.SQLiteConnection…ctor(String databasePath, Boolean storeDateTimeAsTicks) at Manager.ApplicationData.SQLiteConnection(String fileId) in /home/runner/work/Manager/Manager/Manager/ApplicationData.cs:line 410 at Manager.ApplicationData.EnsureNotFresh(Database business, String entityId) in /home/runner/work/Manager/Manager/Manager/ApplicationData.cs:line 148 at Manager.ApplicationData.Get(String entityId) in /home/runner/work/Manager/Manager/Manager/ApplicationData.cs:line 133 at ManagerServer.HttpHandlers.HttpHandler.GetCurrentUser() in /home/runner/work/Manager/Manager/ManagerServer/HttpHandlers/HttpHandler.cs:line 177 at ManagerServer.HttpHandlers.HttpHandler.IsAdministrator() in /home/runner/work/Manager/Manager/ManagerServer/HttpHandlers/HttpHandler.cs:line 119 at ManagerServer.HttpHandlers.Template.Get() in /home/runner/work/Manager/Manager/ManagerServer/HttpHandlers/Template.cs:line 173 at ManagerServer.Startup.<>c.<b__1_1>d.MoveNext() in /home/runner/work/Manager/Manager/ManagerServer/Startup.cs:line 109 — End of stack trace from previous location — at Microsoft.AspNetCore.Diagnostics.ExceptionHandlerMiddlewareImpl.g__Awaited|8_0(ExceptionHandlerMiddlewareImpl middleware, HttpContext context, Task task)
System.NullReferenceException: Object reference not set to an instance of an object. at Manager.Database.OfTypeT in /home/runner/work/Manager/Manager/Manager/Database.cs:line 172 at ManagerServer.HttpHandlers.HttpHandler.GetCurrentUser() in /home/runner/work/Manager/Manager/ManagerServer/HttpHandlers/HttpHandler.cs:line 177 at ManagerServer.HttpHandlers.HttpHandler.IsAdministrator() in /home/runner/work/Manager/Manager/ManagerServer/HttpHandlers/HttpHandler.cs:line 119 at ManagerServer.HttpHandlers.Template.Get() in /home/runner/work/Manager/Manager/ManagerServer/HttpHandlers/Template.cs:line 173 at ManagerServer.Startup.<>c.<b__1_1>d.MoveNext() in /home/runner/work/Manager/Manager/ManagerServer/Startup.cs:line 109 — End of stack trace from previous location — at Microsoft.AspNetCore.Diagnostics.ExceptionHandlerMiddlewareImpl.g__Awaited|8_0(ExceptionHandlerMiddlewareImpl middleware, HttpContext context, Task task)
Why would you do that? You should just follow the instructions at Installation | Manager
Most importantly check if your server is meeting the specificiations.
Linux: Requires Ubuntu 16.04 LTS (64-bit) / Fedora 33 (64-bit) or newer
Windows: Requires Windows 7 SP1 (64-bit) or newer.
Mac: Requires Mac OS X 10.14 or newer
We have not updated our Ubuntu Server environment for a while since 23.5.24.827 - Now I am getting nervous to update Manager! Our OS is updated and current though. Let us know here if the update issue is solved please.
I understand I have the same problem. Working with outdated version because the update is not working. It seems they don’t care about Ubuntu server edition. @Tut can you provide answers as why new version is not working?
@theaccountant as mentioned I have been updating my Ubuntu 20.04 LTS server and currently run Manager v23.10.2.1021
From Terminal run the following script (is same as at Installation | Manager but added server update & upgrade & autoremove and autoclean and concatenated the script.)
Ho do you try to run it in your browser? Read Ubuntu | Manager Connecting to your server. The initial address would be 127.0.0.1:8080 (local server) The guides tell you how to make it accessible via the internet.
i did the reboot also i install succesful however i dindt do caddy. i dont have custom domain. can i run it on my vps ip 82.165…? do i need to setup caddy?
The issue is with SQLite version which Manager is using. The latest version of SQLite is compiled with GLIBC 2.28.
GLIBC 2.28 was released in August 2018 and I think Ubuntu 18.10 or newer is required now. I’ve updated Download page on the website with minimal requirements.
OP seems to be using Ubuntu 18.04
By the way, Manager Cloud is hosted on Linux servers. So Linux is very much supported. But Ubuntu 18.04 is more than 5 years old now.
To access your Manager Server from the Internet, you will need to configure your router so it properly routes connections from the Internet into your computer running Manager Server. This is called port forwarding.
@Lubos also indicated to try to add :8080 (port 8080) to your IP address.