Bug #10294
No delay_jobs script in Ubuntu LTS 10.04 package
| Status: | Closed | Start date: | 10/26/2011 | |
|---|---|---|---|---|
| Priority: | Normal | Due date: | ||
| Assignee: | - | % Done: | 0% |
|
| Category: | - | |||
| Target version: | - | |||
| Keywords: | Affected URL: | |||
| Branch: | Affected Dashboard version: | |||
| Votes: | 0 |
Description
Hi,
After a fresh installation following the official documentation I’m trying to start the /etc/init.d/puppet-dashboard-works doesn’t work. It shows the next message:
admjoresp@sct-dashboard-01:/$ sudo /etc/init.d/puppet-dashboard-workers start * Starting Puppet Dashboard Workers /bin/bash: line 4: /usr/share/puppet-dashboard/script/delayed_job: No such file or directory * puppet-dashboard-workers is not running.
Actually, you can check easily that the required script (/usr/share/puppet-dashboard/script/delayed_job) is not there:
admjoresp@sct-dashboard-01:/$ ll /usr/share/puppet-dashboard/script/ total 56 drwxr-xr-x 3 www-data www-data 4096 2011-10-26 10:10 . drwxr-xr-x 14 www-data www-data 4096 2011-10-25 07:20 .. -rwxr-xr-x 1 www-data www-data 152 2011-04-07 23:30 about -rwxr-xr-x 1 www-data www-data 369 2011-04-07 23:30 autospec -rwxr-xr-x 1 www-data www-data 98 2011-04-07 23:30 console -rwxr-xr-x 1 www-data www-data 100 2011-04-07 23:30 dbconsole -rwxr-xr-x 1 www-data www-data 98 2011-04-07 23:30 destroy -rwxr-xr-x 1 www-data www-data 99 2011-04-07 23:30 generate drwxr-xr-x 2 www-data www-data 4096 2011-10-24 15:29 performance -rwxr-xr-x 1 www-data www-data 97 2011-04-07 23:30 plugin -rwxr-xr-x 1 www-data www-data 97 2011-04-07 23:30 runner -rwxr-xr-x 1 www-data www-data 97 2011-04-07 23:30 server -rwxr-xr-x 1 www-data www-data 420 2011-04-07 23:30 spec -rwxr-xr-x 1 www-data www-data 292 2011-04-07 23:30 spec_server
Moreover, if I get the latest delayed_jobs script from GIT repo (https://github.com/puppetlabs/puppet-dashboard/blob/master/script/delayed_job) and I copy it in the correct place, another error appears:
admjoresp@sct-dashboard-01:/$ sudo /etc/init.d/puppet-dashboard-workers start * Starting Puppet Dashboard Workers /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require': no such file to load — delayed/command (MissingSourceFile)
from /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:31:in `require'
from /usr/share/puppet-dashboard/vendor/rails/activesupport/lib/active_support/dependencies.rb:158:in `require'
from /usr/share/puppet-dashboard/script/delayed_job:4
- puppet-dashboard-workers is not running.
So, at the end, I cannot proceed with some pending tasks.
History
Updated by Jordi Espasa 7 months ago
Well… my fault…. I was in a machine with a previous version (1.1.0) All is working as expected in the 1.2.2rc2
Close that one and sorry for the noise.
Updated by James Turnbull 7 months ago
- Status changed from Unreviewed to Closed
Updated by Daniel Pittman about 1 month ago
- Target version deleted (
173)