juanluisbaptiste / docker-otrs

The unofficial Znuny/OTRS Ticketing System docker image
https://www.juanbaptiste.tech/category/otrs
GNU Lesser General Public License v3.0
172 stars 101 forks source link

Image with tag 5.0.28 not starting properly #79

Closed rdxmb closed 4 years ago

rdxmb commented 4 years ago

Image and OTRS versions 5.0.28

env This is running in kubernetes, so the syntax looks different from docker-compose. However, it doesn't really matter if the orchestrator is k8 or docker-compose ...

  40            - name: OTRS_DB_NAME
   41              value: otrs
   42            - name: OTRS_DB_USER
   43              value: otrs
   44            - name: OTRS_DB_PASSWORD
   45              value: some
   46            - name: OTRS_DB_HOST
   47              value: mariadb
   48            - name: OTRS_ROOT_USER
   49              value: root 
   50            - name: OTRS_ROOT_PASSWORD
   51              value: not-very-secure
   52            - name: OTRS_LANGUAGE
   53              value: "de"
   54            - name: OTRS_TIMEZONE
   55              value: "Etc/UTC"
   56            - name: OTRS_NUMBER_GENERATOR
   57              value: "AutoIncrement"
   58            - name: OTRS_SENDMAIL_MODULE
   59              value: "SMTPS"
   60            - name: OTRS_SMTP_SERVER
   61              value: mailcatcher
   62            - name: OTRS_SMTP_PORT
   63              value: "25"
   64            - name: OTRS_DEBUG
   65              value: "yes"
   66            - name: OTRS_INSTALL
   67              value: "yes"

Describe the issue

[INFO] Preparing debug mode...
Loaded plugins: fastestmirror
Setting up Install Process
Determining fastest mirrors
 * base: ftp.wrz.de
 * epel: ftp.wrz.de
 * extras: ftp.rz.uni-frankfurt.de
 * updates: ftp.rz.uni-frankfurt.de
Resolving Dependencies
--> Running transaction check
---> Package lsof.x86_64 0:4.82-5.el6 will be installed
---> Package nmap.x86_64 2:5.51-6.el6 will be installed
--> Processing Dependency: libpcap.so.1()(64bit) for package: 2:nmap-5.51-6.el6.x86_64
---> Package telnet.x86_64 1:0.17-48.el6 will be installed
--> Running transaction check
---> Package libpcap.x86_64 14:1.4.0-4.20130826git2dbcaa1.el6 will be installed
--> Finished Dependency Resolution                                                                     

Dependencies Resolved                                                                                  

================================================================================                       
 Package     Arch       Version                                  Repository                            
                                                                           Size                        
================================================================================                       
Installing:                                                                                            
 lsof        x86_64     4.82-5.el6                               base     324 k                        
 nmap        x86_64     2:5.51-6.el6                             base     2.8 M                        
 telnet      x86_64     1:0.17-48.el6                            base      58 k                        
Installing for dependencies:                                                                           
 libpcap     x86_64     14:1.4.0-4.20130826git2dbcaa1.el6        base     131 k

Transaction Summary
================================================================================
Install       4 Package(s)

Total download size: 3.3 M
Installed size: 11 M
Downloading Packages:
--------------------------------------------------------------------------------
Total                                           4.0 MB/s | 3.3 MB     00:00     
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
  Installing : 14:libpcap-1.4.0-4.20130826git2dbcaa1.el6.x86_64             1/4 
  Installing : 2:nmap-5.51-6.el6.x86_64                                     2/4 
  Installing : 1:telnet-0.17-48.el6.x86_64                                  3/4 

Rpmdb checksum is invalid: dCDPT(pkg checksums): libpcap.x86_64 14:1.4.0-4.20130826git2dbcaa1.el6 - u
  Installing : lsof-4.82-5.el6.x86_64                                       4/4 
[ERROR] ERROR: Could not intall tools.

Expected behavior Installed packages by Dockerfile - and not by runtime with errors

So, what can I do here? I want to migrate a native setup running v.5.0.28 to docker

juanluisbaptiste commented 4 years ago

Expected behavior Installed packages by Dockerfile - and not by runtime with errors

Packages are installed on the Dockerfile build process, but if you enable OTRS_DEBUG, som additional packages will get installed to aid on troubleshooting. If you don't want them installed the set OTRS_DEBUG=no.

So, what can I do here? I want to migrate a native setup running v.5.0.28 to docker

Probably the error is a mirror issue, but I recommend you to migrate first to OTRS 6, OTRS 5 will EOL soon and I'm not currently maintaining the 5.x branch, only really critical issues.

rdxmb commented 4 years ago

ok, thanks for your very quick answer ! @juanluisbaptiste

juanluisbaptiste commented 4 years ago

yesterday I pushed 5.0.39 that was released last month, at least you should try with the latest release of OTRS on this branch, probably container code for latest versions have some fixes from master branch (check the changelog).