Content
openproject installation in centos amazon ec2 instance
Added by umang shah over 9 years ago
HI,
I am trying to install openproject in my centos6 which is in amazon ec2 instance, but it is giving me error at the time of configuration.
i am following below link for installation. https://www.openproject.org/download/packaged-installation-core/
error is like below.
[root@ip-10-28-11-38 ec2-user]# sudo yum install openproject
Loaded plugins: priorities, update-motd, upgrade-helper
amzn-main/latest | 2.1 kB 00:00
amzn-updates/latest | 2.3 kB 00:00
openproject | 2.9 kB 00:00
openproject/primary_db | 50 kB 00:00
Resolving Dependencies
—> Running transaction check
—-> Package openproject.x86_64 0:4.0.6-1422376810.876f3af.centos6 will be installed
—> Processing Dependency: postgresql-libs for package: openproject-4.0.6-1422376810.876f3af.centos6.x86_64
—> Processing Dependency: mysql-libs for package: openproject-4.0.6-1422376810.876f3af.centos6.x86_64
—> Processing Dependency: libevent for package: openproject-4.0.6-1422376810.876f3af.centos6.x86_64
—> Processing Dependency: dialog for package: openproject-4.0.6-1422376810.876f3af.centos6.x86_64
—> Running transaction check
—-> Package dialog.x86_64 0:1.1-9.20080819.1.5.amzn1 will be installed
—-> Package libevent.x86_64 0:2.0.18-1.10.amzn1 will be installed
—-> Package mysql55-libs.x86_64 0:5.5.40-1.3.amzn1 will be installed
—-> Package postgresql92-libs.x86_64 0:9.2.9-1.46.amzn1 will be installed
—> Finished Dependency Resolution
Dependencies Resolved
Package Arch Version Repository Size
Installing:
openproject x86_64 4.0.6-1422376810.876f3af.centos6 openproject 56 M
Installing for dependencies:
dialog x86_64 1.1-9.20080819.1.5.amzn1 amzn-main 205 k
libevent x86_64 2.0.18-1.10.amzn1 amzn-main 278 k
mysql55-libs x86_64 5.5.40-1.3.amzn1 amzn-updates 813 k
postgresql92-libs x86_64 9.2.9-1.46.amzn1 amzn-main 254 k
Transaction Summary
Install 1 Package (+4 Dependent packages)
Total download size: 58 M
Installed size: 198 M
Is this ok [y/d/N]: y
Downloading packages:
(1/5): dialog-1.1-9.20080819.1.5.amzn1.x86_64.rpm | 205 kB 00:00
(2/5): libevent-2.0.18-1.10.amzn1.x86_64.rpm | 278 kB 00:00
(3/5): mysql55-libs-5.5.40-1.3.amzn1.x86_64.rpm | 813 kB 00:00
(4/5): openproject-4.0.6-1422376810.876f3af.centos6.x86_ | 56 MB 00:03
(5/5): postgresql92-libs-9.2.9-1.46.amzn1.x86_64.rpm | 254 kB 00:00
————————————————————————————————————————
Total 15 MB/s | 58 MB 00:03
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
Installing : dialog-1.1-9.20080819.1.5.amzn1.x86_64 1/5
Installing : postgresql92-libs-9.2.9-1.46.amzn1.x86_64 2/5
Installing : mysql55-libs-5.5.40-1.3.amzn1.x86_64 3/5
Installing : libevent-2.0.18-1.10.amzn1.x86_64 4/5
/var/tmp/rpm-tmp.NKChbC: line 18: addgroup: command not found
error: %pre(openproject-4.0.6-1422376810.876f3af.centos6.x86_64) scriptlet failed, exit status 127
Error in PREIN scriptlet in rpm package openproject-4.0.6-1422376810.876f3af.centos6.x86_64
Verifying : libevent-2.0.18-1.10.amzn1.x86_64 1/5
Verifying : mysql55-libs-5.5.40-1.3.amzn1.x86_64 2/5
Verifying : postgresql92-libs-9.2.9-1.46.amzn1.x86_64 3/5
Verifying : dialog-1.1-9.20080819.1.5.amzn1.x86_64 4/5
Verifying : openproject-4.0.6-1422376810.876f3af.centos6.x86_64 5/5
Dependency Installed:
dialog.x86_64 0:1.1-9.20080819.1.5.amzn1
libevent.x86_64 0:2.0.18-1.10.amzn1
mysql55-libs.x86_64 0:5.5.40-1.3.amzn1
postgresql92-libs.x86_64 0:9.2.9-1.46.amzn1
Failed:
openproject.x86_64 0:4.0.6-1422376810.876f3af.centos6
Complete!
Replies (3)
Hi umang, you tried the manual instalation?
Hi Dougles,
Thanks for the reply, yes i tried but at one certain point it was also not working, so what i did is, i taken a ubuntu instance and in that i can able to configure the open project.
This should help you:
https://community.openproject.org/topics/4354
You’ll need to manually create the openproject group and user. Should work.