Nextcloud version (eg, 20.0.5): 28.0.1.1
Operating system and version (eg, Ubuntu 20.04): Unraid 6.12.4
Apache or nginx version (eg, Apache 2.4.25): nginx/1.23.3
PHP version (eg, 7.4): PHP 8.2.7
The issue you are facing:
I have installed nextcloud-ffmpeg from community applications, it is just packaged with ffmpeg, released by kirah. I’ve installed PosgresSQL 15 from community applications. No issues with configuring or running nextlcoud.
Yesterday I wanted to install firefly, and so I tried to install another instance of PostgresSQL 15, unfortunately I made a massive mistake of installing the instance in the same directory and tried to run it with firefly. This caused the original Postgres container to disappear and nextcloud no longer can function.
I have stopped nextcloud and postgres, copied postgres directory to another location and took ownership of files inside. I have not touched nextcloud directory.
I have attempted to create a new postgres container fresh, however, the tables are not created by nextcloud when connected, so I am unable to access nextcloud. I’ve tried to create a few tables manually, based on errors it threw, but I do not know what their structure is like as far as data type for columns and relationships that should exist.
Since I’m new to this, I have learned now my lesson to create frequent backups of Nextcloud and Database in the future, but I do not have any official backups, just directories after the corruption.
I would like to find out if it is possible to create or re-create a database, so that I am able to access stored media in the Nextcloud data, and how can I try to accomplish that?
Is this the first time you’ve seen this error? (Y/N): Y
Thank you all for any insight you are able to provide.