core icon indicating copy to clipboard operation
core copied to clipboard

DB dropped on user add

Open JamesArthurHolland opened this issue 7 years ago • 5 comments

A colleague had been working on 5.1.0, spent numerous hours adding content.

Tried to add a new user to the system, it crashed and emptied the database table.

JamesArthurHolland avatar Mar 28 '19 10:03 JamesArthurHolland

I don't think it wiped the db per say. Maybe you were running H2 which is just for demo purposes and not postgres,mysql,oracle, or mssql

On Thu, Mar 28, 2019, 6:24 AM JamesArthurHolland [email protected] wrote:

A colleague had been working on 5.1.0, spent numerous hours adding content.

Tried to add a new user to the system, it crashed and emptied the database table.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/dotCMS/core/issues/16300, or mute the thread https://github.com/notifications/unsubscribe-auth/ABfteCyu3BeDAKHCVCxUmyOKSw97SY4Mks5vbJhigaJpZM4cPyrg .

dotcmsCodeReview avatar Mar 28 '19 10:03 dotcmsCodeReview

Followed the instructions as per https://dotcms.com/docs/latest/basic-aws-installation

JamesArthurHolland avatar Mar 28 '19 11:03 JamesArthurHolland

Do you not think it would be better to invest time in doing an ansible install script, so that people can install by running that instead? Would be easier for yous to know whether it passes tests or not either.

That script installs java-headless, when dotcms needs tools.jar from full jdk.

JamesArthurHolland avatar Mar 28 '19 11:03 JamesArthurHolland

@JamesArthurHolland I have never seen or heard of an issue adding a user causing a database to be emptied. I am fairly sure that something else happened with regards to the server setup. If you want automated, I would try using some of our docker images.

wezell avatar Mar 28 '19 12:03 wezell

docker images weren't production ready I thought?

JamesArthurHolland avatar Mar 29 '19 09:03 JamesArthurHolland