marsbard / puppet-alfresco

A puppet build script for Alfresco
MIT License
25 stars 11 forks source link

java 8 ubuntu 14.04 #96

Open digcat opened 8 years ago

digcat commented 8 years ago

Java 8 not installing when java 8 chosen with ubuntu 14.04

manually adding

sudo apt-get install software-properties-common sudo add-apt-repository ppa:webupd8team/java sudo apt-get update echo oracle-java8-installer shared/accepted-oracle-license-v1-1 select true | sudo /usr/bin/debconf-set-selections sudo apt-get install oracle-java8-installer sudo update-java-alternatives -s java-8-oracle

interestingly it seems ubuntu 14.04 with java 8 from above causes preview problems with doc xls screenshot from 2015-07-26 17 26 05

this reminds me of what we saw before but not seeing errors in catalina http://pastebin.com/w3qQmzSR

digcat commented 8 years ago
class { 'alfresco':
    domain_name => 'localhost', 
    initial_admin_pass => 'admin',
    mail_from_default => 'admin@localhost', 
    alfresco_base_dir => '/opt/alfresco',   
    tomcat_home => '/opt/alfresco/tomcat',  
    alfresco_version => '5.0.x',    
    download_path => '/opt/downloads',  
    db_root_password => 'alfresco',
    db_user => 'alfresco',  
    db_pass => 'alfresco',  
    db_name => 'alfresco',  
    db_host => 'localhost', 
    db_port => '3306',  
    mem_xmx => '3G',
    mem_xxmaxpermsize => '256m',
  ssl_cert_path => '',
}
digcat commented 8 years ago

seeing issue with uploader addon

Error: /usr/bin/wget https://github.com/softwareloop/uploader-plus/releases/download/v1.2/uploader-plus-surf-1.2.amp -O /opt/alfresco/amps_share/tmp__uploader-plus-surf-1.2.amp returned 4 instead of one of [0]
Error: /Stage[main]/Alfresco::Addons::Uploader-plus/Alfresco::Safe-download[addons::uploader-plus-share]/Exec[safe-retrieve-addons::uploader-plus-share]/returns: change from notrun to 0 failed: /usr/bin/wget https://github.com/softwareloop/
uploader-plus/releases/download/v1.2/uploader-plus-surf-1.2.amp -O /opt/alfresco/amps_share/tmp__uploader-plus-surf-1.2.amp returned 4 instead of one of [0]
Notice: /Stage[main]/Alfresco::Addons::Uploader-plus/Alfresco::Safe-download[addons::uploader-plus-share]/Exec[safe-move-addons::uploader-plus-share]: Dependency Exec[safe-retrieve-addons::uploader-plus-share] has failures: true
Warning: /Stage[main]/Alfresco::Addons::Uploader-plus/Alfresco::Safe-download[addons::uploader-plus-share]/Exec[safe-move-addons::uploader-plus-share]: Skipping because of failed dependencies
Notice: /Stage[main]/Alfresco::Addons::Ootbbeetheme/Alfresco::Safe-download[addons::ootbbeetheme-share]/Exec[safe-retrieve-addons::ootbbeetheme-share]/returns: executed successfully
Notice: /Stage[main]/Alfresco::Addons::Ootbbeetheme/Alfresco::Safe-download[addons::ootbbeetheme-share]/Exec[safe-move-addons::ootbbeetheme-share]/returns: executed successfully
Notice: /Stage[main]/Alfresco::Addons::Googledocs/Alfresco::Safe-download[googledocs-share]/Exec[safe-clean-any-old-googledocs-share]/returns: executed successfully
mathieuga commented 8 years ago

For a new installation ,

E: Package 'openjdk-7-jdk' has no installation candidate Error: /Stage[deps]/Alfresco::Packages/Alfresco::Packages::Ensure_packages[openjdk-7-jdk]/Package[openjdk-7-jdk]/ensure: change from purged to present failed: Execution of '/usr/bin/apt-get -q -y -o DPkg::Options::=--force-confold install openjdk-7-jdk' returned 100: Reading package lists... Building dependency tree... Reading state information... Package openjdk-7-jdk is a virtual package provided by: oracle-java9-installer 9b114+9b114arm-1~webupd8~1 oracle-java8-installer 8u92+8u91arm-2~really8u91~webupd8~0 oracle-java7-installer 7u80+7u60arm-0~webupd8~1

E: Package 'openjdk-7-jdk' has no installation candidate Error: Execution of '/usr/bin/apt-get -q -y -o DPkg::Options::=--force-confold install fonts-droid' returned 100: Reading package lists... Building dependency tree... Reading state information... Package fonts-droid is not available, but is referred to by another package. This may mean that the package is missing, has been obsoleted, or is only available from another source However the following packages replace it: fonts-droid-fallback

marsbard commented 8 years ago

Hmm I guess that the new Ubuntu update has dropped java 7? Which version of ubuntu are you running?

mathieuga commented 8 years ago

Yes, i use Ubuntu 16.04 LTS. I solve my issue with those command sudo add-apt-repository ppa:openjdk-r/ppa sudo apt-get update sudo apt-get install openjdk-7-jdk But i have other issues so i come back with my old version of Ubuntu.