Content
Problem on installing OpenProject on Centos 7 with preinstalled MariaDB 5.5 and Apache 2.4
Added by ben tunx over 8 years ago
hi guys i have problem while trying to install Openproject by following this manual
https://www.openproject.org/open-source/download/packaged-installation-guide/
the problem persist when i try to configure the openproject, here is the result
[root@DZV config]# openproject configure
Launching installer for openproject…
Selected addons: legacy-installer mysql apache2 repositories smtp memcached openproject
[legacy-installer] ./bin/configure
[mysql] ./bin/configure
Transaction check error:
package mariadb-1:5.5.52-1.el7.x86_64 is already installed
Error Summary
——————-
and this is my env var
[root
DZV config]# openproject run env
APP_WIZARDS=legacy-installer,mysql,apache2,repositories,smtp,memcached,openproject
XDG_SESSION_ID=143
HOSTNAME=DZV
TERM=xterm
SHELL=/bin/bash
HOST=127.0.0.1
HISTSIZE=1000
SSH_CLIENT=10.9.8.3 49362 22
MEMCACHED_SERVERS=tcp://127.0.0.1:11211
SECRET_TOKEN=268068e3f90afad8f8fc5d69e61a0ce245d2d5381bb1856fe232e42366c6554fdd7e8659a7d25f22183caf81227af5191c44d00af6878e0030a58fdc964fc45b
OLDPWD=/
WEB_MEMORY=512
APP_NAME=openproject
MEMORY_AVAILABLE=512
SSH_TTY=/dev/pts/1
USER=root
LS_COLORS=rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:mi=01;05;37;41:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:.tar=01;31:.tgz=01;31:.arc=01;31:.arj=01;31:.taz=01;31:.lha=01;31:.lz4=01;31:.lzh=01;31:.lzma=01;31:.tlz=01;31:.txz=01;31:.tzo=01;31:.t7z=01;31:.zip=01;31:.z=01;31:.Z=01;31:.dz=01;31:.gz=01;31:.lrz=01;31:.lz=01;31:.lzo=01;31:.xz=01;31:.bz2=01;31:.bz=01;31:.tbz=01;31:.tbz2=01;31:.tz=01;31:.deb=01;31:.rpm=01;31:.jar=01;31:.war=01;31:.ear=01;31:.sar=01;31:.rar=01;31:.alz=01;31:.ace=01;31:.zoo=01;31:.cpio=01;31:.7z=01;31:.rz=01;31:.cab=01;31:.jpg=01;35:.jpeg=01;35:.gif=01;35:.bmp=01;35:.pbm=01;35:.pgm=01;35:.ppm=01;35:.tga=01;35:.xbm=01;35:.xpm=01;35:.tif=01;35:.tiff=01;35:.png=01;35:.svg=01;35:.svgz=01;35:.mng=01;35:.pcx=01;35:.mov=01;35:.mpg=01;35:.mpeg=01;35:.m2v=01;35:.mkv=01;35:.webm=01;35:.ogm=01;35:.mp4=01;35:.m4v=01;35:.mp4v=01;35:.vob=01;35:.qt=01;35:.nuv=01;35:.wmv=01;35:.asf=01;35:.rm=01;35:.rmvb=01;35:.flc=01;35:.avi=01;35:.fli=01;35:.flv=01;35:.gl=01;35:.dl=01;35:.xcf=01;35:.xwd=01;35:.yuv=01;35:.cgm=01;35:.emf=01;35:.axv=01;35:.anx=01;35:.ogv=01;35:.ogx=01;35:.aac=01;36:.au=01;36:.flac=01;36:.mid=01;36:.midi=01;36:.mka=01;36:.mp3=01;36:.mpc=01;36:.ogg=01;36:.ra=01;36:.wav=01;36:.axa=01;36:.oga=01;36:.spx=01;36:*.xspf=01;36:
WEB_TIMEOUT=300
APP_SAFE_NAME=openproject
RACK_ENV=production
MAIL=/var/spool/mail/root
PATH=/opt/openproject/bin:/opt/openproject/vendor/bundle/bin:/opt/openproject/vendor/bundle/ruby/2.3.0/bin:/opt/openproject/.heroku/node/bin:/opt/openproject/bin:/opt/openproject/node_modules/.bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.102-1.b14.el7_2.x86_64/bin:/root/bin:/usr/sbin
WEB_CONCURRENCY=1
ATTACHMENTS_STORAGE_PATH=/var/db/openproject/files
SECRET_KEY_BASE=268068e3f90afad8f8fc5d69e61a0ce245d2d5381bb1856fe232e42366c6554fdd7e8659a7d25f22183caf81227af5191c44d00af6878e0030a58fdc964fc45b
PWD=/opt/openproject
JAVA_HOME=/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.102-1.b14.el7_2.x86_64
LANG=en_US.UTF-8
RAILS_SERVE_STATIC_FILES=enabled
APP_USER=openproject
APP_RUNNER_CLI=systemctl
APP_HOME=/opt/openproject
HISTCONTROL=ignoredups
SHLVL=1
HOME=/home/openproject
RAILS_ENV=production
ADMIN_EMAIL=bentunx@dzv.com
ORIGINAL_PWD=/opt/openproject/config
APP_RUNNER_TYPE=systemd
EMAIL_DELIVERY_METHOD=sendmail
LOGNAME=root
CLASSPATH=.:/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.102-1.b14.el7_2.x86_64/jre/lib:/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.102-1.b14.el7_2.x86_64/lib:/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.102-1.b14.el7_2.x86_64/lib/tools.jar
SSH_CONNECTION=10.9.8.3 49362 10.9.8.10 22
APP_GROUP=openproject
GEM_PATH=/opt/openproject/vendor/bundle/ruby/2.3.0:
RAILS_LOG_TO_STDOUT=enabled
LESSOPEN=||/usr/bin/lesspipe.sh %s
PORT=6000
XDG_RUNTIME_DIR=/run/user/0
RAILS_CACHE_STORE=memcache
DATABASE_URL=mysql2://openproject_user:nobugs@127.0.0.1:3306/openproject
NODE_HOME=/opt/openproject/.heroku/node
@
and here is my config
ADMIN_EMAIL=bentunx
dzv.com
APP_GROUP=openproject
APP_HOME=/opt/openproject
APP_NAME=openproject
APP_RUNNER_CLI=systemctl
APP_RUNNER_TYPE=systemd
APP_SAFE_NAME=openproject
APP_USER=openproject
APP_WIZARDS=legacy-installer,mysql,apache2,repositories,smtp,memcached,openproject
ATTACHMENTS_STORAGE_PATH=/var/db/openproject/files
DATABASE_URL=mysql2://openproject_user:nobugs@127.0.0.1:3306/openproject
EMAIL_DELIVERY_METHOD=sendmail
GEM_PATH=/opt/openproject/vendor/bundle/ruby/2.3.0:
HOME=/home/openproject
HOST=127.0.0.1
LANG=en_US.UTF-8
MEMCACHED_SERVERS=tcp://127.0.0.1:11211
MEMORY_AVAILABLE=512
NODE_HOME=/opt/openproject/.heroku/node
OLDPWD=/
ORIGINAL_PWD=/opt/openproject/config
PATH=/opt/openproject/bin:/opt/openproject/vendor/bundle/bin:/opt/openproject/vendor/bundle/ruby/2.3.0/bin:/opt/openproject/.heroku/node/bin:/opt/openproject/bin:/opt/openproject/node_modules/.bin:/usr/local/bin:/usr/bin:/usr/sbin
PORT=6000
PWD=/opt/openproject
RACK_ENV=production
RAILS_CACHE_STORE=memcache
RAILS_ENV=production
RAILS_LOG_TO_STDOUT=enabled
RAILS_SERVE_STATIC_FILES=enabled
ROOT_PATH=/
SECRET_KEY_BASE=268068e3f90afad8f8fc5d69e61a0ce245d2d5381bb1856fe232e42366c6554fdd7e8659a7d25f22183caf81227af5191c44d00af6878e0030a58fdc964fc45b
SECRET_TOKEN=268068e3f90afad8f8fc5d69e61a0ce245d2d5381bb1856fe232e42366c6554fdd7e8659a7d25f22183caf81227af5191c44d00af6878e0030a58fdc964fc45b
SHLVL=0
WEB_CONCURRENCY=1
WEB_MEMORY=512
WEB_TIMEOUT=300
@
Thanks in Advance
Replies (1)
I would remove mariadb and let the installer do it. It must be there.
If the distro is RHEL*, do rpm -qa | grep maria
if you see anything returned, remove it.
OR
Try ‘openproject reconfigure’