docker: SOGo

  • Has anyone ever sucsessfully run SOGo in a docker image?
    I tried but failed miserably... not knowing anything about docker and sogo at the same time.


    So far i believe I would have to access SOGo through port 80.
    As port 80 is already in use i would probably have to reconfigure the standard port for SOGo inside the docker image?

    • Offizieller Beitrag

    I don't use it but you could change the OMV web interface to a different port to free up port 80.

    omv 7.0.5-1 sandworm | 64 bit | 6.8 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.13 | compose 7.1.4 | k8s 7.1.0-3 | cputemp 7.0.1 | mergerfs 7.0.4


    omv-extras.org plugins source code and issue tracker - github - changelogs


    Please try ctrl-shift-R and read this before posting a question.

    Please put your OMV system details in your signature.
    Please don't PM for support... Too many PMs!

  • I want SOGo to use my host systems nginx server. SOGo manual advises to add a site for it with a specific site configuration.
    When i add this manually via shell i always get an error when starting up nginx. This is probably due to OMV interfering with my manual configuration.
    How would i add the suggested configuration in OMV?


    Here is what they suggest me to add: https://wiki.ubuntuusers.de/Archiv/SOGo/#Nginx
    or
    http://wiki.sogo.nu/nginxSettings

    • Offizieller Beitrag

    It seems strange to me to have another web serve those pages but ...


    I would install the nginx the plugin. Create a server in the server tab.


    Select none for directory.
    Select name-based for Host type and enter sogo fqdn.
    Enable ssl
    select ssl cert created on cert page
    Then paste all of the location sections in extra options.


    They may need some tweaking.

  • I agree and i had the same idea in the meantime
    Although my guess was i would have to add the servername and root directory as well.


    This is what i had put but no luck:



    I get either error 400 or bad gateway 502

    • Offizieller Beitrag

    There is already a server name and root field in the server section of the nginx plugin. Try what I posted and look at the logs that the nginx plugin allows you to view.

    omv 7.0.5-1 sandworm | 64 bit | 6.8 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.13 | compose 7.1.4 | k8s 7.1.0-3 | cputemp 7.0.1 | mergerfs 7.0.4


    omv-extras.org plugins source code and issue tracker - github - changelogs


    Please try ctrl-shift-R and read this before posting a question.

    Please put your OMV system details in your signature.
    Please don't PM for support... Too many PMs!

  • Ok. I have tried both configs and the result is the same.


    Here is what the error log says:


    Code
    2016/03/28 10:19:15 [error] 7051#0: *108 upstream prematurely closed connection while reading response header from upstream, client: ::ffff:192.168.1.39, server: debnas.beerbeach, request: "GET /SOGo HTTP/1.1", upstream: "http://127.0.0.1:20000/SOGo", host: "debnas.beerbeach"


    Does this ring any bell for you? Might be an issue with the SOGO backend...


    Here is what the sogo.log says:



    Seems it cannot connect to MySQL. Although i checked and the mysql account is there. Also the socket path is correct and the socket file exists...


    Also the socket seems to be open:


    Code
    tcp        0      0 0.0.0.0:3306            0.0.0.0:*               LISTEN      121        250221      14663/mysqld
  • I have solved the mysql error messages on the sogo backend. The sogo log looks good now.


    Unfortunately i still cannot access the sogo web frontend. Error stays the same as described above.


    Code
    Mar 28 15:36:01 sogod [25]: version 2.3.9 (build @shiva.inverse 201603161352) -- starting
    Mar 28 15:36:01 sogod [25]: vmem size check enabled: shutting down app when vmem > 384 MB
    Mar 28 15:36:01 sogod [25]: <0x0x7f19126600f8[SOGoProductLoader]> SOGo products loaded from '/usr/lib/GNUstep/SOGo':
    Mar 28 15:36:01 sogod [25]: <0x0x7f19126600f8[SOGoProductLoader]>   MainUI.SOGo, MailPartViewers.SOGo, PreferencesUI.SOGo, Contacts.SOGo, CommonUI.SOGo, Mai$
    Mar 28 15:36:01 sogod [25]: <0x0x7f191270d578[WOWatchDog]> listening on 127.0.0.1:20000
    Mar 28 15:36:01 sogod [25]: <0x0x7f191270d578[WOWatchDog]> watchdog process pid: 25
    Mar 28 15:36:01 sogod [25]: <0x0x7f1910ca96a0[WOWatchDogChild]> watchdog request timeout set to 10 minutes
    Mar 28 15:36:01 sogod [25]: <0x0x7f191270d578[WOWatchDog]> preparing 1 children
    Mar 28 15:36:01 sogod [25]: <0x0x7f191270d578[WOWatchDog]> child spawned with pid 51
    • Offizieller Beitrag

    I don't know anything about sogo. So, not much help here.

    omv 7.0.5-1 sandworm | 64 bit | 6.8 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.13 | compose 7.1.4 | k8s 7.1.0-3 | cputemp 7.0.1 | mergerfs 7.0.4


    omv-extras.org plugins source code and issue tracker - github - changelogs


    Please try ctrl-shift-R and read this before posting a question.

    Please put your OMV system details in your signature.
    Please don't PM for support... Too many PMs!

  • Ok. I have another question for you then...maybe you can help there.


    This sogo docker container comes with sogo and an integrated apache2 webserver. As I am using NGINX now i don't want the container to start the Apache2 server. How can i prevent the docker container from doing that?

    • Offizieller Beitrag

    Not sure about docker since I don't use it but update-rc.d -f apache2 remove usually does it. Not sure where you execute that either.

    omv 7.0.5-1 sandworm | 64 bit | 6.8 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.13 | compose 7.1.4 | k8s 7.1.0-3 | cputemp 7.0.1 | mergerfs 7.0.4


    omv-extras.org plugins source code and issue tracker - github - changelogs


    Please try ctrl-shift-R and read this before posting a question.

    Please put your OMV system details in your signature.
    Please don't PM for support... Too many PMs!

  • Tried that in the shell:


    Code
    root@debNAS:~# update-rc.d -f apache2 remove
    update-rc.d: using dependency based boot sequencing


    My guess is that Apache2 is started by docker when firing up the sogo container, so it probably has to be stopped from starting by some configuration inside docker.

    • Offizieller Beitrag

    You don't want to execute that on the OMV box. I know that for sure.

    omv 7.0.5-1 sandworm | 64 bit | 6.8 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.13 | compose 7.1.4 | k8s 7.1.0-3 | cputemp 7.0.1 | mergerfs 7.0.4


    omv-extras.org plugins source code and issue tracker - github - changelogs


    Please try ctrl-shift-R and read this before posting a question.

    Please put your OMV system details in your signature.
    Please don't PM for support... Too many PMs!

Jetzt mitmachen!

Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!