-
Notifications
You must be signed in to change notification settings - Fork 25
Not able to install #32
Comments
issue #32 , tomcat cookbook have been re-forked by github maoo account; bixed cookbook pointer into Berksfile
Thanks for filing the issue; could you please remove Berksfile.lock and try again? Thanks |
Thank you maoo, |
I managed to reproduce your issue and fixed it by parametrising the following line https://github.com/maoo/tomcat/blob/master/recipes/users.rb#L31 It looks like also original cookbook, on master presents this issue, I'll make sure to submit the fix to the community cookbook |
I get another error, find below ==> default: [2015-03-25T18:30:22+00:00] INFO: Processing artifact *==> default: * ==> default: ==> default: Error executing action ==> default:==> default: ==> default: ==> default: Mixlib::ShellOut::ShellCommandFailed ==> default: ------------------------------------ ==> default: Expected process to exit with [0], but received '1' *==> default: *---- Begin output of mvn ==> default: ==> default: STDOUT: [INFO] Scanning for projects... *==> default: *[INFO] ==> default: ==> default: [INFO] *==> default: * ==> default: [INFO] Building Maven Stub Project (No POM) 1 *==> default: * ==> default: [INFO] *==> default: * *==> default: [INFO] * *==> default: *[INFO] --- maven-dependency-plugin:2.4:get (default-cli) @ ==> default: Downloading: ==> default: Downloading: [INFO]==> default: [INFO] BUILD FAILURE ==> default: [INFO]==> default: ==> default: [INFO] Total time: 30.958s *==> default: * ==> default: [INFO] Finished at: Wed Mar 25 18:30:55 UTC 2015 *==> default: *[INFO] Final Memory: 13M/111M ==> default: [INFO]==> default: ==> default: [ERROR] Failed to execute goal *==> default: * *==> default: [ERROR] * *==> default: *[ERROR] Try downloading the file manually from the project ==> default: [ERROR] ==> default: [ERROR] Then, install it using the command: ==> default: ==> default: [ERROR] mvn install:install-file *==> default: * *==> default: [ERROR] * *==> default: *[ERROR] Alternatively, if you host your own repository you ==> default: [ERROR] mvn deploy:deploy-file -DgroupId=it.session.alfresco ==> default: *==> default: [ERROR] * *==> default: *[ERROR] ==> default: [ERROR] it.session.alfresco:alfresco-mmt:jar:4.2.1.4 ==> default: [ERROR] ==> default: ==> default: [ERROR] from the specified remote repositories: *==> default: * ==> default: [ERROR] central (http://repo.maven.apache.org/maven2 *==> default: *[ERROR] maoo-public ( ==> default: [ERROR] public ( ==> default: ==> default: [ERROR] -> [Help 1] *==> default: * *==> default: [ERROR] * *==> default: * ==> default: [ERROR] To see the full stack trace of the errors, re-run *==> default: * ==> default: [ERROR] Re-run Maven using the -X switch to enable full debug *==> default: *[ERROR] ==> default: ==> default: [ERROR] For more information about the errors and possible *==> default: *[ERROR] [Help 1] ==> default: *==> default: STDERR: * *==> default: *---- End output of mvn ==> default: ==> default: Ran mvn *==> default: * *==> default: * ==> default: Cookbook Trace: ==> default: --------------- ==> default: *==> default: */tmp/vagrant-chef-solo/c5edfafae5da87e8407f43ac0322153d/cookbooks/maven/providers/default.rb:53:in ==> default: ==> default: *==> default: * ==> default: *==> default: * *==> default: * ==> default: Resource Declaration: ==> default: --------------------- *==> default: * ==> default: # In *==> default: * *==> default: * *==> default: * 55: maven "#{artifactName}" do ==> default: 56: artifact_id artifact_id ==> default: 57: group_id group_id ==> default: ==> default: 58: version version *==> default: * ==> default: 59: if classifier != '' *==> default: * 60: classifier classifier ==> default: 61: end ==> default: 62: action :put ==> default: ==> default: ==> default: Compiled Resource: ==> default: ------------------ ==> default: # Declared in *==> default: * *==> default: * *==> default: * ==> default: maven("alfresco-mmt") do *==> default: * action [:put] ==> default: retries 0 ==> default: ==> default: retry_delay 2 *==> default: * guard_interpreter :default ==> default: artifact_id "alfresco-mmt" ==> default: ==> default: repositories *==> default: * ==> default: cookbook_name :"artifact-deployer" *==> default: * recipe_name "artifacts" ==> default: group_id "it.session.alfresco" ==> default: ==> default: version "4.2.1.4" *==> default: * ==> default: dest "/var/chef/cache" *==> default: * ==> default: owner "root" *==> default: * packaging "jar" ==> default: classifier "fatjar" ==> default: ==> default: end *==> default: * ==> default: ==> default: [2015-03-25T18:30:56+00:00] INFO: Running queued delayed ==> default: [2015-03-25T18:30:56+00:00] INFO: ==> default: [2015-03-25T18:33:15+00:00] INFO: service[tomcat7] restarted ==> default: [2015-03-25T18:33:15+00:00] INFO: service[tomcat7] sending ==> default: [2015-03-25T18:33:20+00:00] INFO: execute[wait for tomcat7] ==> default: [2015-03-25T18:33:20+00:00] INFO: ==> default: [2015-03-25T18:34:23+00:00] INFO: service[tomcat7] restarted ==> default: [2015-03-25T18:34:23+00:00] INFO: service[tomcat7] sending ==> default: [2015-03-25T18:34:28+00:00] INFO: execute[wait for tomcat7] ==> default: [2015-03-25T18:34:28+00:00] ERROR: Running exception handlers ==> default: [2015-03-25T18:34:28+00:00] ERROR: Exception handlers ==> default: [2015-03-25T18:35:57+00:00] FATAL: Stacktrace dumped to ==> default: [2015-03-25T18:35:57+00:00] ERROR: maven[alfresco-mmt](artifact-deployer::artifacts line 55) had an error: ==> default: ---- Begin output of mvn ==> default: STDOUT: [INFO] Scanning for projects... *==> default: [INFO] ==> default: [INFO] ==> default: [INFO] Building Maven Stub Project (No POM) 1 ==> default: [INFO] *==> default: [INFO] * ==> default: [INFO] --- maven-dependency-plugin:2.4:get (default-cli) @ ==> default: Downloading: Downloading: Downloading: [INFO] ==> default: [INFO] BUILD FAILURE ==> default: [INFO] ==> default: [INFO] Total time: 30.958s ==> default: [INFO] Finished at: Wed Mar 25 18:30:55 UTC 2015 ==> default: [INFO] Final Memory: 13M/111M ==> default: [INFO] ==> default: [ERROR] Failed to execute goal *==> default: [ERROR] * ==> default: [ERROR] Try downloading the file manually from the project *==> default: [ERROR] * ==> default: [ERROR] Then, install it using the command: ==> default: [ERROR] mvn install:install-file *==> default: [ERROR] * ==> default: [ERROR] Alternatively, if you host your own repository you ==> default: [ERROR] mvn deploy:deploy-file -DgroupId=it.session.alfresco *==> default: [ERROR] * *==> default: [ERROR] * ==> default: [ERROR] it.session.alfresco:alfresco-mmt:jar:4.2.1.4 *==> default: [ERROR] * ==> default: [ERROR] from the specified remote repositories: ==> default: [ERROR] central (http://repo.maven.apache.org/maven2 ==> default: [ERROR] maoo-public ==> default: [ERROR] public ==> default: [ERROR] -> [Help 1] *==> default: [ERROR] * ==> default: [ERROR] To see the full stack trace of the errors, re-run ==> default: [ERROR] Re-run Maven using the -X switch to enable full debug *==> default: [ERROR] * ==> default: [ERROR] For more information about the errors and possible ==> default: [ERROR] [Help 1] *==> default: STDERR: * ==> default: ---- End output of mvn ==> default: Ran mvn ==> default: [2015-03-25T18:35:57+00:00] FATAL: Chef never successfully completed! Any errors should be visible in the output above. Please fix your recipes so that they properly complete. On Wed, Mar 25, 2015 at 10:26 AM, Maurizio Pillitu <[email protected]
|
I'm very sorry for all these issues; I'm going to fix the issue and run deep tests before getting back to you; today I'm working on it, hopefully I'll have an answer by the end of the day. Thanks, |
Cool, thanks. The install on centos64 is also giving an error, find the log below. BOX_OS=centos64 vagrant up ==> default: ================================================================================ |
Sorry for the delay; I've performed a major refactoring of https://github.com/maoo/chef-alfresco
To test with Vagrant, I'd advise you to directly fetch https://github.com/maoo/chef-alfresco and run Alternatively, change |
I did the following 1 - git clone https://github.com/maoo/alfresco-boxes.git I got the error below Fetching cookbook index from https://api.berkshelf.com... Thanks |
When i do the 1st option i also get an error. 1 - git clone https://github.com/maoo/chef-alfresco The box at this url http://opscode-vm-bento.s3.amazonaws.com/vagrant/vmware/opscode_centos-7.0_chef-provisionerless.box does not exist. you can see it here https://www.snip2code.com/Snippet/296761/https---github-com-opscode-bento Thank you for the work. |
I've just tried a fresh install of alfresco-boxes with vagrant:
And that fails with:
I think that is because of recent changes to the alfresco Cookbook and corresponding changes not made to https://github.com/maoo/alfresco-boxes/blob/master/common/Berksfile. Some different versions of various cookbooks can be spotted in https://github.com/maoo/chef-alfresco/blob/master/Berksfile.lock as well as some Cookbooks not even listed such as mysql2_chef_gem, mariadb, python, rbac, smf. I tried updating my local Berksfile to match versions listed in Berksfile.lock from chef-alfresco but have yet to have any luck getting @maoo can you look at updating Berksfile? Run |
I've just noticed that my command sample above is wrong. I should have written Anyway now that there has been some work on various cookbook dependancy versions I've tried a fresh install of alfresco-boxes again. This time I've opened a specific issue for the failure I'm seeing. #36. |
issue #32 , tomcat cookbook have been re-forked by github maoo account; bixed cookbook pointer into Berksfile Former-commit-id: 2b7302abb0975efa0c812041caecd8fb746a66bd [formerly 2b7302abb0975efa0c812041caecd8fb746a66bd [formerly 0287a9c]] Former-commit-id: f27d173 Former-commit-id: 7506e13 Former-commit-id: 9a0bc7b
issue #32 , tomcat cookbook have been re-forked by github maoo account; bixed cookbook pointer into Berksfile Former-commit-id: 2b7302abb0975efa0c812041caecd8fb746a66bd [formerly 2b7302abb0975efa0c812041caecd8fb746a66bd [formerly 2b7302abb0975efa0c812041caecd8fb746a66bd [formerly 0287a9c]]] Former-commit-id: f27d173 Former-commit-id: 7506e13 Former-commit-id: 9a0bc7b Former-commit-id: 5c67ac1
…id version clash Former-commit-id: 367e1490a86b8e38095f6a9d13c1f583b910a254 [formerly 367e1490a86b8e38095f6a9d13c1f583b910a254 [formerly 367e1490a86b8e38095f6a9d13c1f583b910a254 [formerly e55fed9]]] Former-commit-id: 439bd71 Former-commit-id: 28b0858 Former-commit-id: 3100304 Former-commit-id: caf18c4
Can we close this issue? |
On step 3 of the installation i get the error below:
l-c0000893:common ixb$ ./create-vendor-cookbooks.sh
/opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/celluloid-0.16.0/lib/celluloid/cpu_counter.rb:28: warning: Insecure world writable dir /usr/local in PATH, mode 040777
Resolving cookbook dependencies...
Fetching 'alfresco' from git://github.com/maoo/chef-alfresco.git (at chef-alfresco-0.4.2)
Fetching 'artifact-deployer' from git://github.com/maoo/artifact-deployer.git (at artifact-deployer-0.7.5)
Fetching 'file' from git://github.com/jenssegers/chef-file.git (at v1.0.0)
Fetching 'openoffice' from git://github.com/dhartford/chef-openoffice.git (at master)
Fetching 'swftools' from git://github.com/dhartford/chef-swftools.git (at master)
Fetching 'tomcat' from git://github.com/maoo/tomcat.git (at chef-tomcat-0.15.12-custom-4)
Git error: command
git rev-parse chef-tomcat-0.15.12-custom-4
failed. If this error persists, try removing the cache directory at '/Users/ixb/.berkshelf/.cache/git/81a17897764bb6821d02e81339b52c49cd0d65ac'.Output from the command:fatal: ambiguous argument 'chef-tomcat-0.15.12-custom-4': unknown revision or path not in the working tree.
Use '--' to separate paths from revisions, like this:
'git [...] -- [...]'
The text was updated successfully, but these errors were encountered: