[GMG-Devel] MediaGoblin starting problem

ayleph ayleph at thisshitistemp.com
Tue Nov 18 12:16:33 EST 2014


On 11/18/2014 08:57 AM, Прокси wrote:
> 
> I moved alias directives from "location /media {}" and nginx started. I was
> able to create account and log in.

That sounds like progress!

> Uploading of a picture, on the other hand,
> failed. 
> 
> I think this is the relevant part of lazyserver output:
> 
> OSError: [Errno 13] Permission denied: '/media/user_dev'
> 
> I changed permissions of this dir to 777 but no joy. 

Does whatever user nginx uses to run the webserver (www, httpd, nobody,
???) have access to the entire path where the user_dev folder is
located? Are there any directories above it which prevent the user from
traversing?

> One thing I noticed, of four aliased directory, only one exists, first one,
> /home/user/www/media/mediagoblin/static/

On my system, the locations aliased by "/mgoblin_static/",
"/mgoblin_media/", and "/plugin_static/" exist in the mediagoblin
directory. I do not have the location aliased by "/theme_static/".

> In /home/user/www/media/user_dev/media/ exist only workbench directory. No theme_static or plugin_static directories in /home/user/www/media/user_dev

On my system, user_dev/media contains the following subdirectories:
public
queue
workbench

> Is that OK or something is missing in my installation?

It sounds like you're missing something. Did you install mediagoblin at
/home/user/www/media? Or did you copy the folders there by hand?

-- 
ayleph


More information about the devel mailing list