Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ARM Support #6

Closed
ccgarant opened this issue Dec 10, 2023 · 7 comments
Closed

ARM Support #6

ccgarant opened this issue Dec 10, 2023 · 7 comments

Comments

@ccgarant
Copy link
Contributor

Currently the watcher configuration does not have ARM support, for devices such as raspberry pi's, orange pi's, or Mac Mini M1 (Asahi Linux Arch).

From the Telegram, apparently the postgres image does not have an arm build.

Could we provision and update for ARM support please.

@ccgarant
Copy link
Contributor Author

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

@Alesfatalis
Copy link

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

@ccgarant
Copy link
Contributor Author

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

@ccgarant
Copy link
Contributor Author

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

@ccgarant
Copy link
Contributor Author

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

@ccgarant
Copy link
Contributor Author

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

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

@ccgarant
Copy link
Contributor Author

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants