-
I updated my yaml to reflect some changes I found in the docs:
environment: initial_user: Greeley initial_password: [redacted] initial_email: [redacted] initial_server_url: http://localhost:6610This instead gives a 500 error
HTTP ERROR 500 Server Error URI: / STATUS: 500 MESSAGE: Server Error SERVLET: io.onedev.server.web.DefaultWicketServlet$$EnhancerByGuice$$177239896-131fe506 Powered by Jetty:// 9.4.51.v20230217 -
if anyone else comes looking. Make sure to read the documentation in its entirety, you do NOT know what it says despite thinking you do.
Non-Compliant Hibernate dialect:
hibernate_dialect: "org.hibernate.dialect.PostgreSQLDialect"Compliant Hibernate dialect:
hibernate_dialect: "io.onedev.server.persistence.PostgreSQLDialect"With this changed the server does start and prompt for login, It doesn't seem to like the initial_password but I'll read that 100 times before I post an issue and ensure it's correct.
-
Previous Value Current Value Open
Closed
-
Compliant Hibernate dialect is:
hibernate_dialect: "io.onedev.server.persistence.PostgreSQLDialect" -
Will update the docs to emphasize using OneDev's own version of postgresql dialect.
As to initial user/password not taking effect, please specify it together with initial_email, otherwise UI will prompt for email together with user/pass.
-
The change is appreciated. I ended up using the reset password script to get into my account. On the webpage it's listed as
/opt/onedev/bin/reset_admin_password.(sh|bat) <new-password>however the script is actually delimited by dashes instead of underscores.
/opt/onedev/bin/reset-admin-password.(sh|bat) <new-password> -
Fixed in docs. Thx!
| Type |
Bug
|
| Priority |
Normal
|
| Assignee | |
| Affected Versions |
9.2.5, 9.2.4, 9.2.3
|
| Labels |
No labels
|
Here is the exception output:
my docker-compose.yaml is as follows:
The network and postgres work fine, the application connects just fine to postgres. This is only when clicking next on the server location after creating the initial admin user.
Left the input as http://localhost:6610