Help, i have an issue on dspace when creating administrator #121254
Unanswered
HenryUtonga
asked this question in
Enterprise
Replies: 1 comment
-
You can go through the website to resolve this issue https://stackoverflow.com/questions/45688408/dspace-create-administrator-fails
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
repository@repository-ProLiant-DL380-Gen9:~/dspace-angular$ sudo docker-compose -p d7 -f docker/cli.yml run --rm dspace-cli create-administrator -e test@test.edu -f admin -l user -p admin -c en
WARNING: Found orphan containers (dspacesolr, dspace-angular, dspacedb, dspace) for this project. If you removed or renamed this service in your compose file, you can run this command with the --remove-orphans flag to clean it up.
Creating d7_dspace-cli_run ... done
Exception: Problem connecting to database. This indicates issue with either network or version (or possibly some other). If you are running this in docker-compose, please make sure dspace-cli was built from the same sources as running dspace container AND that they are in the same project/network.
java.lang.IllegalStateException: Problem connecting to database. This indicates issue with either network or version (or possibly some other). If you are running this in docker-compose, please make sure dspace-cli was built from the same sources as running dspace container AND that they are in the same project/network.
at org.dspace.administer.CreateAdministrator.(CreateAdministrator.java:124)
at org.dspace.administer.CreateAdministrator.main(CreateAdministrator.java:69)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:566)
at org.dspace.app.launcher.ScriptLauncher.runOneCommand(ScriptLauncher.java:283)
at org.dspace.app.launcher.ScriptLauncher.handleScript(ScriptLauncher.java:134)
at org.dspace.app.launcher.ScriptLauncher.main(ScriptLauncher.java:99)
ERROR: 1
Beta Was this translation helpful? Give feedback.
All reactions