compass icon indicating copy to clipboard operation
compass copied to clipboard

[Bug]: The mysql in Dolphinscheduler start failed.

Open xuchangqun opened this issue 10 months ago • 3 comments

Contact Details

[email protected]

Is there an existing issue for this?

  • [X] I have searched all the existing issues

Priority

low (Default)

Current Behavior

branch main , lastest code .

When I use Docker Compose to install DolphinScheduler, MySQL fails to start properly.

  • Starting MySQL database server mysqld su: warning: cannot change directory to /nonexistent: No such file or directory

Expected Behavior

When installing mysql-server , system will create 'mysql' user with no home dir, it could be the reason.

Steps To Reproduce

1. download code and compile 
2. docker compose install
3. install dolphinscheduler (mysql server)

mysql start failed

Compass Log

No response

Anything else? (Additional Context)

No response

xuchangqun avatar Apr 18 '24 04:04 xuchangqun

@xuchangqun Add build parameters and try again ? docker compose --profile dolphinscheduler up -d --build

nilnon avatar Apr 19 '24 01:04 nilnon

  • /nonexistent

Adding parameters still doesn't work. I solved it by replacing '/nonexistent' in /etc/passwd. 😄

xuchangqun avatar Apr 19 '24 09:04 xuchangqun

@xuchangqun I also encountered the same problem. What do I need to replace '/nonexistent' with

a278574361 avatar May 19 '24 02:05 a278574361