#1 What is the credentials

Closed
opened 3 months ago by wicadmin · 6 comments

Hi, After I get this running, it gives a login screen but I do not see the default credentials in the documentation. Please advise how to get into the app.

Thank you.

Hi, After I get this running, it gives a login screen but I do not see the default credentials in the documentation. Please advise how to get into the app. Thank you.
witten commented 3 months ago
Owner

Good question! The Docker image doesn’t come with default credentials, because MediaGoblin doesn’t. (And registration is disabled because this image is for private-mode instances.) Here’s how to add a user:

First, exec into the running Docker image:

$ docker exec -it mediagoblin bash           

If you don’t know the name of your mediagoblin image, try looking in docker ps output.

Then, add a user (follow the prompts):

gmg --conf_file /app/mediagoblin_local.ini adduser

Finally, make that user an admin (supplying your username):

gmg --conf_file /app/mediagoblin_local.ini makeadmin username

I can add this to README if that works for you.

Good question! The Docker image doesn't come with default credentials, because MediaGoblin doesn't. (And registration is disabled because this image is for private-mode instances.) Here's how to add a user: First, exec into the running Docker image: ```bash $ docker exec -it mediagoblin bash ``` If you don't know the name of your mediagoblin image, try looking in `docker ps` output. Then, add a user (follow the prompts): ```bash gmg --conf_file /app/mediagoblin_local.ini adduser ``` Finally, make that user an admin (supplying your username): ```bash gmg --conf_file /app/mediagoblin_local.ini makeadmin username ``` I can add this to README if that works for you.
wicadmin commented 3 months ago
Poster
There is no content yet.
wicadmin commented 3 months ago
Poster

Thanks for the speedy reply….I’ll give that a try.

It would be helpful to add to the readme.

Thanks for the speedy reply....I'll give that a try. It would be helpful to add to the readme.
witten commented 3 months ago
Owner

Okay, I’ll use this ticket to track adding it to the README! Let me know if the steps work out for you.

Okay, I'll use this ticket to track adding it to the README! Let me know if the steps work out for you.
wicadmin commented 3 months ago
Poster

It did. Thanks again.

It did. Thanks again.
witten commented 3 months ago
Owner

Cool, glad to hear it. You’ll have to add additional users in a similar manner. (Maybe without the makeadmin step.)

Cool, glad to hear it. You'll have to add additional users in a similar manner. (Maybe without the `makeadmin` step.)
witten referenced this issue from a commit 3 months ago
Sign in to join this conversation.
No Label
No Milestone
No Assignees
2 Participants
Due Date

No due date set.

Dependencies

This issue currently doesn't have any dependencies.

Loading…
Cancel
Save
There is no content yet.