LuckPerms

LuckPerms

41.4k Downloads

Failed to init storage dao - Postgres

ContrerasA opened this issue · 13 comments

commented

I'm receiving an error upon server launch with the latest (4.2.58) version of LuckPerms.

Upon launching the server I am greeted by the following error:
https://pastebin.com/9uqzWZd9

Here is my config file:
https://pastebin.com/e80AMdGL

Username/password is correct
I've tried commenting out 'userUnicode' property, as well as setting it to false.
Commenting out that line proceeds to complain about characterEncoding
Setting userUnicode to false returns the previous error

I am currently developing on a windows 10 machine.
I am running the latest 1.13 spigot build.
Problem persists if I downgrade to version 1.12 (on a 1.12 server)

commented

Make sure you’re using an up to date version of PostgreSQL

commented

Make sure you’re using an up to date version of PostgreSQL

PostgreSQL 1.11 is the latest version.
image

commented

I’m stupid 😂
I meant LuckPerms. An up to date version of LuckPerms.

commented

Am) LuckPerms version of 4.3.87)))

commented
[14:46:08] [Server thread/ERROR]: [LuckPerms] Failed to init storage dao
[14:46:08] [Server thread/WARN]: java.lang.RuntimeException: Property characterEncoding does not exist on target class me.lucko.luckperms.lib.postgresql.ds.PGSimpleDataSource

You need to remove the property that doesn't exist for your storage provider from the properties section in the configuration file

commented
[14:46:08] [Server thread/ERROR]: [LuckPerms] Failed to init storage dao
[14:46:08] [Server thread/WARN]: java.lang.RuntimeException: Property characterEncoding does not exist on target class me.lucko.luckperms.lib.postgresql.ds.PGSimpleDataSource

You need to remove the property that doesn't exist for your storage provider from the properties section in the configuration file

Am, postgresql does not exists?
image

commented

I said property, as in the properties section in the configuration

commented

I apologize for my stupidity ..
I commented out two properties and it works.
Thanks for the help!

commented

I mean a similar problem.
Crash report - https://pastebin.com/9STSHexM
My config - https://pastebin.com/7vLsQ9rE
Runing on ubuntu 18.04, version of server - 1.13.2 last build

PostgreSQL version of 11.1

commented

Try commenting out both lines.

The default config isn't suitable for PostgreSQL - you need to remove those two extra properties.

commented

Commenting both lines (useUnicode, characterEncoding) out brings it back to the plugin complaining about useUnicode property
https://pastebin.com/7KjWHrBX

config: https://pastebin.com/4eHTgg1r

commented

Please try with no defined properties and this build: https://luckperms.github.io/

commented

I've commented out both properties, and updated LuckPerms to the latest build
No more errors at this time.
Thank you!