Failed to init storage dao - Postgres
Closed this issue · 13 comments
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)
Try commenting out both lines.
The default config isn't suitable for PostgreSQL - you need to remove those two extra properties.
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
Please try with no defined properties and this build: https://luckperms.github.io/
I've commented out both properties, and updated LuckPerms to the latest build
No more errors at this time.
Thank you!
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
[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
[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