Git Product home page Git Product logo

Comments (4)

jhpyle avatar jhpyle commented on June 29, 2024 1

There are many reasons why the initialization process might fail. See the Troubleshooting section for instructions.

from docassemble.

sfphh4 avatar sfphh4 commented on June 29, 2024

I did the debugging and I still have the issue. When I enter into the docker container, i looked at the component causing the issue.

The issue is apache2 is not working and supervisorctl keeps trying to invoke it. So i stopped it and tried to run it manually and I get the following error:

`root@498f36d73202:/etc/supervisor/conf.d# bash /usr/share/docassemble/webapp/run-apache.sh

Module remoteip already disabled

Conf docassemble-behindlb already disabled

Module ssl already disabled

apache2: Syntax error on line 146 of /etc/apache2/apache2.conf: Syntax error on line 1 of /etc/apache2/mods-enabled/wsgi.load: Cannot load /usr/lib/apache2/modules/mod_wsgi.so into server: /usr/lib/apache2/modules/mod_wsgi.so: cannot open shared object file: No such file or directory

Action '-DFOREGROUND' failed.

The Apache error log may have more information.
`

I checked the apache error log, and the same was empty.

Any idea how to proceed further? I always thought that Docker Container method should never require debugging, so please guide me as to how to proceed further.

from docassemble.

jhpyle avatar jhpyle commented on June 29, 2024

The Apache option is a legacy feature. The Docker image used to use Apache, but docassemble switched to NGINX many years ago. I kept the Apache option around for users who had been using Apache and didn't want to switch to NGINX because they had customized the Apache configuration. I haven't been testing the Apache option.

Anyway, in the latest version of the Docker image, I think I fixed the issues with Apache. I would suggest using the default NGINX web server rather than Apache, but if you really want to use Apache can can try the latest version of the Docker image.

from docassemble.

jhpyle avatar jhpyle commented on June 29, 2024

Closing this because of lack of activity.

from docassemble.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.