Ok it works on Ubuntu 14.04 when installing (maybe updating the
documentation so people don't use openjdk?)
http://www.webupd8.org/2012/09/install-oracle-java-8-in-ubuntu-via-ppa.html
But after the installation:
dbconfig-common: writing config to /etc/dbconfig-common/xwiki.conf
Creating config file /etc/dbconfig-common/xwiki.conf with new version
Creating config file /etc/xwiki/hibernate.cfg.xml with new version
granting access to database xwiki for xwiki@localhost: success.
verifying access for xwiki@localhost: success.
creating database xwiki: success.
verifying database xwiki exists: success.
dbconfig-common: flushing administrative password
allow xwiki user to create new databases
Setting up authbind (2.1.1) ...
Processing triggers for ureadahead (0.100.0-16) ...
Setting up xwiki-enterprise-tomcat7-common (8.2.1) ...
* Stopping Tomcat servlet engine tomcat7
[ OK ]
* Starting Tomcat servlet engine tomcat7
[ OK ]
Setting up xwiki-enterprise-tomcat7-mysql (8.2.1) ...
* Stopping Tomcat servlet engine tomcat7
[ OK ]
* Starting Tomcat servlet engine tomcat7
All I see on :8080 is "It works! If you're seeing this page via a web
browser, it means you've setup Tomcat successfully. Congratulations!"
Any idea?
2016-08-02 10:06 GMT-04:00 Thomas Mortagne <[email protected]>:
> Actually I just checked to be sure and Ubuntu 14.04 standard
> repository don't have any openjdk 8. That's probably your issue.
>
> I personally use
> http://www.webupd8.org/2012/09/install-oracle-java-8-in-ubuntu-via-ppa.html
> to install Oracle jvm and it's working like a charm.
>
> On Tue, Aug 2, 2016 at 3:55 PM, Thomas Mortagne
> <[email protected]> wrote:
>> What error do you get exactly and are you sure you are installing 8.2
>> since http://jira.xwiki.org/browse/XWIKI-13590 is fixed in 8.2 ?
>>
>> On Tue, Aug 2, 2016 at 3:45 PM, Dev Dev <[email protected]> wrote:
>>> I tried it also on Ubuntu 14.04 LTS but many errors about dependencies
>>> not satisfied. Found a post that said it was fixed, but still not
>>> working:
>>> http://jira.xwiki.org/browse/XWIKI-13590
>>>
>>> In short, is it possible to install xwiki using the apt-get /
>>> documentation on Ubuntu 14.04 & 16.04?
>>
>> I'm using Ubuntu 14.04 and it's working well. I did not hit
>> http://jira.xwiki.org/browse/XWIKI-13590 because I install Oracle
>> version of Java before XWiki.
>>
>>>
>>> Anyone?
>>>
>>> 2016-08-02 4:44 GMT-04:00 Thomas Mortagne <[email protected]>:
>>>> The issue seems to be in Tomcat package which XWiki just declare as
>>>> dependency but for some reason Ubuntu failed to install it.
>>>>
>>>>> Job for tomcat7.service failed because the control process exited with
>>>>> error code. See "systemctl status tomcat7.service" and "journalctl -xe"
>>>>> for details.
>>>>
>>>> I guess you should looks at the suggested logs.
>>>>
>>>> On Mon, Aug 1, 2016 at 10:49 PM, Dev Dev <[email protected]> wrote:
>>>>> Hi,
>>>>>
>>>>> I am trying to install xwiki (mysql) using the doc at:
>>>>> http://platform.xwiki.org/xwiki/bin/view/AdminGuide/InstallationViaAPT
>>>>>
>>>>> Here's the output:
>>>>> http://paste.ubuntu.com/21810285/
>>>>>
>>>>> Setting up tomcat7 (7.0.68-1ubuntu0.1) ...
>>>>>
>>>>> Creating config file /etc/default/tomcat7 with new version
>>>>>
>>>>> Adding system user `tomcat7' (UID 113) ...
>>>>>
>>>>> Adding new user `tomcat7' (UID 113) with group `tomcat7' ...
>>>>>
>>>>> Not creating home directory `/usr/share/tomcat7'.
>>>>>
>>>>> Creating config file /etc/logrotate.d/tomcat7 with new version
>>>>>
>>>>> Job for tomcat7.service failed because the control process exited with
>>>>> error code. See "systemctl status tomcat7.service" and "journalctl
>>>>> -xe" for details.
>>>>>
>>>>> invoke-rc.d: initscript tomcat7, action "start" failed.
>>>>>
>>>>> dpkg: error processing package tomcat7 (--configure):
>>>>>
>>>>> subprocess installed post-installation script returned error exit status
>>>>> 1
>>>>>
>>>>> Setting up xwiki-enterprise-common (8.2.1) ...
>>>>>
>>>>> Setting up xwiki-enterprise-mysql-common (8.2.1) ...
>>>>>
>>>>> Determining localhost credentials from /etc/mysql/debian.cnf: succeeded.
>>>>>
>>>>> dbconfig-common: writing config to /etc/dbconfig-common/xwiki.conf
>>>>>
>>>>> Creating config file /etc/dbconfig-common/xwiki.conf with new version
>>>>>
>>>>> Creating config file /etc/xwiki/hibernate.cfg.xml with new version
>>>>>
>>>>> granting access to database xwiki for xwiki@localhost: success.
>>>>>
>>>>> verifying access for xwiki@localhost: success.
>>>>>
>>>>> creating database xwiki: success.
>>>>>
>>>>> verifying database xwiki exists: success.
>>>>>
>>>>> dbconfig-common: flushing administrative password
>>>>>
>>>>> allow xwiki user to create new databases
>>>>>
>>>>> dpkg: dependency problems prevent configuration of
>>>>> xwiki-enterprise-tomcat7-common:
>>>>>
>>>>> xwiki-enterprise-tomcat7-common depends on tomcat7; however:
>>>>>
>>>>> Package tomcat7 is not configured yet.
>>>>>
>>>>> dpkg: error processing package xwiki-enterprise-tomcat7-common
>>>>> (--configure):
>>>>>
>>>>> dependency problems - leaving unconfigured
>>>>>
>>>>> dpkg: dependency problems prevent configuration of
>>>>> xwiki-enterprise-tomcat7-mysql:No apport report written because the
>>>>> error message indicates its a followup error from a previous failure.
>>>>>
>>>>> xwiki-enterprise-tomcat7-mysql depends on
>>>>> xwiki-enterprise-tomcat7-common (= 8.2.1); however:
>>>>>
>>>>> Package xwiki-enterprise-tomcat7-common is not configured yet.
>>>>>
>>>>> dpkg: error processing package xwiki-enterprise-tomcat7-mysql
>>>>> (--configure):
>>>>>
>>>>> dependency problems - leaving unconfigured
>>>>>
>>>>> Processing triggers for libc-bin (2.23-0ubuntu3) ...No apport report
>>>>> written because the error message indicates its a followup error from
>>>>> a previous failure.
>>>>>
>>>>> Processing triggers for systemd (229-4ubuntu7) ...
>>>>>
>>>>> Processing triggers for ureadahead (0.100.0-19) ...
>>>>>
>>>>> Errors were encountered while processing:
>>>>>
>>>>> tomcat7
>>>>>
>>>>> xwiki-enterprise-tomcat7-common
>>>>>
>>>>> xwiki-enterprise-tomcat7-mysql
>>>>>
>>>>> E: Sub-process /usr/bin/dpkg returned an error code (1)
>>>>> _______________________________________________
>>>>> users mailing list
>>>>> [email protected]
>>>>> http://lists.xwiki.org/mailman/listinfo/users
>>>>
>>>>
>>>>
>>>> --
>>>> Thomas Mortagne
>>>> _______________________________________________
>>>> users mailing list
>>>> [email protected]
>>>> http://lists.xwiki.org/mailman/listinfo/users
>>> _______________________________________________
>>> users mailing list
>>> [email protected]
>>> http://lists.xwiki.org/mailman/listinfo/users
>>
>>
>>
>> --
>> Thomas Mortagne
>
>
>
> --
> Thomas Mortagne
> _______________________________________________
> users mailing list
> [email protected]
> http://lists.xwiki.org/mailman/listinfo/users
_______________________________________________
users mailing list
[email protected]
http://lists.xwiki.org/mailman/listinfo/users