this post was submitted on 21 Apr 2024
20 points (95.5% liked)

Selfhosted

40246 readers
560 users here now

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.

Rules:

  1. Be civil: we're here to support and learn from one another. Insults won't be tolerated. Flame wars are frowned upon.

  2. No spam posting.

  3. Posts have to be centered around self-hosting. There are other communities for discussing hardware or home computing. If it's not obvious why your post topic revolves around selfhosting, please include details to make it clear.

  4. Don't duplicate the full text of your blog or github here. Just post the link for folks to click.

  5. Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).

  6. No trolling.

Resources:

Any issues on the community? Report it using the report flag.

Questions? DM the mods!

founded 1 year ago
MODERATORS
 

Hey there!

I'm a self-hosting enthusiast, and I'm learning the hard way, so I appreciate your patience as I navigate through this.

I've been on the hunt for a video hosting solution that offers categories and tags, and I've heard great things about MediaCMS. It seems like the perfect fit for what I need.

After some trial and error, I finally got it up and running. The only hiccup I'm facing now is with logging into the admin panel. I keep getting an error 500. I checked out some similar issues on github, but it doesn't seem to apply to my situation, and there isn't a solution posted. Plus, it looks like the developer is not very active on the issues.

I was wondering if anyone else has encountered this problem before and might have some insights to share.

Here's some additional info: I cloned the repository from https://github.com/mediacms-io/mediacms and made some edits to the docker-compse.yaml file to suit my preferences, mainly adjusting the volume paths. You can check it out here. The service takes a bit of time to start, but eventually it does and I can access the landing page. However, when I try to sign in, I just get a "Server Error (500)" message. I've checked the logs but haven't found anything useful.

Has anyone who uses MediaCMS encountered this issue before? Can someone reproduce and help me clear this out? Thanks a lot for your assistance!

you are viewing a single comment's thread
view the rest of the comments
[–] catloaf@lemm.ee 3 points 7 months ago (2 children)
[–] Tiritibambix@lemmy.ml 2 points 7 months ago (2 children)

celery_beat

celery_worker

db. A lot of errors here, but I think I recall reading somewhere in the issues that it doesn't matter. I'd have to double check that.

redis

web

[–] catloaf@lemm.ee 3 points 7 months ago

I don't think postgres having fatal errors like that is normal. I'd check the user it's running as and the permissions on the files/directories/volumes.

[–] aodhsishaj@lemmy.world 1 points 7 months ago* (last edited 7 months ago) (1 children)

You have a permissions issue with pg_logical/snapshots": Permission denied. Check that your volumes exist in /var/lib/docker/container (or something close) and that the user running docker can create a test file in the local directory (likely a db directory in the docker root)

What's your docker-compose.yml look like? Especially any volume mounts

[–] Tiritibambix@lemmy.ml 1 points 7 months ago

I have the folder. I chown and chmod it as it should be. Looks like it reverts back to the wrong permissions though. Don't know why.

Here is my docker-compose

[–] YurkshireLad@lemmy.ca 0 points 7 months ago

Spot on. You can’t self host without reading app and system logs.