This forum is no longer active. Please post your questions to our new community site

Recent Posts by Amsterdamned

Subscribe to Recent Posts by Amsterdamned 11 post(s) found

18 Jun, 2009 06:41 AM
Avatar Amsterdamned 11 post(s)

Topic: Redmine / SVN integration in redmine

Are there any plans afoot to integrate the subversion repository creation into future Redmine Stacks? With my limited skills this would be a major help and would provide an easy admin subversion server.

 
18 Jun, 2009 06:34 AM
Avatar Amsterdamned 11 post(s)

Topic: Redmine / domain name and site directory

Perfect, thats done the trick quite nicely!!!

 
17 Jun, 2009 01:07 AM
Avatar Amsterdamned 11 post(s)

Topic: Redmine / domain name and site directory

I don’t get that error. I have fixed up the code and removed the space from the http:// and also cleared the spaces from ServerAdmin and ServerName fields.

 
<VirtualHost *:8080>
  ServerAdmin <a href="mailto:myname@spinifexgroup.com.au">myname@spinifexgroup.com.au</a>
  ServerName test.spinifexint.com.au
  ServerAlias example.com
  ErrorLog "logs/rubystack_apache_error_log" 
  CustomLog "logs/rubystack_apache_access_log" combined
 # this not only blocks access to .svn directories, but makes it                
 # appear as though they aren't even there, not just that they are              
 # forbidden                                                                    
 <DirectoryMatch "^/.*/\.svn/">
    ErrorDocument 403 /404.html
    Order allow,deny
    Deny from all
    Satisfy All
  </DirectoryMatch>
  # This passes through remote_user to mongrel                                  
  RewriteEngine On
  # Redirect non-static requests to cluster                                     
  RewriteCond %{DOCUMENT_ROOT}/%{REQUEST_FILENAME} !-f
  RewriteRule ^/(.*)$ balancer://rubystackcluster%{REQUEST_URI} [P,QSA,L]
</VirtualHost>

<Proxy balancer://rubystackcluster>
  BalancerMember <a href="http://127.0.0.1:3001">http://127.0.0.1:3001</a>
  BalancerMember <a href="http://127.0.0.1:3002">http://127.0.0.1:3002</a>
</Proxy>

And I have also modified the mongrel_cluster.yml to remove “prefix=/redmine” from <installdir>/apps/redmine/config/mongrel_cluster.yml.

I then restarted with ctlscript.sh restart but the problem is the same:

http://test.spinifexint.com.au:8080 gets me to the redmine/bitnami welcome screen
clicking on the redmine ruby icon tries to redirect to http://test.spinifexint.com.au:8080/redmine which then gives me a redmine page not found error.

 
16 Jun, 2009 04:52 AM
Avatar Amsterdamned 11 post(s)

Topic: Redmine / domain name and site directory

Cheers for the tag help!

I still can’t get the redmine site to show up under http://test.spinifexint.com.au:8080 instead of http://test.spinifexint.com.au:8080/redmine

I have gone into /apps/redmine/config/mongrel_cluster.yml. and removed the line with prefix=/redmine and then saved and restarted redmine.

But now when I go to http://test.spinifexint.com.au:8080 I still get the welcome screen but now if I click on the ruby icon it just gives me a page not found error so how do I get to the redmine homepage?

Or do I have to do something to make it load the main redmine site at http://test.spinifexint.com.au:8080 without displaying the welcome page?

cheers.

 
11 Jun, 2009 06:27 AM
Avatar Amsterdamned 11 post(s)

Topic: Redmine / domain name and site directory

hmm didn’t work at all.

Edit: tried to post my redmine.conf file but couldn’t get it to display correctly on these forums! Whats the secret?

I then restarted the server but when I go http://test.spinifexint.com.au:8080/ I get the usual Access page which still tries to redirect me to http://test.spinifexint.com.au:8080/redmine which then gives me a page not found error. From the terminal transcript below I can see some balancer errors.

test:redmine-0.8.4-0 spinifex$ ./ctlscript.sh restart
/Applications/redmine-0.8.4-0/subversion/scripts/ctl.sh : subversion stopped
Syntax error on line 24 of /Applications/redmine-0.8.4-0/apps/redmine/conf/redmine.conf:
BalancerMember can not have a balancer name when defined in a location
apache config test fails, aborting
stopping port 3001
stopping port 3002
STOPPING server from pid file /Applications/redmine-0.8.4-0/mysql/data/test.spinifexint.com.au.pid
090611 16:37:19 mysqld ended

