Re: [web2py] upgrade failed for 2.8.2
have you changed permissions to web2py folder?, in centos user and group should be apache, unless you have a modified setup: chown -R apache:apache web2py/ good thought but no, it didn't do the trick. damn, almost. hey massimo, what could have changed between 2.4 and 2.8, probably specifically in mod_wsgi.so? lucas -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Issues) --- You received this message because you are subscribed to the Google Groups web2py-users group. To unsubscribe from this group and stop receiving emails from it, send an email to web2py+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
Re: [web2py] upgrade failed for 2.8.2
El Mon, 2 Dec 2013 04:11:05 -0800 (PST) lucas sjluk...@gmail.com escribió: have you changed permissions to web2py folder?, in centos user and group should be apache, unless you have a modified setup: chown -R apache:apache web2py/ good thought but no, it didn't do the trick. damn, almost. hey massimo, what could have changed between 2.4 and 2.8, probably specifically in mod_wsgi.so? lucas Have you read apache logs?, this line: WSGIScriptAlias / /opt/web-apps/web2py/wsgihandler.py Have in mind that wsgihandler.py is in web2py/handlers in latest versions of web2py... you might, also, have to fix permissions for this file to rwxr-xr-x -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Issues) --- You received this message because you are subscribed to the Google Groups web2py-users group. To unsubscribe from this group and stop receiving emails from it, send an email to web2py+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
Re: [web2py] upgrade failed for 2.8.2
Some things we know have changed: - admin uses versioning for static files therefore you need the new handlers/wsgihandler.py - sessions use a different format, therefore you have to remove all existing session files (or sessions in db) - web2py.js has changed so you must cp applications/welcome/static/js/ web2py.js into applications/*/static/js Yet none of this seems to be the cause of your problem. Did you upgrade mod_wsgi too? On Monday, 2 December 2013 06:11:05 UTC-6, lucas wrote: have you changed permissions to web2py folder?, in centos user and group should be apache, unless you have a modified setup: chown -R apache:apache web2py/ good thought but no, it didn't do the trick. damn, almost. hey massimo, what could have changed between 2.4 and 2.8, probably specifically in mod_wsgi.so? lucas -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Issues) --- You received this message because you are subscribed to the Google Groups web2py-users group. To unsubscribe from this group and stop receiving emails from it, send an email to web2py+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
Re: [web2py] upgrade failed for 2.8.2
Have you read apache logs?, this line: WSGIScriptAlias / /opt/web-apps/web2py/wsgihandler.py Have in mind that wsgihandler.py is in web2py/handlers in latest versions of web2py... you might, also, have to fix permissions for this file to rwxr-xr-x yes, that did it. i happened to have read the README under the handlers subdirectory and it says that the appropriate file(s) should be copied to the parent (web2py) folder. so instead of doing the copy, i did a symbolic link, like ln -s handlers/wsgihandler.py. i also did chmod and chown for that link and restarted apache and it worked great. can anything be wrong with using the link to the file? my thinking is the when the handler is updated, the link will still be valid. lucas -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Issues) --- You received this message because you are subscribed to the Google Groups web2py-users group. To unsubscribe from this group and stop receiving emails from it, send an email to web2py+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
Re: [web2py] upgrade failed for 2.8.2
Some things we know have changed: - admin uses versioning for static files therefore you need the new handlers/wsgihandler.py - sessions use a different format, therefore you have to remove all existing session files (or sessions in db) - web2py.js has changed so you must cp applications/welcome/static/js/ web2py.js into applications/*/static/js Yet none of this seems to be the cause of your problem. Did you upgrade mod_wsgi too? hey massimo, good to hear from you and how is school going? i did delete all session files, done and check. i copied the web2py.js from welcome into all other applications, check. my mod_wsgi.so should be latest and i am showing version 3.2-3, check. my admin interface is not right though. i don't have the 404 Not Found anymore, but the cool interface for admin is missing like the pull-downs and stuff. i just get straight html text without the java scripting side of it. am i missing another js file that i should copy? lucas -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Issues) --- You received this message because you are subscribed to the Google Groups web2py-users group. To unsubscribe from this group and stop receiving emails from it, send an email to web2py+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
Re: [web2py] upgrade failed for 2.8.2
El Mon, 2 Dec 2013 10:06:38 -0800 (PST) lucas sjluk...@gmail.com escribió: Have you read apache logs?, this line: WSGIScriptAlias / /opt/web-apps/web2py/wsgihandler.py Have in mind that wsgihandler.py is in web2py/handlers in latest versions of web2py... you might, also, have to fix permissions for this file to rwxr-xr-x yes, that did it. i happened to have read the README under the handlers subdirectory and it says that the appropriate file(s) should be copied to the parent (web2py) folder. so instead of doing the copy, i did a symbolic link, like ln -s handlers/wsgihandler.py. i also did chmod and chown for that link and restarted apache and it worked great. can anything be wrong with using the link to the file? my thinking is the when the handler is updated, the link will still be valid. lucas Not sure, but even if it brokes on upgrade you know what is the solution... Marco. -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Issues) --- You received this message because you are subscribed to the Google Groups web2py-users group. To unsubscribe from this group and stop receiving emails from it, send an email to web2py+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
[web2py] upgrade failed for 2.8.2
hey everyone, i have been trying to update to web2py 2.8.2. i am running under centos 6.3 and apache 2.2.15. i have done this sort of web2py upgrade on this same system a dozen times or so and never had a problem. i simply get the error 404 Not Found under any url like, http://localhost; or http://localhost/welcome;. they also don't work under https or port 443. any ideas would be great and appreciated. httpd.conf is left unchanged and is most probable the default. here are my other configs for apache: in /etc/httpd/conf.d/wsgi.conf: LoadModule wsgi_module modules/mod_wsgi.so WSGIDaemonProcess web2py user=apache group=apache WSGIApplicationGroup %{GLOBAL} WSGIProcessGroup web2py WSGISocketPrefix run/wsgi WSGIScriptAlias / /opt/web-apps/web2py/wsgihandler.py in /etc/httpd/conf.d/default.conf: NameVirtualHost *:80 NameVirtualHost *:443 VirtualHost *:80 Directory /opt/web-apps/web2py AllowOverride None Order Allow,Deny Deny from all Files wsgihandler.py Allow from all /Files /Directory AliasMatch ^/([^/]+)/static/(.*) /opt/web-apps/web2py/applications/$1/static/$2 Directory /opt/web-apps/web2py/applications/*/static Options -Indexes Order Allow,Deny Allow from all /Directory Location /admin Deny from all /Location LocationMatch ^/([^/]+)/appadmin Deny from all /LocationMatch CustomLog /var/log/httpd/access_log common ErrorLog /var/log/httpd/error_log /VirtualHost VirtualHost *:443 SSLEngine on SSLCertificateFile /etc/httpd/ssl/self_signed.cert SSLCertificateKeyFile /etc/httpd/ssl/self_signed.key WSGIProcessGroup web2py WSGIScriptAlias / /opt/web-apps/web2py/wsgihandler.py Directory /opt/web-apps/web2py AllowOverride None Order Allow,Deny Deny from all Files wsgihandler.py Allow from all /Files /Directory AliasMatch ^/([^/]+)/static/(.*) /opt/web-apps/web2py/applications/$1/static/$2 Directory /opt/web-apps/web2py/applications/*/static Options -Indexes ExpiresActive On ExpiresDefault access plus 1 hour Order Allow,Deny Allow from all /Directory CustomLog /var/log/httpd/access_log common ErrorLog /var/log/httpd/error_log /VirtualHost -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Issues) --- You received this message because you are subscribed to the Google Groups web2py-users group. To unsubscribe from this group and stop receiving emails from it, send an email to web2py+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
Re: [web2py] upgrade failed for 2.8.2
El Sun, 1 Dec 2013 20:06:33 -0800 (PST) lucas sjluk...@gmail.com escribió: hey everyone, i have been trying to update to web2py 2.8.2. i am running under centos 6.3 and apache 2.2.15. i have done this sort of web2py upgrade on this same system a dozen times or so and never had a problem. i simply get the error 404 Not Found under any url like, http://localhost; or http://localhost/welcome;. they also don't work under https or port 443. any ideas would be great and appreciated. httpd.conf is left unchanged and is most probable the default. here are my other configs for apache: in /etc/httpd/conf.d/wsgi.conf: ... have you changed permissions to web2py folder?, in centos user and group should be apache, unless you have a modified setup: chown -R apache:apache web2py/ -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Issues) --- You received this message because you are subscribed to the Google Groups web2py-users group. To unsubscribe from this group and stop receiving emails from it, send an email to web2py+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.