Hi, Roberto,

No, problem was with wrong nginx+php-fpm configuration.

вторник, 12 февраля 2013 г., 11:18:00 UTC+4 пользователь Roberto Rosario 
написал:
>
> Hi Sergey,
>
> Was the problem with Mayan's code? 
>
> --Roberto
>
> On Sunday, February 10, 2013 5:30:10 AM UTC-4, Sergey Drobov wrote:
>>
>> Hi, Roberto!
>>
>> Thanks for your support, I've sovled this problem :)
>>
>> воскресенье, 10 февраля 2013 г., 7:06:59 UTC+4 пользователь Roberto 
>> Rosario написал:
>>>
>>> Hi Sergey,
>>>
>>> To eliminate nginx from the troubleshooting, create a file calles 
>>> settings_local.py with the following contents:
>>>
>>> DEBUG=True
>>> DEVELOPMENT=True
>>>
>>> execute the command:
>>>
>>> rm `find -name "*.pyc"`
>>>
>>> to remove all compiled and cached file .pyc 
>>>
>>> do a git log and make sure the latest commit is 
>>> 9f55fa0933a9e3b01b5f25ce88738aca8b722792
>>>
>>> --Roberto
>>>
>>> On Thursday, January 24, 2013 3:51:28 PM UTC-4, Sergey Drobov wrote:
>>>>
>>>> Hi, Roberto!
>>>>
>>>> I updated my settings.py by still get this error :( It seems to me that 
>>>> I have wrong nginx configuration or something else...
>>>> Here is my "server" part of nginx.conf:
>>>>
>>>> server
>>>> {
>>>> listen 0.0.0.0:80;
>>>> server_name ...;
>>>> access_log /var/log/nginx/mayan-access.log;
>>>>
>>>> location /
>>>> {
>>>> root /var/www/mayan/mayan;
>>>> index index.html;
>>>> fastcgi_pass 127.0.0.1:8881;
>>>>
>>>> include /etc/nginx/fastcgi_params;
>>>> }
>>>> }
>>>> Here is how I run fcgi: python /var/www/mayan/mayan/manage.py runfcgi 
>>>> method=threaded host=127.0.0.1 port=8881 pidfile=/var/run/mayan.pid
>>>>
>>>> четверг, 24 января 2013 г., 23:24:12 UTC+4 пользователь Roberto Rosario 
>>>> написал:
>>>>>
>>>>> Hi Sergey,
>>>>>
>>>>> I just pushed and update last night that might solve this issue.  The 
>>>>> login views are hard coded URLs and if Mayan is not installed as a top 
>>>>> level app there are problems with the login and redirection after login 
>>>>> if 
>>>>> their default values are not updated, similar to what you are describing. 
>>>>>  The commit eliminates the hard coded URLs '/' and '/login' and uses the 
>>>>> runtime resolved view names: 
>>>>> https://github.com/rosarior/mayan/commit/85112090b9d45d5968e1f717dac6c191125d1157#settings.py
>>>>>  Please 
>>>>> update and test to see if this update fixes your situation.
>>>>>
>>>>> --Roberto
>>>>>
>>>>>
>>>>> On Wednesday, January 23, 2013 7:45:11 AM UTC-4, Sergey Drobov wrote:
>>>>>>
>>>>>> Hello!
>>>>>>
>>>>>> I have installed mayan on my ubuntu server and got infinite redirects 
>>>>>> when trying to open main page. It redirects me from '/' to '/login/' and 
>>>>>> then Chrome fails with infinite redirects loop error.
>>>>>>
>>>>>> root@hyperboreya-s2 /var/www/mayan # uname -a
>>>>>> Linux hyperboreya-s2 2.6.32-42-server #95-Ubuntu SMP Wed Jul 25 
>>>>>> 16:10:49 UTC 2012 x86_64 GNU/Linux
>>>>>>
>>>>>> root@hyperboreya-s2 /var/www/mayan # python -V
>>>>>> Python 2.6.5
>>>>>>
>>>>>> Server powered by nginx + fcgi
>>>>>>
>>>>>> Kindly regards,
>>>>>> Sergey Drobov.
>>>>>>
>>>>>

-- 

--- 
You received this message because you are subscribed to the Google Groups 
"Mayan EDMS" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to