/Applications/redmine-0.8.4-0/mysql/scripts/ctl.sh : mysql stopped
chown: /Applications/redmine-0.8.4-0/mysql/data/mysqld.log: Operation not permitted
Starting mysqld.bin daemon with databases from /Applications/redmine-0.8.4-0/mysql/data
/Applications/redmine-0.8.4-0/mysql/scripts/ctl.sh : mysql started at port 3306
starting port 3001
starting port 3002
Syntax error on line 24 of /Applications/redmine-0.8.4-0/apps/redmine/conf/redmine.conf:
BalancerMember can not have a balancer name when defined in a location
apache config test fails, aborting
/Applications/redmine-0.8.4-0/subversion/scripts/ctl.sh : subversion started at port 3690
test:redmine-0.8.4-0 spinifex$

Is there something else I need to do to get redmine at http://test.spinifexint.com.au:8080 without the /redmine?

 
08 May, 2009 02:06 AM
Avatar Amsterdamned 11 post(s)

Topic: Redmine / domain name and site directory

Hi we have Bitnami redmine working on a url http://sub.domain.com:8080/redmine

I need to make the URL http://sub.domain.com:8080 without the /redmine

Can someone talk me through how to do that?

 
27 Apr, 2009 03:55 AM
Avatar Amsterdamned 11 post(s)

Topic: Redmine / Plugin installation

Thanks Beltran, have just done a full clean install of the OS and 0.8.3 Stack but it hasn’t solved the problem at all. Still lots of permission denied errors.

Will try again I guess when he releases version Schedule 0.4

 
24 Apr, 2009 01:38 AM
Avatar Amsterdamned 11 post(s)

Topic: Redmine / Plugin installation

Thanks, I’ve got the tabs displaying correctly but still lots of internal errors. Only suggestion I’ve had so far is to update to the latest build of redmine 0.8.3. Think I’ll try again when the Bitnami stack gets updated.

 
21 Apr, 2009 01:26 AM
Avatar Amsterdamned 11 post(s)

Topic: Redmine / Plugin installation

Oops looks like I spoke to soon. I have created an additional Admin user but now I’m back to square one with the label_schedules_my button on the home page once again throwing up a 403 error for my new admin user and a redmine 500 error (Internal Error) for my original Admin user.

When I open my test project and click on labels_schedule_index I get a 500 Internal Redmine error regardless of which user I am logged in as despite both users set up as managers for this project.

 
20 Apr, 2009 11:56 PM
Avatar Amsterdamned 11 post(s)

Topic: Redmine / Plugin installation

Thanks for the reply. Ok some progress here. I have added myself as administrator which now allows me to click on label_schedules_my at the top navigation without the 403 error. I then went to Administration and Permissions Report and added the 3 Schedule options to the Administrator role. Now all the schedule buttons seem to work correctly even if they don’t seem to display correctly.

So my last question now is how do I make the the buttons themselves more user friendly. If you look at the picture here: http://www.spinifexgroup.com/temp/mp/schedule2.jpg

The toolbar still contains label_schedules_my and the project now contains label_schedules_index as a clickable button. To the right you can see button_schedules_edit and all the way to the right you see label_schedules_users. I’m glad they actually work but they will be a bit confusing for my users. Any idea on how to fix this up?

Thanks again.

 
20 Apr, 2009 12:12 AM
Avatar Amsterdamned 11 post(s)

Topic: Redmine / Plugin installation

I’ve got a problem getting the Schedule plugin to install correctly. It seems to be installed and I can see it in the administration section, but instead of appearing correctly as a tab as per the author’s site:
http://www.redmine.org/attachments/1583/project-view.png

It appears on my site in the toolbar as label_schedules_my and in the project view I have a tab called label_schedules_index. So not as a proper tab or button. Here is a jpg of what it looks like:
http://www.spinifexgroup.com/temp/mp/schedule.jpg

Clicking on either of these two gives me a ‘403 You are not authorized to access this page’ in Redmine.

I’ve installed Redmine 0.8.2 on OS X 10.5.6 and that all went well, was able to sign in and create a new project.

I then downloaded Schedule 0.3.2 and unzipped the folder into my Applications/Redmine-0.8.2-0/apps/redmine/vendor/plugins directory.

I then fired up the terminal and did the following:

