AuthMe / AuthMeReloaded

The best authentication plugin for the Bukkit/Spigot API!
https://www.spigotmc.org/resources/authmereloaded.6269/
GNU General Public License v3.0
618 stars 514 forks source link

AuthMe fails to load SQL database #2650

Closed miha128 closed 1 year ago

miha128 commented 1 year ago

What behaviour is observed?

Server shuts down after AuthMe tries to load SQL database "Failed to load native library:sqlite-3.36.0.3-b9f2e392-1e4c-4e1b-b849-8edb8db884a7-libsqlitejdbc.so." -- cant find jdbc driver

Expected behaviour

opposite of observed behaviour

To Reproduce

  1. download termux
  2. pkg update && pkg upgrade && pkg install openjdk-17
  3. wget https://api.papermc.io/v2/projects/paper/versions/1.19.2/builds/294/downloads/paper-1.19.2-294.jar
  4. java -jar -Xmx1G paper-1.19.2-294.jar
  5. cd Plugins
  6. wget https://github.com/AuthMe/AuthMeReloaded/releases/download/5.6.0-beta2/AuthMe-5.6.0-beta2.jar
  7. cd ..
  8. java -jar -Xmx1G paper-1.19.2-294.jar

Plugin list

Plugins (1): AuthMe

Server Implementation

Standalone server (no proxy)

Database Implementation

SQLite

AuthMe Version

5.6.0

Error log (if applicable)

https://gist.github.com/MihaiGamerYT54/eeaed23e18affd34d03445a1fd96f78c

Configuration

default paper config

nvm i found out that i need to use the jdbc driver

miha128 commented 1 year ago

nvm it doesnt work

krusic22 commented 1 year ago

It tells you what to do. Install the package that provides the required lib.

miha128 commented 1 year ago

no package exists for it, only a jar file i tried to do this: export CLASSPATH=$CLASSPATH:~/a/sqlite-jdbc.jar but same error

miha128 commented 1 year ago

Issue with termux. anlinux environment works normally but termux doesn't because of missing required classes