CostlyOstrich36 Thanks. I changed the dir’s name into clearml but the log still output same error…
EcstaticBaldeagle77 , please lower all the dockers then run the following commands and then try raising them again.
` sudo mkdir -p /opt/clearml/data/elastic
sudo mkdir -p /opt/clearml/data/mongo/db
sudo mkdir -p /opt/clearml/data/mongo/configdb
sudo mkdir -p /opt/clearml/data/redis
sudo mkdir -p /opt/clearml/logs
sudo mkdir -p /opt/clearml/config
sudo mkdir -p /opt/clearml/data/fileserver
sudo chown -R 1000:1000 /opt/clearml `
Also, where did you find the instructions with 'trains' in it?
Can you please run ls -la /opt/clearml
and send the output + your docker compose file
EcstaticBaldeagle77 If you look at the installation instructions, you'll you're using incorrect folder names for some of the folders you've created (see https://clear.ml/docs/latest/docs/deploying_clearml/clearml_server_linux_mac ) - specifically, elastic
should be elastic_7
and mongo
should be mongo_4
Hi, where did you get the instructions thay specify 'trains' ? Everything should be switched to 'clearml'
SuccessfulKoala55 CostlyOstrich36
Sorry for a late reply.
I solved the above installation. The latest version’s elastic and mongo works.
Thanks a lot for your help !
CostlyOstrich36
The same error still happens.
clearml-elastic | ElasticsearchException[failed to bind service]; nested: AccessDeniedException[/usr/share/elasticsearch/data/nodes];
clearml-elastic | Likely root cause: java.nio.file.AccessDeniedException: /usr/share/elasticsearch/data/nodes
clearml-elastic | at java.base/sun.nio.fs.UnixException.translateToIOException(UnixException.java:90)
clearml-elastic | at java.base/sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:106)
clearml-elastic | at java.base/sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:111)
clearml-elastic | at java.base/sun.nio.fs.UnixFileSystemProvider.createDirectory(UnixFileSystemProvider.java:398)
clearml-elastic | at java.base/java.nio.file.Files.createDirectory(Files.java:700)
clearml-elastic | at java.base/java.nio.file.Files.createAndCheckIsDirectory(Files.java:807)
clearml-elastic | at java.base/java.nio.file.Files.createDirectories(Files.java:793)
clearml-elastic | at org.elasticsearch.env.NodeEnvironment.lambda$new$0(NodeEnvironment.java:300)
clearml-elastic | at org.elasticsearch.env.NodeEnvironment$NodeLock.<init>(NodeEnvironment.java:224)
clearml-elastic | at org.elasticsearch.env.NodeEnvironment.<init>(NodeEnvironment.java:298)
clearml-elastic | at org.elasticsearch.node.Node.<init>(Node.java:427)
clearml-elastic | at org.elasticsearch.node.Node.<init>(Node.java:309)
clearml-elastic | at org.elasticsearch.bootstrap.Bootstrap$5.<init>(Bootstrap.java:234)
clearml-elastic | at org.elasticsearch.bootstrap.Bootstrap.setup(Bootstrap.java:234)
clearml-elastic | at org.elasticsearch.bootstrap.Bootstrap.init(Bootstrap.java:434)
clearml-elastic | at org.elasticsearch.bootstrap.Elasticsearch.init(Elasticsearch.java:166)
clearml-elastic | at org.elasticsearch.bootstrap.Elasticsearch.execute(Elasticsearch.java:157)
clearml-elastic | at org.elasticsearch.cli.EnvironmentAwareCommand.execute(EnvironmentAwareCommand.java:77)
clearml-elastic | at org.elasticsearch.cli.Command.mainWithoutErrorHandling(Command.java:112)
clearml-elastic | at org.elasticsearch.cli.Command.main(Command.java:77)
clearml-elastic | at org.elasticsearch.bootstrap.Elasticsearch.main(Elasticsearch.java:122)
clearml-elastic | at org.elasticsearch.bootstrap.Elasticsearch.main(Elasticsearch.java:80)
clearml-elastic | For complete error details, refer to the log at /usr/share/elasticsearch/logs/clearml.log
clearml-apiserver | [2022-03-23 10:50:28,573] [9] [INFO] [clearml.app_sequence] ################ API Server initializing #####################
clearml-apiserver | [2022-03-23 10:50:28,573] [9] [INFO] [clearml.database] Initializing database connections
clearml-apiserver | [2022-03-23 10:50:28,573] [9] [INFO] [clearml.database] Using override mongodb host mongo
clearml-apiserver | [2022-03-23 10:50:28,573] [9] [INFO] [clearml.database] Using override mongodb port 27017
clearml-apiserver | [2022-03-23 10:50:28,575] [9] [INFO] [clearml.database] Registering connection to auth-db ( mongodb://mongo:27017/auth )
clearml-apiserver | [2022-03-23 10:50:28,576] [9] [INFO] [clearml.database] Registering connection to backend-db ( mongodb://mongo:27017/backend )
clearml-elastic exited with code 1
CostlyOstrich36
Also, where did you find the instructions with ‘trains’ in it?
the docs
dir in the master branch.
https://github.com/allegroai/clearml-server/blob/master/docs/install_linux_mac.md