Comments (7)
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.
Can confirm incorporated #2 fix which looked great upon docker compose up -d
but still getting watcher-db-1 error.
from operation.
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.
What's the best way to do this? Delete everything in the db directory?
from operation.
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.
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.
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
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from operation.