Giter VIP home page Giter VIP logo

Comments (7)

ccgarant avatar ccgarant commented on July 20, 2024 1

It seems the following cleaned up the watcher-db-1 Error:

docker compose down
docker volume remove watcher_postgres-data
docker compose up -d

from operation.

ccgarant avatar ccgarant commented on July 20, 2024

Can confirm incorporated #2 fix which looked great upon docker compose up -d but still getting watcher-db-1 error.

from operation.

Alesfatalis avatar Alesfatalis commented on July 20, 2024

Can confirm incorporated #2 fix which looked great upon docker compose up -d but still getting watcher-db-1 error.

Try to clean db volume before docker compose up -d if you had it running before adding the fix from #2

from operation.

ccgarant avatar ccgarant commented on July 20, 2024

What's the best way to do this? Delete everything in the db directory?

from operation.

ccgarant avatar ccgarant commented on July 20, 2024

While docker is running, i'm also getting

WARN[2023-12-11T07:52:05.061152255-05:00] cleaning up after shim disconnected           
id=b8742a9328ab...7ee84c9e 
namespace=moby

from operation.

ccgarant avatar ccgarant commented on July 20, 2024

Still getting a ✘ Container watcher-db-1 Error

Tried:

  • docker compose down
  • docker system prune -a
  • docker compose up -d

From docker compose logs --tail 100

db-1  | The files belonging to this database system will be owned by user "postgres".
db-1  | This user must also own the server process.
db-1  | 
db-1  | The database cluster will be initialized with locale "en_US.utf8".
db-1  | The default database encoding has accordingly been set to "UTF8".
db-1  | The default text search configuration will be set to "english".
db-1  | 
db-1  | Data page checksums are disabled.
db-1  | 
db-1  | initdb: error: directory "/var/lib/postgresql/data" exists but is not empty
db-1  | initdb: hint: If you want to create a new database system, either remove or empty the directory "/var/lib/postgresql/data" or run initdb with an argument other than "/var/lib/postgresql/data".

from operation.

ccgarant avatar ccgarant commented on July 20, 2024

These commands also seem to work:
'''
docker compose down --volumes
docker compose up -d
'''

Regardless #4 seems to have fixed this issue. Recommend closing it now.

from operation.

Related Issues (4)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.