[web2py] Re: ssh tunnel to admin panel with lighttpd= ERROR:web2py.cache:corrupted file

2012-01-29 Thread Benjamin
Hello Massimo, Unfortunately it doesn't solve it. There is from time to time only 2 files in this cache folder : cache.lock cache.shelve And deleting it doesn't change the behavior, i.e.: the web2py welcome page is displayed correctly using an SSH tunnel but the admin panel displays Internal

[web2py] Re: ssh tunnel to admin panel with lighttpd= ERROR:web2py.cache:corrupted file

2012-01-29 Thread Benjamin
Hello, Just to let you know ISSUE SOLVED. For an unknown reason sessions folder was not chown to www-data, so simply : chown -R www-data:www-data sessions solved the issue. I am not sure it's the way it should be but at least it works now. Thanks, Cheers, On 29 jan, 09:41, Benjamin

Re: [web2py] Re: ssh tunnel to admin panel with lighttpd= ERROR:web2py.cache:corrupted file

2012-01-29 Thread nils
Hi, . Lighty runs under the user of www-data and so folders or files that need to be written too, have to have the ownership changed to www-data other wise you will get this error, same goes for a download/upload folder if you are uploading content via your application. Regards, Nils On Sun,

[web2py] Re: ssh tunnel to admin panel with lighttpd= ERROR:web2py.cache:corrupted file

2012-01-28 Thread Massimo Di Pierro
Can you try delete applications/admin/cache/*? it is possible that there is a cache file created using a different python version and web2py cannot open it. For permission issues it may be unable to remove it and re-create it. On Jan 28, 12:25 pm, Benjamin benjamin.aguet...@gmail.com wrote: