can't get repository to work on OS X
Added by Andrew Rhoades over 14 years ago
I'm new to Redmine, and have installed it on my OS X machines using the Bitnami installer version 0.9.3-0. Installation seemed to be successful, and I set up a simple project from the web after logging in with the user I created with the installer.
The problem is that I can’t seem to get my project hooked up to an svn repository (the only kind I’m handy with). I’ve tried connecting to various local svn repositories I have using file:///something, http://server/something, and even svn://localhost/something using the svnserv that Bitnami sets up. From the command line, all of these succeed if I do “svn info URL”. But if I click on the repository tab of my redmine page to try to browse them, I get the same error every time:
"The entry or revision was not found in the repository."
The entry in redmine/log/production.log is like this:
Processing RepositoriesController#show (for ::1 at 2010-03-25 23:57:55) [GET] Parameters: {"action"=>"show", "id"=>"tester", "controller"=>"repositories"} Rendering template within layouts/base Completed in 808ms (View: 16, DB: 3) | 500 Internal Server Error [http://localhost/redmine/projects/tester/repository]
The entry in redmine/log/mongrel.3001.log is like this:
/Applications/redmine-0.9.3-0/apps/redmine/lib/redmine/scm/adapters/abstract_adapter.rb:191: [BUG] Segmentation fault ruby 1.8.7 (2009-12-24 patchlevel 248) [i686-darwin8.10.2], MBARI 0x8770, Ruby Enterprise Edition 2010.01
I get the same error for each kind of URL (file:///, http://, or svn://). I looked at abstract_adapter.rb in the redmine repository and the line that’s crashing hasn’t changed in a long time. I don’t know Ruby so I’m not sure what’s going on with it, but I suspect perhaps it’s a symptom of some other error.
I have the same behavior on two different Macs, one running OS X 10.5.8 and the other 10.6.2.
If anyone has any ideas, or has gotten this to work on their OS X machine, I’d welcome the info.
Thanks -
Andrew
(I also posted this question in the Bitnami forum: http://bitnami.org/forums/forums/redmine/topics/can-t-get-repository-to-work-on-os-x)
Replies (4)
RE: can't get repository to work on OS X
-
Added by Andrew Rhoades over 14 years ago
The Bitnami installation is self-contained, but I still should have included this information:
$ ./use_redmine bash-3.2$ cd apps/redmine/ bash-3.2$ RAILS_ENV=production script/about About your application's environment Ruby version 1.8.7 (i686-darwin8.10.2) RubyGems version 1.3.5 Rack version 1.0 Rails version 2.3.5 Active Record version 2.3.5 Active Resource version 2.3.5 Action Mailer version 2.3.5 Active Support version 2.3.5 Edge Rails revision unknown Application root /Applications/redmine-0.9.3-0/apps/redmine Environment production Database adapter mysql Database schema version 20100221100219
RE: can't get repository to work on OS X
-
Added by Daniel de Byl over 14 years ago
I also have a similar issue, have you managed to resolve this as I have not?
There are many different posts about similar problems as it is very general error message, non of the solutions have worked for me. I have had it working once before with an older version of Redmine (can't remember which) but no matter how I install it now it fails to read an SVN repository.
I have tried changing the SVN location, used different SVN versions, setting SVN to always save passwords and certificates without any luck. If anyone has some other ideas it would be appreciated.
Cheers,
Daniel.
RE: can't get repository to work on OS X
-
Added by Andrew Rhoades over 14 years ago
No, it's not solved for me, though the Bitnami folks think the problem is a bug in Ruby Enterprise Edition that is included in their stack. I tried to switch back to regular Ruby (which is what came with Snow Leopard anyway) but couldn't get the details right trying to get it to work with their stack, so now I'm waiting for the next version of their stack. (The link to the Bitnami forum post with more info is in my original post here.)
I also tried installing redmine directly and ran into several other problems before giving up on it for now. In my opinion the installation process needs some work, at least for OS X. Many times the instructions I was following would state something simple but offer no help for what to do if the step didn't work (e.g. databases, where I gave up on sqlite3 that Snow Leopard includes because there was no documentation from redmine on how to use it, and installed mysql instead, but then ran into configuration problems).
I'd hoped to compare redmine to trac, but at this rate I may just stick with trac. (Note that the Bitnami stack for trac also has a problem on OS X and some other distros, but that one is fixable with a script edit.)
-Andrew
RE: can't get repository to work on OS X
-
Added by Andrew Rhoades over 14 years ago
Bitnami released a new version of thire redmine stack, 0.9.4-0, which resolves this problem -- finally I've been able to play with redmine!
-Andrew