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

postgres report premission issue #1177

Open
1 of 5 tasks
hiveer opened this issue Oct 29, 2024 · 1 comment
Open
1 of 5 tasks

postgres report premission issue #1177

hiveer opened this issue Oct 29, 2024 · 1 comment

Comments

@hiveer
Copy link

hiveer commented Oct 29, 2024

Description

starhub-server-postgres-1 | chown: changing ownership of '/var/lib/postgresql/data/base/16385/2696': Permission denied
starhub-server-postgres-1 | chown: changing ownership of '/var/lib/postgresql/data/base/16385/3576': Permission denied
starhub-server-postgres-1 | chown: changing ownership of '/var/lib/postgresql/data/base/16385/19159': Permission denied
starhub-server-postgres-1 | chown: changing ownership of '/var/lib/postgresql/data/base/16385/2662': Permission denied
starhub-server-postgres-1 | chown: changing ownership of '/var/lib/postgresql/data/base/16385/2830': Permission denied
starhub-server-postgres-1 | chown: changing ownership of '/var/lib/postgresql/data/base/16385/3764_vm': Permission denied
starhub-server-postgres-1 | chown: changing ownership of '/var/lib/postgresql/data/base/16385/17833': Permission denied
starhub-server-postgres-1 | chown: changing ownership of '/var/lib/postgresql/data/base/16385/18047': Permission denied
starhub-server-postgres-1 | chown: changing ownership of '/var/lib/postgresql/data/base/16385/2665': Permission denied
starhub-server-postgres-1 | chown: changing ownership of '/var/lib/postgresql/data/base/16385/2838_vm': Permission denied
starhub-server-postgres-1 | chown: changing ownership of '/var/lib/postgresql/data/base/16385/18078': Permission denied
starhub-server-postgres-1 | chown: changing ownership of '/var/lib/postgresql/data/base/16385/2691': Permission denied

docker-compose.yml

  postgres:
    image: "gradescope/postgresql-multiple-databases:14.4"
    user: "root"
    environment:
      POSTGRES_USER: "postgres"
      POSTGRES_PASSWORD: "xxxxx"
      POSTGRES_MULTIPLE_DATABASES: "starhub_server,gitea,mirror"
    ports:
      - "5433:5432"
    volumes:
      - ./pgdata:/var/lib/postgresql/data
    networks:
      - my_network

After I switch to opstack, its working

Version

No response

Operating System

  • macOS Intel <= 13 (Ventura)
  • macOS Intel >= 14 (Sonoma)
  • Apple Silicon <= 13 (Ventura)
  • Apple Silicon >= 14 (Sonoma)
  • Linux

Output of colima status

No response

Reproduction Steps

  1. use docker desktop to run the postgres service
  2. switch to colima to run the postgres service

Expected behaviour

No response

Additional context

No response

@unixc3t
Copy link

unixc3t commented Nov 12, 2024

delete existing instance
colima delete

create new instance with vz
colima start --vm-type=vz

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

3 participants
@hiveer @unixc3t and others