• Openkm CE installation fails

  • Problemas con la instalación de OpenKM? No problemo, la solución está más cerca de lo que piensas.
Problemas con la instalación de OpenKM? No problemo, la solución está más cerca de lo que piensas.
Forum rules: Por favor, antes de preguntar algo consulta el wiki de documentación o utiliza la función de búsqueda del foro. Recuerda que no tenemos una bola de cristal ni poderes mentales, o sea que que para informar sobre un error es necesario que nos indiques tanto la versión de OpenKM que usas como la del navegador y sistema operativo. Para más información consulta Cómo informar de fallos de forma efectiva.
 #45231  by gvillaranw
 
---hi, im trying to install -OpenKM with ubuntu 17, i followed the video and everything goes fine, but at the end only the tomcat directory is created, nothing else.

is Open-km compatible with ubuntu 17?

Thanks
 #45246  by jllort
 
Should be created a log file - OKMInstaller.log - , can you share it with us ?
 #45257  by gvillaranw
 
omg i deleted my linode server, i will try a new installation and attach the log file.

One more question is there a way to deploy Openkm in a tomcat server that i already have?
the server is empty, it only have Tomcat 8.5.27 and MariaDB
 #45270  by jllort
 
I do not suggest it, our tomcat bundle comes with all files modified etc... if it's an empty tomcat you can user ours. Also we do not suggest - if you will use intensively the application - mix serveral applications in the same server.
 #45273  by gvillaranw
 
here is the installation log :
Code: Select all
2018-02-01 21:23:27,468 [    main] INFO  com.openkm.installer.Main - Running in Linux: 0.0.0 (build: 0)
2018-02-01 21:23:27,486 [    main] INFO  com.openkm.installer.Main - Linux distro: ubuntu (Ubuntu - 16.04)
2018-02-01 21:23:27,499 [    main] INFO  com.openkm.installer.Main - Local host: localhost (127.0.0.1)
2018-02-01 21:23:27,504 [    main] INFO  com.openkm.installer.Main - Java version: 1.8.0_161
2018-02-01 21:23:27,971 [    main] INFO  com.openkm.installer.Main - Free disk size: 25.6 GB
2018-02-01 21:23:27,990 [    main] INFO  com.openkm.installer.Main - RAM size: 1.9 GB
2018-02-01 21:23:27,999 [    main] INFO  com.openkm.installer.Main - CPU cores: 1
2018-02-01 21:23:28,007 [    main] INFO  com.openkm.installer.Main - Current directory: /opt/openkm
2018-02-01 21:23:51,738 [    main] INFO  com.openkm.installer.Main - Install version: 6.3.4
2018-02-01 21:23:53,280 [    main] INFO  com.openkm.installer.b.c - Detected network interface: eth0
2018-02-01 21:23:53,281 [    main] INFO  com.openkm.installer.b.c - Interface address: /fe80:0:0:0:f03c:91ff:fe64:3950%eth0
2018-02-01 21:23:53,281 [    main] INFO  com.openkm.installer.b.c - Interface address: /2600:3c00:0:0:f03c:91ff:fe64:3950%eth0
2018-02-01 21:23:53,282 [    main] INFO  com.openkm.installer.b.c - Interface address: /69.164.201.61
2018-02-01 21:23:53,288 [    main] INFO  com.openkm.installer.b.c - MAC address: F2:3C:91:64:39:50
2018-02-01 21:23:54,084 [    main] INFO  com.openkm.installer.b - ### BEGIN INSTALL ###
2018-02-01 21:23:54,100 [    main] INFO  com.openkm.installer.Main - Downloading Tomcat: 7.0.61
2018-02-01 21:23:55,197 [    main] WARN  o.a.h.c.p.ResponseProcessCookies - Invalid cookie header: "Set-Cookie: VISITOR=7af9dd4a-8503-457f-abae-7da9f6975d6a; expires="Sun, 30-Jan-2028 21:23:55 GMT"; httponly; Max-Age=315360000; Path=/". Invalid 'expires' attribute: "Sun, 30-Jan-2028 21:23:55 GMT"
2018-02-01 21:23:55,582 [    main] WARN  o.a.h.c.p.ResponseProcessCookies - Invalid cookie header: "Set-Cookie: sf_mirror_attempt="openkm:superb-sea2:common/Tomcat-7.0.61.zip"; expires="Thu, 01-Feb-2018 21:25:55 GMT"; Max-Age=120; Path=/". Invalid 'expires' attribute: "Thu, 01-Feb-2018 21:25:55 GMT"
2018-02-01 21:23:56,166 [    main] INFO  com.openkm.installer.b.h - Download from https://sourceforge.net/projects/openkm/files/common/Tomcat-7.0.61.zip/download
2018-02-01 21:23:59,548 [    main] INFO  com.openkm.installer.b.h - Download download - 5%
2018-02-01 21:24:00,936 [    main] INFO  com.openkm.installer.b.h - Download download - 10%
2018-02-01 21:24:01,665 [    main] INFO  com.openkm.installer.b.h - Download download - 15%
2018-02-01 21:24:02,434 [    main] INFO  com.openkm.installer.b.h - Download download - 20%
2018-02-01 21:24:03,151 [    main] INFO  com.openkm.installer.b.h - Download download - 25%
2018-02-01 21:24:03,810 [    main] INFO  com.openkm.installer.b.h - Download download - 30%
2018-02-01 21:24:04,585 [    main] INFO  com.openkm.installer.b.h - Download download - 35%
2018-02-01 21:24:05,343 [    main] INFO  com.openkm.installer.b.h - Download download - 40%
2018-02-01 21:24:05,768 [    main] INFO  com.openkm.installer.b.h - Download download - 45%
2018-02-01 21:24:06,334 [    main] INFO  com.openkm.installer.b.h - Download download - 50%
2018-02-01 21:24:06,989 [    main] INFO  com.openkm.installer.b.h - Download download - 55%
2018-02-01 21:24:07,767 [    main] INFO  com.openkm.installer.b.h - Download download - 60%
2018-02-01 21:24:08,296 [    main] INFO  com.openkm.installer.b.h - Download download - 65%
2018-02-01 21:24:08,985 [    main] INFO  com.openkm.installer.b.h - Download download - 70%
2018-02-01 21:24:09,496 [    main] INFO  com.openkm.installer.b.h - Download download - 75%
2018-02-01 21:24:09,943 [    main] INFO  com.openkm.installer.b.h - Download download - 80%
2018-02-01 21:24:10,547 [    main] INFO  com.openkm.installer.b.h - Download download - 85%
2018-02-01 21:24:11,167 [    main] INFO  com.openkm.installer.b.h - Download download - 90%
2018-02-01 21:24:11,478 [    main] INFO  com.openkm.installer.b.h - Download download - 95%
2018-02-01 21:24:11,882 [    main] INFO  com.openkm.installer.b.h - Download download - 100%
2018-02-01 21:24:11,896 [    main] INFO  com.openkm.installer.Main - Unzipping archive... 
2018-02-01 21:24:11,907 [    main] INFO  com.openkm.installer.b - Extracting /opt/openkm/installer.tmp/Tomcat-7.0.61.zip to /opt/openkm
2018-02-01 21:24:17,943 [    main] INFO  com.openkm.installer.b - Extract finished
2018-02-01 21:24:17,948 [    main] INFO  com.openkm.installer.Main - Fix permissions... 
2018-02-01 21:24:18,106 [    main] INFO  com.openkm.installer.Main - Downloading OpenKM: 6.3.4
2018-02-01 21:24:18,110 [    main] INFO  com.openkm.installer.b - Download OpenKM-6.3.4.zip from https://sourceforge.net/projects/openkm/files/6.3.4/OpenKM-6.3.4.zip/download to /opt/openkm/installer.tmp/OpenKM-6.3.4.zip
2018-02-01 21:24:18,447 [    main] WARN  o.a.h.c.p.ResponseProcessCookies - Invalid cookie header: "Set-Cookie: VISITOR=caa74460-20aa-4f32-8263-2d31cfe5912c; expires="Sun, 30-Jan-2028 21:24:18 GMT"; httponly; Max-Age=315360000; Path=/". Invalid 'expires' attribute: "Sun, 30-Jan-2028 21:24:18 GMT"
2018-02-01 21:24:18,827 [    main] WARN  o.a.h.c.p.ResponseProcessCookies - Invalid cookie header: "Set-Cookie: sf_mirror_attempt="openkm:gigenet:6.3.4/OpenKM-6.3.4.zip"; expires="Thu, 01-Feb-2018 21:26:18 GMT"; Max-Age=120; Path=/". Invalid 'expires' attribute: "Thu, 01-Feb-2018 21:26:18 GMT"
2018-02-01 21:24:19,415 [    main] INFO  com.openkm.installer.b.h - Download from https://sourceforge.net/projects/openkm/files/6.3.4/OpenKM-6.3.4.zip/download
2018-02-01 21:24:21,570 [    main] INFO  com.openkm.installer.b.h - Download download - 5%
2018-02-01 21:24:23,423 [    main] INFO  com.openkm.installer.b.h - Download download - 10%
2018-02-01 21:24:24,725 [    main] INFO  com.openkm.installer.b.h - Download download - 15%
2018-02-01 21:24:26,239 [    main] INFO  com.openkm.installer.b.h - Download download - 20%
2018-02-01 21:24:27,339 [    main] INFO  com.openkm.installer.b.h - Download download - 25%
2018-02-01 21:24:28,152 [    main] INFO  com.openkm.installer.b.h - Download download - 30%
2018-02-01 21:24:29,013 [    main] INFO  com.openkm.installer.b.h - Download download - 35%
2018-02-01 21:24:29,696 [    main] INFO  com.openkm.installer.b.h - Download download - 40%
2018-02-01 21:24:30,579 [    main] INFO  com.openkm.installer.b.h - Download download - 45%
2018-02-01 21:24:31,248 [    main] INFO  com.openkm.installer.b.h - Download download - 50%
2018-02-01 21:24:32,133 [    main] INFO  com.openkm.installer.b.h - Download download - 55%
2018-02-01 21:24:33,104 [    main] INFO  com.openkm.installer.b.h - Download download - 60%
2018-02-01 21:24:34,212 [    main] INFO  com.openkm.installer.b.h - Download download - 65%
2018-02-01 21:24:34,864 [    main] INFO  com.openkm.installer.b.h - Download download - 70%
2018-02-01 21:24:35,592 [    main] INFO  com.openkm.installer.b.h - Download download - 75%
2018-02-01 21:24:36,868 [    main] INFO  com.openkm.installer.b.h - Download download - 80%
2018-02-01 21:24:37,637 [    main] INFO  com.openkm.installer.b.h - Download download - 85%
2018-02-01 21:24:38,545 [    main] INFO  com.openkm.installer.b.h - Download download - 90%
2018-02-01 21:24:39,351 [    main] INFO  com.openkm.installer.b.h - Download download - 95%
2018-02-01 21:24:39,929 [    main] INFO  com.openkm.installer.b.h - Download download - 100%
2018-02-01 21:24:39,932 [    main] INFO  com.openkm.installer.b - Download finished
2018-02-01 21:24:39,933 [    main] INFO  com.openkm.installer.Main - Unzipping archive... 
2018-02-01 21:24:39,934 [    main] INFO  com.openkm.installer.b - Extracting /opt/openkm/installer.tmp/OpenKM-6.3.4.zip to /opt/openkm/installer.tmp
2018-02-01 21:24:41,231 [    main] INFO  com.openkm.installer.b - Extract finished
2018-02-01 21:24:41,237 [    main] INFO  com.openkm.installer.Main - Check archive integrity... 
2018-02-01 21:24:42,461 [    main] INFO  com.openkm.installer.b - MD5 hash is ok
2018-02-01 21:24:42,464 [    main] INFO  com.openkm.installer.Main - Copy OpenKM
2018-02-01 21:24:42,468 [    main] INFO  com.openkm.installer.Main - Configure OpenKM
2018-02-01 21:24:42,535 [    main] INFO  com.openkm.installer.Main - Configure service
2018-02-01 21:24:42,542 [    main] INFO  com.openkm.installer.b.g - Set executable status: true
2018-02-01 21:24:42,548 [    main] INFO  com.openkm.installer.b.d - Execute: [update-rc.d, openkm, defaults]
2018-02-01 21:24:43,009 [    main] INFO  com.openkm.installer.Main - Install dependencies
2018-02-01 21:24:43,010 [    main] INFO  com.openkm.installer.b.d - Execute: [apt-get, -y, install, htop]
2018-02-01 21:24:48,375 [    main] INFO  com.openkm.installer.b.d - Execute: [apt-get, -y, install, gawk]
2018-02-01 21:24:54,754 [    main] INFO  com.openkm.installer.b.d - Execute: [apt-get, -y, install, vim]
2018-02-01 21:24:56,728 [    main] INFO  com.openkm.installer.b.d - Execute: [apt-get, -y, install, imagemagick]
2018-02-01 21:25:24,448 [    main] INFO  com.openkm.installer.b.d - Execute: [apt-get, -y, install, libreoffice]
2018-02-01 21:27:40,309 [    main] INFO  com.openkm.installer.b.d - Execute: [apt-get, -y, install, tesseract-ocr]
2018-02-01 21:27:54,994 [    main] INFO  com.openkm.installer.b.d - Execute: [apt-get, -y, install, libpoppler-qt4*]
2018-02-01 21:28:41,383 [    main] INFO  com.openkm.installer.Main - Set default JDK
2018-02-01 21:28:41,385 [    main] INFO  com.openkm.installer.b.d - Execute: [apt-get, -y, install, oracle-java8-set-default]
2018-02-01 21:28:44,131 [    main] INFO  com.openkm.installer.Main - Fix permissions... 
2018-02-01 21:28:44,131 [    main] INFO  com.openkm.installer.b.d - Execute: [chown, openkm:openkm, /opt/openkm/tomcat-7.0.61, -R]
2018-02-01 21:28:44,144 [    main] INFO  com.openkm.installer.Main - Directory cleanup
2018-02-01 21:28:44,145 [    main] INFO  com.openkm.installer.b - Directory cleanup /opt/openkm/installer.tmp
2018-02-01 21:28:44,146 [    main] INFO  com.openkm.installer.b - ### FINISH INSTALL ###
2018-02-01 21:28:44,148 [    main] INFO  com.openkm.installer.Main - Don't forget to create the database
2018-02-01 21:28:44,151 [    main] INFO  com.openkm.installer.Main - CREATE DATABASE openkm DEFAULT CHARACTER SET utf8 DEFAULT COLLATE utf8_bin;
2018-02-01 21:28:44,152 [    main] INFO  com.openkm.installer.Main - CREATE USER openkm@localhost IDENTIFIED BY 'openkm';
2018-02-01 21:28:44,153 [    main] INFO  com.openkm.installer.Main - GRANT ALL ON openkm.* TO openkm@localhost WITH GRANT OPTION;
 #45274  by gvillaranw
 
i cant attach the log file the forum wont let me attach it as it says invalid file extension when i try to upload it, i changed the extension to .txt and the same error appears.

i submitted to content of the file in a previous post but it said it must be approved by a moderator or something like that.

i can give you full access to the server if need it, as is a test server atm.

Let me know

Thanks
 #45276  by jllort
 
Seems the Installer has success I do not see anything wrong in the installation log.
Did you executed the installer under root user ? has not been created the tomcat folder ?
 #45284  by gvillaranw
 
ok, this time everything worked fine, im not sure what happened the previous one as i deleted the previous installation, im pretty sure it was a ubuntu 17, and this one is ubuntu 16, thats the only difference.

Thanks for your time and help.

About Us

OpenKM is part of the management software. A management software is a program that facilitates the accomplishment of administrative tasks. OpenKM is a document management system that allows you to manage business content and workflow in a more efficient way. Document managers guarantee data protection by establishing information security for business content.