question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Docker demo site nog working?

See original GitHub issue

Hi,

I just tried setting up Docker variant of the demo site. I am using Docker 17-12 (stable) on a Macbook Pro, running High Sierra.

The installation seems to be going okay, no clear warnings are show. When going to the homepage when everything runs, displays the default, blank Wagtail page : “Welcome to your new Wagtail site!”. Logging in to Wagtail admin also fails with the provided credentials.

I tried to pinpoint what is going on. The Django migrations seem to have ran - the default Django auth_user table is empty - I don’t know if Wagtail uses this table.

I believe something is broken, or am I missing something?

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:5 (1 by maintainers)

github_iconTop GitHub Comments

6reactions
vbt101commented, Aug 31, 2018

As a workaround, after completing the initial Docker setup, I re-ran the following 2 commands. This fixed the login for the admin page, and also allowed the homepage to load with the expected content.

docker-compose up --build -d
docker-compose run app /venv/bin/python manage.py load_initial_data
0reactions
thibaudcolascommented, Jul 24, 2019

This seems to be working fine for me while looking at #233 so I’ll close this now, can reopen if the issue reappears. Please copy/paste the relevant logs from the Docker build or runtime errors from Django when reporting issues like this.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Overview | Docker Documentation
Troubleshooting, logs, and known issues. ... The Troubleshoot page contains the following options: Restart Docker Desktop. Select to restart Docker Desktop.
Read more >
How to Fix and Debug Docker Containers Like a Superhero
Container errors are tricky to diagnose, but some investigative magic works wonders. Read along to learn how to debug Docker containers.
Read more >
Containerize an application - Docker Documentation
In this short section, you learned the basics about creating a Dockerfile to build a container image. Once you built an image, you...
Read more >
WordPress samples - Docker Documentation
Docker Samples: A collection of over 30 repositories that offer sample containerized demo applications, tutorials, and labs.
Read more >
hello-world - Official Image - Docker Hub
Quick reference (cont.) Where to file issues: https://github.com/docker-library/hello-world/issues. Supported architectures ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found