this post was submitted on 05 Sep 2023
16 points (100.0% liked)

Selfhosted

39158 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
 

I’ve tried asking on the Mediawiki Support Desk but haven’t gotten any help.

EDIT: It looks like the issue with images comes from using Short URLs. After uploading the image through the Upload File section I get a 404 error but if I add /index.php?title= to the url I can visit the uploaded files. Not sure how to fix this though

So basically my issue is mediawiki thinks the links to my files are /File:filename.png but they're actually at index.php?title=File:filename.png

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 1 points 1 year ago (1 children)

For a quick test you could set it to 777, if that fixes it, check which user new files are being assigned to, adjust permissions back down accordingly.

[–] [email protected] 1 points 1 year ago* (last edited 1 year ago)

I tried it, I still can upload files to the server when I go to Upload Files section but it redirect to the 404 I think due to the Short Urls. The images still upload to the server fine but its a hassle because it always looks like it fails. I don't know how to fix the Short Urls issue though

and if i try to upload an image from the Upload Image section when editing the wiki it gives me the old HTTP 500 error.

the problem is that it thinks the files are located at /view/File:filename.png

but they're really located at index.php?title=File:filename.png