Failed Nextcloud App - reinstall - need to recover data

Dom

Dabbler
Joined
Aug 26, 2013
Messages
13
Newbie to SCALE long time TrueNAS user.

I have decided to migrate my VM(most) to TrueNas scale. Like with anything there is a learning curve and little mishaps. One of those is with the apps not starting due to waiting to stop pods . This seems to have started when I ugraded my Nextcloud App to new release this past week.

I have read some post and most people said just to start from scratch. So I did, deleted the apps unset the application pool and installed next cloud. I used the same truenas mount points for data and Postgres . I'm thinking I can get my config and data back. Not so quick . The moment I do that the app sits in deploying mode. I poked around and I'm not sure how to even troubleshoot this. Started with the logs and see this message in the pod nextcloud-postgres-54474ff5-prv container cloud-postgres. I take this is from my old install. Is there any way to get in there and change it . I don't know where would I have to change it (config wise ) even if manage to change it in the database.

2023-12-02 00:45:10.953204-05:002023-12-02 05:45:10.952 UTC [250] DETAIL: Password does not match for user "oc_admin".
2023-12-02 00:45:10.953227-05:00Connection matched pg_hba.conf line 99: "host all all all md5"

Any help would be appreciated. I do have snapshots of the mount points for data and Postgres just in case.
 

brandon_

Cadet
Joined
Jan 28, 2024
Messages
5
Hey Dom, I'm running into a similar issue with some apps. Did you find a solution to your issue?
 

Dom

Dabbler
Joined
Aug 26, 2013
Messages
13
Actually I just had it happen again. I saw the update available check box, I went to upgrade it and it never did. Now it is stuck in deploy status.

The error message was something about the new image already existing.

I have then went to roll the update back. It will never start up and it is stuck in deploy mode.

2024-01-30 09:45:00 Not starting job because prior execution is running and concurrency policy is Forbid
2024-01-30 09:30:02 Created container nextcloud-cronjob
2024-01-30 09:30:02 Started container nextcloud-cronjob
 
Top