Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

java 8 ubuntu 14.04 #96

Open
digcat opened this issue Jul 25, 2015 · 5 comments
Open

java 8 ubuntu 14.04 #96

digcat opened this issue Jul 25, 2015 · 5 comments
Milestone

Comments

@digcat
Copy link
Collaborator

digcat commented Jul 25, 2015

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
Copy link
Collaborator Author

digcat commented Jul 27, 2015

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 pushed a commit that referenced this issue Jul 27, 2015
@digcat digcat added this to the 1.1 release milestone Jul 27, 2015
@digcat
Copy link
Collaborator Author

digcat commented Jul 29, 2015

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
Copy link

For a new installation ,

  • I 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
  • I use this params:
    [1] domain_name localhost
    [2] ssl_cert_path
    [3] initial_admin_pass admin
    [4] mail_from_default admin@localhost
    [5] mail_host localhost
    [6] mail_port 25
    [7] alfresco_base_dir /opt/alfresco
    [8] tomcat_home /opt/alfresco/tomcat
    [9] alfresco_version 5.0.x
    [10] download_path /opt/sourcesAlfresco/
    [11] db_root_password alfresco
    [12] db_user alfresco
    [13] db_pass alfresco
    [14] db_name alfresco
    [15] db_host localhost
    [16] db_port 3306
    [17] mem_xmx 4G
    [18] mem_xxmaxpermsize 256m
  • When I start install I have errors on openjdk-7-jdk :
    └── spantree-java8 (v0.5.0)
    Notice: Preparing to install into /opt/sourcesAlfresco/modules ...
    Notice: Downloading from https://forgeapi.puppetlabs.com ...
    Notice: Installing -- do not interrupt ...
    /opt/sourcesAlfresco/modules
    └── puppetlabs-vcsrepo (v1.3.2)
    Notice: Scope(Class[Alfresco]): alfresco_version = 5.0.x
    Warning: require is a metaparam; this value will inherit to all contained resources in the alfresco::install::download_file definition
    Notice: Compiled catalog for vmalfresco in environment production in 3.83 seconds
    Error: 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-1webupd81
    oracle-java8-installer 8u92+8u91arm-2really8u91webupd80
    oracle-java7-installer 7u80+7u60arm-0
    webupd8~1

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-1webupd81
oracle-java8-installer 8u92+8u91arm-2really8u91webupd80
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
Copy link
Owner

marsbard commented May 6, 2016

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

@mathieuga
Copy link

mathieuga commented May 6, 2016

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants