Skip to content

Not able to run the new Docker Image #8

@hegde89

Description

@hegde89

docker run -d -p 8080:80 --name dev-pkm processmaker/processmaker

Error in log is

  • chown -R nginx. /opt/processmaker
  • sed -i 's,server_name ~^.*$;,server_name ;,g' /etc/nginx/conf.d/processmaker.conf
  • cp /etc/hosts /root/hosts.new
    ++ hostname
  • sed -i '/127.0.0.1/c\127.0.0.1 localhost localhost.localdomain 11f3bbaaadf9' /root/hosts.new
  • cp -f /root/hosts.new /etc/hosts
  • chkconfig sendmail on
  • service sendmail start
    Starting sendmail: [ OK ]
    Starting sm-client: [ OK ]
  • chkconfig nginx on
  • chkconfig php-fpm on
  • touch /etc/sysconfig/network
  • sed -i 's/'''default''' => env('''QUEUE_CONNECTION''', '''database'''),/'''default''' => env('''QUEUE_CONNECTION''', '''sync'''),/' /opt/processmaker/config/queue.php
  • service php-fpm start
    Starting php-fpm-7.1: [ OK ]
  • nginx -g 'daemon off;'
    nginx: [emerg] invalid number of arguments in "server_name" directive in /etc/nginx/conf.d/processmaker.conf:6

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions