Opened 20 months ago

Last modified 7 months ago

#2421 new task

sync re3gistry install with docs

Reported by: darkblueb Owned by: osgeolive@…
Priority: major Milestone: OSGeoLive17.0
Component: OSGeoLive Keywords: java, re3gistry
Cc:

Description

ol16 build 44, test install

===============================================================
Starting "install_re3gistry.sh" ...
===============================================================
[36:57]: re3gistry2 2.0 install started
TMP: /tmp/build_re3gistry
USER_NAME: user
USER_HOME: /home/user
TOMCAT_USER_NAME: tomcat
TOMCAT_SCRIPT_NAME: tomcat9
REGISTRY_WAR_INSTALL_FOLDER: /var/lib/tomcat9/webapps
REGISTRY_INSTALL_FOLDER: /usr/local/registry2
REGISTRY_TAR_NAME: 
REGISTRY_TAR_URL: 
REGISTRY_WEB_APP_NAME: re3gistry2
REGISTRY_ICON_NAME: inspire.png
REGISTRY_URL: http://localhost:8080/re3gistry2
REGISTRY_QUICKSTART_URL: http://localhost/osgeolive/en/quickstart/re3gistry_quickstart.html
REGISTRY_OVERVIEW_URL: http://localhost/osgeolive/en/overview/re3gistry_overview.html
REGISTRY_VERSION: 2.0
PG_OPTIONS: --client-min-messages=warning
PG_USER: user
PG_PASSWORD: user
PG_SCRIPT_NAME: postgresql
PG_DB_NAME: re3gistry_db
JAVA_PKG: default-jre
SOLR_SCRIPT_NAME: solr-tomcat
GIT_SCRIPT_NAME: git
[36:57]: tomcat9 not found. Installing it...
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
tomcat9 is already the newest version (9.0.58-1ubuntu0.1).
tomcat9-admin is already the newest version (9.0.58-1ubuntu0.1).
0 upgraded, 0 newly installed, 0 to remove and 214 not upgraded.
[36:59]: postgresql service script found in /etc/init.d/.
[36:59]: solr-tomcat not found. Installing it...
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Package solr-tomcat 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

E: Package 'solr-tomcat' has no installation candidate
[36:59]: git not found. Installing it...
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
git is already the newest version (1:2.34.1-1ubuntu1.8).
0 upgraded, 0 newly installed, 0 to remove and 214 not upgraded.
Cloning into 're3gistry'...
remote: Enumerating objects: 9430, done.
remote: Counting objects: 100% (3237/3237), done.
remote: Compressing objects: 100% (1053/1053), done.
remote: Total 9430 (delta 1414), reused 3069 (delta 1295), pack-reused 6193
Receiving objects: 100% (9430/9430), 106.31 MiB | 222.00 KiB/s, done.
Resolving deltas: 100% (3375/3375), done.
[45:12]: tomcat9 already stopped
[45:12]: postgresql already started
[45:13]: Create Re3gistry db
[45:13]: DB re3gistry_db created
DROP TABLE
...
DROP TABLE
CREATE TABLE
...
CREATE TABLE
ALTER TABLE

...
ALTER TABLE
CREATE FUNCTION
CREATE TRIGGER

...
CREATE FUNCTION
CREATE TRIGGER
INSERT 0 1
...
INSERT 0 1
[45:13]: re3gistry_db -> Re3Gistry database filled
ALTER ROLE
Replacing dbhost to localhost
Replacing dbport to 5432
Replacing dbname to re3gistry_db
Replacing dbuser to user
Replacing dbpassword to user
Replacing statusbaseuri to http:\/\/localhost
Replacing solrurl to http:\/\/localhost:8080\/solr\/
Replacing smtphost to smtp.test-url.eu
Replacing applicationrooturl to http:\/\/localhost:8080\/re3gistry2
[45:15]: re3gistry2 2.0 installed in tomcat webapps folder
'/usr/local/share/applications/re3gistry-start.desktop' -> '/home/user/Desktop/re3gistry-start.desktop'
changed ownership of '/home/user/Desktop/re3gistry-start.desktop' from root:root to user:user
'/usr/local/share/applications/re3gistry-stop.desktop' -> '/home/user/Desktop/re3gistry-stop.desktop'
changed ownership of '/home/user/Desktop/re3gistry-stop.desktop' from root:root to user:user
===============================================================
Finished "install_re3gistry.sh"
Disk Usage1: install_re3gistry.sh,Filesystem,1K-blocks,Used,Available,Use%,Mounted_on,date
Disk Usage2: install_re3gistry.sh,tmpfs,11783,230,11553,2%,/tmp,2023-04-19 21:45:15+00:00
Temp Usage: install_re3gistry.sh,230    /tmp
===============================================================
-e Timing:
Start: 36:57
End  : 45:15

Change History (2)

comment:1 by darkblueb, 20 months ago

this line needs an update

$git clone https://github.com/ec-jrc/re3gistry.git

  • pick a commit, get its short hash and commit ID; or tag your source tree directly
  • refer to that tag or hash when pulling in the install script
  • the osgeolive ISO build script will freeze all installs before shipping

Version 0, edited 20 months ago by darkblueb (next)

comment:2 by kalxas, 7 months ago

Milestone: OSGeoLive16.0OSGeoLive17.0

Ticket retargeted after milestone closed

Note: See TracTickets for help on using tickets.