What is the credentials #1

Closed
opened 2019-06-04 00:20:32 +00:00 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.
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.
Author

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.
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.
Author

It did. Thanks again.

It did. Thanks again.
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.)
Sign in to join this conversation.
No Label
No Milestone
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: witten/mediagoblin-docker#1
No description provided.