ruby:~ admin$ cd /Applications/redmine*
ruby:redmine-0.8.2-0 admin$ ls
README.txt changelog.txt gems mysql subversion
apache2 common img ruby uninstall.app
apps ctlscript.sh licenses scripts use_redmine
ruby:redmine-0.8.2-0 admin$ ./use_redmine
bash-3.2$ cd apps
bash-3.2$ ls
redmine
bash-3.2$ cd redmine
bash-3.2$ ls
Rakefile db lang script vendor
app doc lib scripts
conf extra log test
config files public tmp
bash-3.2$ rake db:migrate_plugins RAILS_ENV=production

Which went ok and gave me this:

(in /Applications/redmine-0.8.2-0/apps/redmine)
Migrating engines…
Migrating actionwebservice…
Migrating acts_as_activity_provider…
Migrating acts_as_attachable…
Migrating acts_as_customizable…
Migrating acts_as_event…
Migrating acts_as_list…
Migrating acts_as_searchable…
Migrating acts_as_tree…
Migrating acts_as_versioned…
Migrating acts_as_watchable…
Migrating classic_pagination…
Migrating coderay-0.7.6.227…
Migrating gloc-1.1.0…
Migrating gravatar…
Migrating redmine_schedules…
1 CreateScheduleEntry: migrating =========================================
- create_table(:schedule_entries)
> 0.0049s
- add_index(“schedule_entries”, [“project_id”], {:name=>”schedule_entries_project_id”})
> 0.0088s
- add_index(“schedule_entries”, [“user_id”], {:name=>”schedule_entries_user_id”})
> 0.0081s
- add_index(“schedule_entries”, [“date”], {:name=>”schedule_entries_date”})
> 0.0091s
1 CreateScheduleEntry: migrated (0.0332s) ================================ 2 CreateAvailabilityEntry: migrating =====================================
- create_table(:availability_entries)
> 0.0047s
- add_index(“availability_entries”, [“user_id”], {:name=>”availability_entries_user_id”})
> 0.0134s
- add_index(“availability_entries”, [“date”], {:name=>”availability_entries_date”})
> 0.0106s
2 CreateAvailabilityEntry: migrated (0.0301s) ============================ 3 CreateScheduleDefault: migrating =======================================
- create_table(:schedule_defaults)
> 0.0042s
- add_index(“schedule_defaults”, [“user_id”], {:name=>”schedule_defaults_user_id”})
> 0.0080s
- create_table(:schedule_closed_entries)
> 0.0120s
- add_index(“schedule_closed_entries”, [“user_id”], {:name=>”schedule_closed_entries_user_id”})
> 0.0094s
- add_index(“schedule_closed_entries”, [“date”], {:name=>”schedule_closed_entries_date”})
> 0.0105s
- drop_table(:availability_entries)
> 0.0030s
3 CreateScheduleDefault: migrated (0.0517s) ==============================
Migrating rfpdf…
Migrating ruby-net-ldap-0.0.4…

I then went back up a few levels and did a restart:
bash-3.2$ ls
README.txt changelog.txt gems mysql subversion
apache2 common img ruby uninstall.app
apps ctlscript.sh licenses scripts use_redmine
bash-3.2$ ./ctlscript.sh restart
/Applications/redmine-0.8.2-0/subversion/scripts/ctl.sh : subversion stopped
Syntax OK
/Applications/redmine-0.8.2-0/apache2/scripts/ctl.sh : httpd stopped
stopping port 3001
stopping port 3002
/Applications/redmine-0.8.2-0/mysql/scripts/ctl.sh : mysql could not be stopped
chown: /Applications/redmine-0.8.2-0/mysql/data/mysqld.log: Operation not permitted
Starting mysqld.bin daemon with databases from /Applications/redmine-0.8.2-0/mysql/data
/Applications/redmine-0.8.2-0/mysql/scripts/ctl.sh : mysql started at port 3306
starting port 3001
starting port 3002
Syntax OK
/Applications/redmine-0.8.2-0/apache2/scripts/ctl.sh : httpd started at port 8080
/Applications/redmine-0.8.2-0/subversion/scripts/ctl.sh : subversion started at port 3690

Is there something I have missed in installing this plugin correctly for Redmine.

I read these two forum posts and don’t know what else to try:
http://bitnami.org/forums/forums/19/topics/927
http://bitnami.org/forums/forums/19/topics/848

Can anyone point me in the right direction.

Cheers.