mediacms-io / mediacms

MediaCMS is a modern, fully featured open source video and media CMS, written in Python/Django and React, featuring a REST API.
https://mediacms.io
GNU Affero General Public License v3.0
2.67k stars 495 forks source link

Reinstalling? #755

Closed ruvilonix closed 1 year ago

ruvilonix commented 1 year ago

What is the correct way to reinstall MediaCMS? I was messing around with my server and must have changed something which is causing a Server Error on MediaCMS. I don't have any content on it yet, so I don't mind reinstalling.

Or maybe someone knows where this error comes from:

django.db.utils.OperationalError: could not connect to server: Connection refused
    Is the server running on host "127.0.0.1" and accepting
    TCP/IP connections on port 5432?

I think all I was doing was removing/reinstalling openssl and openssh, so I'm guessing that's part of the cause.

Edit: I probably uninstalled some dependency. I decided to try just deleting the mediacms.io folder and running the install script again.

Edit2: No, that didn't work. Now instead of a Server Error on the login page, it's on every page. And there's nothing in debug.log anymore.

ruvilonix commented 1 year ago

I ended up just restoring my server from a backup. But it would be nice to know how to reinstall MediaCMS if needed.