-
-
Notifications
You must be signed in to change notification settings - Fork 137
Closed as not planned
Description
Is there an existing issue for this?
- I have searched the existing issues
Current Behavior

Unfortunately I am not able to convert the sqlite to a postgres db with the comment below...
Expected Behavior
working migration
Steps To Reproduce
try to migrate linuxserver/nextcloud (tried to upgrade to the tag latest 4h ago (29.0.2) and still not working
Environment
- OS: ubuntu 22.04 lts
- How docker service was installed:CPU architecture
x86-64
Docker creation
nextcloud:
image: lscr.io/linuxserver/nextcloud:latest
container_name: nextcloud
environment:
- PUID={{ puid }}
- PGID={{ pgid }}
- TZ={{ timezone }}
volumes:
- "{{ docker_dir }}/nextcloud/appdata:/config"
- "{{ docker_dir }}/nextcloud/data:/data"
restart: unless-stopped
depends_on:
- nextcloud-db
links:
- nextcloud-db
ports:
- '4443:443'
nextcloud-db:
image: postgres:15
restart: always
container_name: nextcloud_db
environment:
- POSTGRES_USER={{ nextcloud_user }}
- POSTGRES_PASSWORD={{ nextcloud_pw }}
- POSTGRES_DB={{ nextcloud_db }}
volumes:
- "{{ docker_dir }}/nextcloud/db:/var/lib/postgresql/data"
healthcheck:
test: ["CMD-SHELL", "sh -c 'pg_isready -U {{ nextcloud_user }} -d nextcloud'"]
interval: 10s
timeout: 3s
retries: 3Container logs
docker exec -it nextcloud bash
root@xxxx:/# occ db:convert-type --port 5432 --all-apps --password=XXXXX pgsql user host db
In ConvertType.php line 183:
This command is temporarily disabled (until the next maintenance release).
db:convert-type [--port PORT] [--password PASSWORD] [--clear-schema] [--all-apps] [--chunk-size CHUNK-SIZE] [--] <type> <username> <hostname> <database>Metadata
Metadata
Assignees
Labels
No labels
Type
Projects
Status
Done