Project

General

Profile

Bug #543

Cannot upload file to wiki

Added by Sarah Morgano almost 11 years ago. Updated almost 11 years ago.

Status:
Resolved
Priority name:
Normal
Assignee:
-
Category name:
Wiki
Target version:
Start date:
2011-01-21
Due date:
% Done:

0%

Estimated time:

Description

I was trying to upload a file (jpg) to the wiki and it took me to an Internal Error page with the following text (screenshot attached):

"The upload directory (public) is not writable by the webserver."

upload.png (33.4 KB) upload.png Sarah Morgano, 2011-01-21 10:17 PM

History

#1 Updated by local admin almost 11 years ago

Seems like the /images folder is owned by commons:commons, rather than commons:apache.

#2 Updated by local admin almost 11 years ago

Sarah, I've changed the folder permission there to squash the bug. Should be ok now. (Still gotta look into what caused the problem, though) : /

#3 Updated by local admin almost 11 years ago

I changed it. I caused the problem.

660  ll /var/www/html/wiki/images/
661 chown -R commons:commons $_

Don't remember why. (wtf!)

#4 Updated by Matt Gold almost 11 years ago

  • Status changed from New to Reporter Feedback
  • Assignee set to local admin
  • Target version set to Not tracked

Thanks for your quick response, André! Sarah, can you confirm that it is working now?

#5 Updated by local admin almost 11 years ago

Matt Gold wrote:

Thanks for your quick response, André!

Glad I was online. No problem.

But hey, I may have blamed myself too readily!

I see a bunch of commands in history that I definitely didn't issue. Stuff about github and stuff. Totally weird.
Like, who commited this? Am I going crazy?

375  git commit -m "added wiki/images to folders ignored in .gitignore"

I thought only root's command got logged on that history and I don't think anyone else has root's pw... Hmm, I guess I have some more home-work to do.

#6 Updated by Sarah Morgano almost 11 years ago

I was able to upload and embed the image on a wiki page. Many thanks, André!

#7 Updated by local admin almost 11 years ago

Sarah Morgano wrote:

I was able to upload and embed the image on a wiki page. Many thanks, André!

Cool, I'll close the ticket and take the mystery elsewhere : )

#8 Updated by local admin almost 11 years ago

  • Status changed from Reporter Feedback to Resolved

#9 Updated by Matt Gold almost 11 years ago

Boone, can you comment on the Github question when you have a chance? Thanks.

#10 Updated by local admin almost 11 years ago

Matt Gold wrote:

Boone, can you comment on the Github question when you have a chance? Thanks.

Sorted it out on Basecamp. No action needed, guys.

Also available in: Atom PDF