Webdav plugin
Added by Arnaud Martel about 14 years ago
Questions & problems related to webdav plugin
Replies (90)
RE: Webdav plugin - Added by Raymond Shieh almost 14 years ago
Arnaud Martel wrote:
Hi Raymond,
OK. I misunderstood your problem.
You should change the line
There may be an error in your apache configuration:
[...]with:
- Allow from All (which means "access is allowed for a valid user OR from any host, without authentication")
- Allow from 127.0.0.1 (which means "access is allowed for a valid user OR from localhost only, without authentication")
This way, authentication informations will be used by the plugin. Let me know if it solves your problem...
Kind regards,
Arnaud
OMG! What's the extra-stupid step!? >.<
It works wonderfully with authentication after revert this line and restart web service.
Thanks a lot!!
Regards,
Raymond
RE: Webdav plugin - Added by Terence Mill over 13 years ago
I am experiencing a new link on login mask of redmine since i installed the http auth plugin.
The link is named "via HTTP-Authentifizierung" in german, in think in english in would be "via HTTP-Authentification". I only want HTTP-Authentification for /webdav subfolder but not for whole redmine. How can i disable that - i want to mimimize potential security flaws . How does redmine Authentification work compared to the HTTP-Authentification?
Is it possible to create folder strcutures of unlimited depth?
RE: Webdav plugin - Added by karim bernardet over 13 years ago
Hi
I am trying to use the Webdav plugin with LDAP authentication :
[root@projets config]# more /etc/httpd/conf.d/redmine.conf RailsBaseURI /projets <Directory /var/www/html/projets/> AllowOverride all Options Indexes -MultiViews </Directory> <Location /sys> Order deny,allow Allow from xxxxxxxxxxxxxxx Deny from all </Location> # /svn location for users PerlLoadModule Apache::Redmine PerlLoadModule Authen::Simple::LDAP PerlLoadModule Apache2::Authn::RedmineAdvanced <Location /svn> DAV svn SVNParentPath "/home/svn/" Order deny,allow Deny from all Satisfy any PerlAccessHandler Apache::Authn::Redmine::access_handler PerlAuthenHandler Apache::Authn::Redmine::authen_handler AuthType Basic AuthName "Redmine SVN Repository" #read-only access <Limit GET PROPFIND OPTIONS REPORT> Require valid-user Allow from xxxxxxxxxxxx Allow from xxxxxxxxx Allow from 127.0.0.1 # Allow from another-ip Satisfy any </Limit> # write access <LimitExcept GET PROPFIND OPTIONS REPORT> Require valid-user </LimitExcept> ## for mysql RedmineDSN "DBI:mysql:database=redmine;host=projets.dt.insu.cnrs.fr" ## for postgres # RedmineDSN "DBI:Pg:dbname=databasename;host=my.db.server" ## for SQLite3 # RedmineDSN "DBI:SQLite:dbname=database.db" RedmineDbUser "xxxxxxx" RedmineDbPass "xxxxx" </Location> <Location /webdav> AuthType Basic AuthName "- WebDAV Redmine access -" Require valid-user PerlAccessHandler Apache::Authn::RedmineAdvanced::access_handler PerlAuthenHandler Apache::Authn::RedmineAdvanced::authen_handler RedmineDSN "DBI:mysql:database=redmine;host=localhost" RedmineDbUser "xxxxxx" RedmineDbPass "xxxxxx" RedmineAuthenticationOnly "On" </Location>
When I go to
https://projets.dt.insu.cnrs.fr/webdav/
I got after the authentication
"The requested URL /webdav/ was not found on this server."
I got an error when using a webdav client on linux.
I have installed redmine_http_auth and redmine_webdav.
Thanks for any help
Cheers
Karim
RE: Webdav plugin - Added by karim bernardet over 13 years ago
Got it !
had to replace /webdav by /projets/webdav
RE: Webdav plugin - Added by Terence Mill over 13 years ago
There is a bug #8930 reported by a collegue of mine.
Via redmine documents form it is possible to enter document names which can't be handled by webdav client on windows (xp).
We already figured out how to fix and made a patch, but this must be done in redmine core to prevent unreadable files and folders via webdav.
Because webdav plugin is not part of redmine we declared the bug as feature for redmine, not allowing bad characters when entering document name.
Redmine e.g. avoids this for os compatibility (e.g umlaute) when saving files by refomating the file name before saved to hd.
RE: Webdav plugin - Added by Takashi SUGIMURA over 13 years ago
I want to use this plugin but it is not supported to the new authentication method which is introduced from Redmine 1.2.0, #7410.
This new method uses sha1(salt+sha1(plain_password)) instead of shat1(plain_password).
I would very much appreciate it if you could catch up the new version.
Thanks in advance,
Sugi
RE: Webdav plugin - Added by Arnaud Martel over 13 years ago
Takashi,
Sorry. I use now a very specific version of RedmineAdvanced.pm in my company and I forgot to update this file in the public repository... Now, it's done and you can download it from github (https://github.com/amartel/redmine_webdav).
Let me known if you still have trouble with it...
Arnaud
RE: Webdav plugin - Added by Takashi SUGIMURA over 13 years ago
Arnaud,
Thank you very much for your immediate fix.
I can confirm that my redmine 1.2.0 can accept its authentication for WebDAV.
This issue is solved now, but I am trying to configure settings for WebDAV itself. ^^;;
Takashi, SUGIMURA
RE: Webdav plugin - Added by Terence Mill over 13 years ago
First, it would be great if cou enable bug tracking in github.
I have several bugs and also bug fixes.
#1 German locale update attached- de.yml
#2 Localized Settings Menue attached- webdav_setting.rb, webdav_settings_controller.rb
webdav_setting.rb (667 Bytes) webdav_setting.rb | |||
de.yml (894 Bytes) de.yml | |||
webdav_settings_controller.rb (2.45 KB) webdav_settings_controller.rb |
RE: Webdav plugin - Added by Terence Mill over 13 years ago
Bug Report:
If neither of the webdav supported stroes is actived (documents, files, subversion) but wedav is, the webdav access fails with unknown error.
Expected behavior is that webdav only can be enabled if at least one of the stores module is active.
RE: Webdav plugin - Added by Hans Schmidt over 13 years ago
Arnaud Martel wrote:
Takashi,
Sorry. I use now a very specific version of RedmineAdvanced.pm in my company and I forgot to update this file in the public repository... Now, it's done and you can download it from github (https://github.com/amartel/redmine_webdav).
Let me known if you still have trouble with it...
Arnaud
Hello,
i get following errors:
F, [2011-08-02T12:47:50.755008 #21490] FATAL -- : ActionController::RoutingError (No route matches "/_vti_inf.html" with {:method=>:get}): passenger (2.2.14) lib/phusion_passenger/rack/request_handler.rb:92:in `process_request' passenger (2.2.14) lib/phusion_passenger/abstract_request_handler.rb:207:in `main_loop' passenger (2.2.14) lib/phusion_passenger/railz/application_spawner.rb:441:in `start_request_handler' passenger (2.2.14) lib/phusion_passenger/railz/application_spawner.rb:381:in `handle_spawn_application' passenger (2.2.14) lib/phusion_passenger/utils.rb:252:in `safe_fork' passenger (2.2.14) lib/phusion_passenger/railz/application_spawner.rb:377:in `handle_spawn_application' passenger (2.2.14) lib/phusion_passenger/abstract_server.rb:352:in `__send__' passenger (2.2.14) lib/phusion_passenger/abstract_server.rb:352:in `main_loop' passenger (2.2.14) lib/phusion_passenger/abstract_server.rb:196:in `start_synchronously' passenger (2.2.14) lib/phusion_passenger/abstract_server.rb:163:in `start' passenger (2.2.14) lib/phusion_passenger/railz/application_spawner.rb:222:in `start' passenger (2.2.14) lib/phusion_passenger/spawn_manager.rb:262:in `spawn_rails_application' passenger (2.2.14) lib/phusion_passenger/abstract_server_collection.rb:126:in `lookup_or_add' passenger (2.2.14) lib/phusion_passenger/spawn_manager.rb:256:in `spawn_rails_application' passenger (2.2.14) lib/phusion_passenger/abstract_server_collection.rb:80:in `synchronize' passenger (2.2.14) lib/phusion_passenger/abstract_server_collection.rb:79:in `synchronize' passenger (2.2.14) lib/phusion_passenger/spawn_manager.rb:255:in `spawn_rails_application' passenger (2.2.14) lib/phusion_passenger/spawn_manager.rb:154:in `spawn_application' passenger (2.2.14) lib/phusion_passenger/spawn_manager.rb:287:in `handle_spawn_application' passenger (2.2.14) lib/phusion_passenger/abstract_server.rb:352:in `__send__' passenger (2.2.14) lib/phusion_passenger/abstract_server.rb:352:in `main_loop' passenger (2.2.14) lib/phusion_passenger/abstract_server.rb:196:in `start_synchronously' F, [2011-08-02T12:47:50.847172 #21490] FATAL -- : ActionController::RoutingError (No route matches "/_vti_bin/shtml.exe/_vti_rpc" with {:method=>:post}): passenger (2.2.14) lib/phusion_passenger/rack/request_handler.rb:92:in `process_request' passenger (2.2.14) lib/phusion_passenger/abstract_request_handler.rb:207:in `main_loop' passenger (2.2.14) lib/phusion_passenger/railz/application_spawner.rb:441:in `start_request_handler' passenger (2.2.14) lib/phusion_passenger/railz/application_spawner.rb:381:in `handle_spawn_application' passenger (2.2.14) lib/phusion_passenger/utils.rb:252:in `safe_fork' passenger (2.2.14) lib/phusion_passenger/railz/application_spawner.rb:377:in `handle_spawn_application' passenger (2.2.14) lib/phusion_passenger/abstract_server.rb:352:in `__send__' passenger (2.2.14) lib/phusion_passenger/abstract_server.rb:352:in `main_loop' passenger (2.2.14) lib/phusion_passenger/abstract_server.rb:196:in `start_synchronously' passenger (2.2.14) lib/phusion_passenger/abstract_server.rb:163:in `start' passenger (2.2.14) lib/phusion_passenger/railz/application_spawner.rb:222:in `start' passenger (2.2.14) lib/phusion_passenger/spawn_manager.rb:262:in `spawn_rails_application' passenger (2.2.14) lib/phusion_passenger/abstract_server_collection.rb:126:in `lookup_or_add' passenger (2.2.14) lib/phusion_passenger/spawn_manager.rb:256:in `spawn_rails_application' passenger (2.2.14) lib/phusion_passenger/abstract_server_collection.rb:80:in `synchronize' passenger (2.2.14) lib/phusion_passenger/abstract_server_collection.rb:79:in `synchronize' passenger (2.2.14) lib/phusion_passenger/spawn_manager.rb:255:in `spawn_rails_application' passenger (2.2.14) lib/phusion_passenger/spawn_manager.rb:154:in `spawn_application' passenger (2.2.14) lib/phusion_passenger/spawn_manager.rb:287:in `handle_spawn_application' passenger (2.2.14) lib/phusion_passenger/abstract_server.rb:352:in `__send__' passenger (2.2.14) lib/phusion_passenger/abstract_server.rb:352:in `main_loop' passenger (2.2.14) lib/phusion_passenger/abstract_server.rb:196:in `start_synchronously' F, [2011-08-02T12:47:51.140350 #21490] FATAL -- : NoMethodError (undefined method `destroy' for #<Hash:0x7f91557d04b8>): passenger (2.2.14) lib/phusion_passenger/rack/request_handler.rb:92:in `process_request' passenger (2.2.14) lib/phusion_passenger/abstract_request_handler.rb:207:in `main_loop' passenger (2.2.14) lib/phusion_passenger/railz/application_spawner.rb:441:in `start_request_handler' passenger (2.2.14) lib/phusion_passenger/railz/application_spawner.rb:381:in `handle_spawn_application' passenger (2.2.14) lib/phusion_passenger/utils.rb:252:in `safe_fork' passenger (2.2.14) lib/phusion_passenger/railz/application_spawner.rb:377:in `handle_spawn_application' passenger (2.2.14) lib/phusion_passenger/abstract_server.rb:352:in `__send__' passenger (2.2.14) lib/phusion_passenger/abstract_server.rb:352:in `main_loop' passenger (2.2.14) lib/phusion_passenger/abstract_server.rb:196:in `start_synchronously' passenger (2.2.14) lib/phusion_passenger/abstract_server.rb:163:in `start' passenger (2.2.14) lib/phusion_passenger/railz/application_spawner.rb:222:in `start' passenger (2.2.14) lib/phusion_passenger/spawn_manager.rb:262:in `spawn_rails_application' passenger (2.2.14) lib/phusion_passenger/abstract_server_collection.rb:126:in `lookup_or_add' passenger (2.2.14) lib/phusion_passenger/spawn_manager.rb:256:in `spawn_rails_application' passenger (2.2.14) lib/phusion_passenger/abstract_server_collection.rb:80:in `synchronize' passenger (2.2.14) lib/phusion_passenger/abstract_server_collection.rb:79:in `synchronize' passenger (2.2.14) lib/phusion_passenger/spawn_manager.rb:255:in `spawn_rails_application' passenger (2.2.14) lib/phusion_passenger/spawn_manager.rb:154:in `spawn_application' passenger (2.2.14) lib/phusion_passenger/spawn_manager.rb:287:in `handle_spawn_application' passenger (2.2.14) lib/phusion_passenger/abstract_server.rb:352:in `__send__' passenger (2.2.14) lib/phusion_passenger/abstract_server.rb:352:in `main_loop' passenger (2.2.14) lib/phusion_passenger/abstract_server.rb:196:in `start_synchronously'
I use Redmine 1.2.1, ur git head and HTTP Authentication plugin 0.3.0-dev. My OS Debian Squeeze.
Thanks for your help
Hans Schmidt
RE: Webdav plugin - Added by Arnaud Martel over 13 years ago
Terence Hersbach: Bug tracking is now enabled and I have commited your modifications
hans van den Bosch: We need more information to understand what's wrong. At least, describe what operations/requests you are doing.
And an extract of your apache log file (access.log) with the requests which generate these errors will be also very helpful... Idem for your apache configuration file (for the webdav location).
Kind regards,
Arnaud
RE: Webdav plugin - Added by Hans Schmidt over 13 years ago
I use WinXp SP3:
- Open My Network Places.
- Double-click Add Network Place.
- Click Next twice, then type https://myserver/webdav
- Click Next
- enter your credentials (login/password)
- Click Finish
Apache error.log (clean)
[Wed Aug 03 14:31:02 2011] [notice] Apache/2.2.16 (Debian) DAV/2 SVN/1.6.12 mod_jk/1.2.30 mod_ssl/2.2.16 OpenSSL/0.9.8o Phusion_Passenger/2.2.14 mod_perl/2.0.4 Perl/v5.10.1 configured -- resuming normal operations
VHost error.log (clean)
VHost access.log
000.000.000.111 - - [03/Aug/2011:14:31:42 +0200] "OPTIONS / HTTP/1.1" 302 1760 "-" "Microsoft Data Access Internet Publishing Provider Cache Manager" 000.000.000.111 - - [03/Aug/2011:14:32:04 +0200] "GET /_vti_inf.html HTTP/1.1" 404 824 "-" "Mozilla/2.0 (compatible; MS FrontPage 4.0)" 000.000.000.111 - - [03/Aug/2011:14:32:04 +0200] "POST /_vti_bin/shtml.exe/_vti_rpc HTTP/1.1" 404 1015 "-" "MSFrontPage/4.0" PC1.domain.de - - [03/Aug/2011:14:32:04 +0200] "OPTIONS /webdav HTTP/1.1" 401 844 "-" "Microsoft Data Access Internet Publishing Provider DAV 1.1" PC1.domain.de - - [03/Aug/2011:14:32:09 +0200] "OPTIONS /webdav HTTP/1.1" 401 844 "-" "Microsoft Data Access Internet Publishing Provider DAV 1.1" PC1.domain.de - user_login [03/Aug/2011:14:32:09 +0200] "OPTIONS /webdav HTTP/1.1" 500 1305 "-" "Microsoft Data Access Internet Publishing Provider DAV 1.1" 000.000.000.111 - - [03/Aug/2011:14:32:10 +0200] "OPTIONS / HTTP/1.1" 302 972 "-" "Microsoft Data Access Internet Publishing Provider DAV 1.1"
redmine_production.log see my post
VHost.conf
... SSL CONFIG... DocumentRoot /redmine/public <Directory /redmine/public> AllowOverride None Options Indexes ExecCGI FollowSymLinks Order allow,deny Allow from all </Directory> ## protect the redmine-Webservice <Location /sys> Order deny,allow Deny from all Allow from 127.0.0.1 Allow from localhost </Location> PerlLoadModule Apache::Redmine PerlLoadModule Authen::Simple::LDAP ... SVN CONFIG ... PerlLoadModule Apache::RedmineAdvanced <Location /webdav> AuthType Basic AuthName "- WebDAV Redmine access -" Require valid-user PerlAccessHandler Apache::Authn::RedmineAdvanced::access_handler PerlAuthenHandler Apache::Authn::RedmineAdvanced::authen_handler RedmineDSN "DBI:mysql:database=redmine;host=localhost;port=3306" RedmineDbUser "redmine" RedmineDbPass "***" RedmineAuthenticationOnly "On" Order allow,deny Allow from 127.0.0.1 Allow from localhost Satisfy Any </Location> ... LOG CONFIG / END ...
Thanks
Hans Schmidt
RE: Webdav plugin - Added by Arnaud Martel over 13 years ago
Hans,
Well, your configuration seems to be OK. I don't use redmine 1.2.1 but it should work...
From my point of view, the 2 first errors (about /_vti_inf.html and /_vti_bin/shtml.exe/_vti_rpc) have nothing to do with the plugin (according your configuration, the plugin will process only requests starting with /webdav).
Error number 3 is another story... Are you sure that webdav plugin is correctly installed (ie: do you see it in the plugins list, from administration). Do you have enabled and configured the webdav module in at least one project??
RE: Webdav plugin - Added by Takashi SUGIMURA over 13 years ago
Hi Arnaud,
I have just another information for you.
The "Error number 3" also occurs in my redmine as follows:
Processing WebdavController#webdav (for xx.xx.xx.xx at 2011-08-02 06:52:43) [OP TIONS] Parameters: {"action"=>"webdav", "id"=>"xxxxxxxx", "controller"=>"webdav", "pa th_info"=>["files"]} NoMethodError (undefined method `destroy' for #<Hash:0xc6c2698>): passenger (3.0.7) lib/phusion_passenger/rack/request_handler.rb:96:in `process _request' passenger (3.0.7) lib/phusion_passenger/abstract_request_handler.rb:513:in `ac cept_and_process_next_request' passenger (3.0.7) lib/phusion_passenger/abstract_request_handler.rb:274:in `ma in_loop' passenger (3.0.7) lib/phusion_passenger/classic_rails/application_spawner.rb:3 21:in `start_request_handler' passenger (3.0.7) lib/phusion_passenger/classic_rails/application_spawner.rb:2 75:in `send' passenger (3.0.7) lib/phusion_passenger/classic_rails/application_spawner.rb:2 75:in `handle_spawn_application' passenger (3.0.7) lib/phusion_passenger/utils.rb:479:in `safe_fork' passenger (3.0.7) lib/phusion_passenger/classic_rails/application_spawner.rb:2 70:in `handle_spawn_application' passenger (3.0.7) lib/phusion_passenger/abstract_server.rb:357:in `__send__' passenger (3.0.7) lib/phusion_passenger/abstract_server.rb:357:in `server_main _loop' passenger (3.0.7) lib/phusion_passenger/abstract_server.rb:206:in `start_synch ronously' passenger (3.0.7) lib/phusion_passenger/abstract_server.rb:180:in `start' passenger (3.0.7) lib/phusion_passenger/classic_rails/application_spawner.rb:1 49:in `start' passenger (3.0.7) lib/phusion_passenger/classic_rails/framework_spawner.rb:268 :in `handle_spawn_application' passenger (3.0.7) lib/phusion_passenger/abstract_server_collection.rb:132:in ` lookup_or_add' passenger (3.0.7) lib/phusion_passenger/classic_rails/framework_spawner.rb:263 :in `handle_spawn_application' passenger (3.0.7) lib/phusion_passenger/abstract_server_collection.rb:82:in `s ynchronize' passenger (3.0.7) lib/phusion_passenger/abstract_server_collection.rb:79:in `s ynchronize' passenger (3.0.7) lib/phusion_passenger/classic_rails/framework_spawner.rb:261 :in `handle_spawn_application' passenger (3.0.7) lib/phusion_passenger/abstract_server.rb:357:in `__send__' passenger (3.0.7) lib/phusion_passenger/abstract_server.rb:357:in `server_main _loop' passenger (3.0.7) lib/phusion_passenger/abstract_server.rb:206:in `start_synch ronously' passenger (3.0.7) lib/phusion_passenger/abstract_server.rb:180:in `start' passenger (3.0.7) lib/phusion_passenger/classic_rails/framework_spawner.rb:93: in `start' passenger (3.0.7) lib/phusion_passenger/spawn_manager.rb:219:in `spawn_rails_a pplication' passenger (3.0.7) lib/phusion_passenger/abstract_server_collection.rb:132:in ` lookup_or_add' passenger (3.0.7) lib/phusion_passenger/spawn_manager.rb:214:in `spawn_rails_a pplication' passenger (3.0.7) lib/phusion_passenger/abstract_server_collection.rb:82:in `s ynchronize' passenger (3.0.7) lib/phusion_passenger/abstract_server_collection.rb:79:in `s ynchronize' passenger (3.0.7) lib/phusion_passenger/spawn_manager.rb:213:in `spawn_rails_a pplication' passenger (3.0.7) lib/phusion_passenger/spawn_manager.rb:132:in `spawn_applica tion' passenger (3.0.7) lib/phusion_passenger/spawn_manager.rb:275:in `handle_spawn_ application' passenger (3.0.7) lib/phusion_passenger/abstract_server.rb:357:in `__send__' passenger (3.0.7) lib/phusion_passenger/abstract_server.rb:357:in `server_main _loop' passenger (3.0.7) lib/phusion_passenger/abstract_server.rb:206:in `start_synch ronously' passenger (3.0.7) helper-scripts/passenger-spawn-server:99
I have confirmed that your plugin is installed properly.
Regards,
Sugi
webdavplugin.png (40 KB) webdavplugin.png |
RE: Webdav plugin - Added by Arnaud Martel over 13 years ago
OK. So it seems to be related to 1.2.0
I will try to upgrade my server then find what's wrong...
RE: Webdav plugin - Added by Arnaud Martel over 13 years ago
Sugi, Hans,
I upgraded my server to the latest release of redmine (r6402, from trunk) and passenger (3.0.8). I made some tests using webdav plugin from Windows 7 & macosX and everything is working good (files, documents, repositories).
Please, could you give me the steps to follow in order to reproduce it???
Kind regards,
Arnaud
RE: Webdav plugin - Added by Takashi SUGIMURA over 13 years ago
Arnaud,
I also upgraded passenger from 3.0.7 to 3.0.8 which is same as yours, but the problem still occurs.
My post is judged as a spammer, so I cannot describe the report for detail..
I am sorry that I can not utilize your great work.
If you want to need more information, please let me know.
Regards,
Sugi
RE: Webdav plugin - Added by Terence Mill over 13 years ago
We upgraded to redmine 1.2.1 and webdav 0.2.2, and webdav no longer works. We get an error when trying to browser /webdav from xp explorer:
I found this in our logs:
F, [2011-08-05T09:05:35.987450 #4472] FATAL -- :
NoMethodError (undefined method `destroy' for {}:Hash):
vendor/plugins/redmine_webdav/app/controllers/webdav_controller.rb:18:in `find_user'
passenger (3.0.2) lib/phusion_passenger/rack/request_handler.rb:96:in `process_request'
passenger (3.0.2) lib/phusion_passenger/abstract_request_handler.rb:513:in `accept_and_process_next_request'
passenger (3.0.2) lib/phusion_passenger/abstract_request_handler.rb:274:in `main_loop'
passenger (3.0.2) lib/phusion_passenger/classic_rails/application_spawner.rb:321:in `start_request_handler'
passenger (3.0.2) lib/phusion_passenger/classic_rails/application_spawner.rb:275:in `send'
passenger (3.0.2) lib/phusion_passenger/classic_rails/application_spawner.rb:275:in `handle_spawn_application'
passenger (3.0.2) lib/phusion_passenger/utils.rb:479:in `safe_fork'
passenger (3.0.2) lib/phusion_passenger/classic_rails/application_spawner.rb:270:in `handle_spawn_application'
passenger (3.0.2) lib/phusion_passenger/abstract_server.rb:357:in `__send__'
passenger (3.0.2) lib/phusion_passenger/abstract_server.rb:357:in `server_main_loop'
passenger (3.0.2) lib/phusion_passenger/abstract_server.rb:206:in `start_synchronously'
passenger (3.0.2) lib/phusion_passenger/abstract_server.rb:180:in `start'
passenger (3.0.2) lib/phusion_passenger/classic_rails/application_spawner.rb:149:in `start'
passenger (3.0.2) lib/phusion_passenger/spawn_manager.rb:219:in `spawn_rails_application'
passenger (3.0.2) lib/phusion_passenger/abstract_server_collection.rb:132:in `lookup_or_add'
passenger (3.0.2) lib/phusion_passenger/spawn_manager.rb:214:in `spawn_rails_application'
passenger (3.0.2) lib/phusion_passenger/abstract_server_collection.rb:82:in `synchronize'
passenger (3.0.2) lib/phusion_passenger/abstract_server_collection.rb:79:in `synchronize'
passenger (3.0.2) lib/phusion_passenger/spawn_manager.rb:213:in `spawn_rails_application'
passenger (3.0.2) lib/phusion_passenger/spawn_manager.rb:132:in `spawn_application'
passenger (3.0.2) lib/phusion_passenger/spawn_manager.rb:275:in `handle_spawn_application'
passenger (3.0.2) lib/phusion_passenger/abstract_server.rb:357:in `__send__'
passenger (3.0.2) lib/phusion_passenger/abstract_server.rb:357:in `server_main_loop'
passenger (3.0.2) lib/phusion_passenger/abstract_server.rb:206:in `start_synchronously'
passenger (3.0.2) helper-scripts/passenger-spawn-server:99
RE: Webdav plugin - Added by Terence Mill over 13 years ago
Hi Arnaud,
there must be something very different in your setup differing to the setup in our and Sugi's installation, because sugi and us , we have the same error
Suggi
NoMethodError (undefined method `destroy' for #<Hash:0xc6ac6e0>): passenger (3.0.8) lib/phusion_passenger/rack/request_handler.rb:96:in `process_request' passenger (3.0.8) lib/phusion_passenger/abstract_request_handler.rb:513:in `accept_and_process_next_request' passenger (3.0.8) lib/phusion_passenger/abstract_request_handler.rb:274:in `main_loop' passenger (3.0.8) lib/phusion_passenger/classic_rails/application_spawner.rb:321:in `start_request_handler' passenger (3.0.8) lib/phusion_passenger/classic_rails/application_spawner.rb:275:in `send' passenger (3.0.8) lib/phusion_passenger/classic_rails/application_spawner.rb:275:in `handle_spawn_application' ...
our's
F, [2011-08-05T09:05:35.987450 #4472] FATAL -- : NoMethodError (undefined method `destroy' for {}:Hash): vendor/plugins/redmine_webdav/app/controllers/webdav_controller.rb:18:in `find_user' passenger (3.0.2) lib/phusion_passenger/rack/request_handler.rb:96:in `process_request' passenger (3.0.2) lib/phusion_passenger/abstract_request_handler.rb:513:in `accept_and_process_next_request' passenger (3.0.2) lib/phusion_passenger/abstract_request_handler.rb:274:in `main_loop' passenger (3.0.2) lib/phusion_passenger/classic_rails/application_spawner.rb:321:in `start_request_handler' ....
We can succesfully authenticate on webdav via windows XP explorer (e.g with wrong password we also get acess denied), but then a error dialog appears saying ("translated") "The documents in this folder are not available. Eventually the folder has been moved or deleted, or the connection to the server can not be established in case of networks problems."
Please help us, cause we have already run this plugin on produdtion and now the feature is not working any more for many users.
Tx a lot for your help
RE: Webdav plugin - Added by Arnaud Martel over 13 years ago
Terence,
I'm really sorry but, as I can't reproduce the situation on my server (upgraded from trunk with several patches to satisfy my needs), it's very difficult for me to help you. I looked into the code but there are a lot of modifications between 1.1.3 and 1.2.1. Right now, I didn't find what is the reason of the error and I don't even know where to search...
According to the issue you posted on github, I understand that problems occured after upgrading from 1.2.0 to 1.2.1. Is it true?? (In this case, I could make a diff between 1.2.0 and 1.2.1 ...).
Kind regards,
Arnaud
RE: Webdav plugin - Added by Takashi SUGIMURA over 13 years ago
Arnaud,
Hmm..
As you mentioned above, I prepared the r6402 from svn trunk, but the problem duplicated.
I am not familiar with development of the Rails Plugin, can I set its debug mode?
In Japan we will have to save electricity so that it will be holidays until August 21th.
After holidays I will catch up..
Regards,
Sugi
GOT IT !!! - Added by Arnaud Martel over 13 years ago
Good news!!! Error is, in fact, caused by redmine_http_auth plugin...
I don't have any trouble on my server because I use my own version of this plugin (I removed everything except the authentication part...).
As a workaround, you can use my version (cf attached file). Let me know if it works for you too...
redmine_http_auth.tgz (3.05 KB) redmine_http_auth.tgz |
RE: GOT IT !!! - Added by Terence Mill over 13 years ago
Works! Can u commit that to ur webdav or a new github repo!
Tx for supporting!
Arnaud Martel wrote:
Good news!!! Error is, in fact, caused by redmine_http_auth plugin...
I don't have any trouble on my server because I use my own version of this plugin (I removed everything except the authentication part...).
As a workaround, you can use my version (cf attached file). Let me know if it works for you too...