OMV7 Docker Compose Cups don't work ...

  • I now want to install a print server on my OMV7 and have decided on Docker/Compose. Under OMV5, I had CUPS installed natively, which worked well. I've tried various Docker images, but none of them work for CUPS... Most of them require a username/password, but no combination I know of has been accepted.

    Than I found my currently following image:

    (From here)


    The page 192.xxx.x.xx:631/ opens (OpenPrinting CUPS 2.4.11), but after clicking on 'Administration (Verwaltung)' and entering the username/password (print/print), only 'Internal Server Error' appears in the Window.


    Example click on 'Klassen' :

    Classes

    Classes Error

    Unable to get class list

    Quote
    Bad file descriptor


    Maybe I have an error in the file or user permissions (appuser) or an incorrect entry in the shared folders...


    Need Help ...

    1x OMV 6 , 1x OMV 7

    komm wir essen Opa --------- Satzzeichen retten Leben :!:

  • A ports statement is not need and ignored when using host networking.


    Try changing the environment variables by removing one leading space like this:


    Code
    environment:
      CUPSADMIN: "print" 
      CUPSPASSWORD: "print"

    --
    Google is your friend and Bob's your uncle!


    A backup strategy is worthless unless you have a verified to work by testing restore strategy.


    OMV AMD64 7.x on headless Chenbro NR12000 1U Intel Xeon CPU E3-1230 V2 @ 3.30GHz 32GB ECC RAM.


  • Entering the password seems to work. If I enter the wrong one, the prompt keeps coming up. It only disappears when I type print/print. But then the error message appears (full black window, white letters, upper left corner) :

    Internal Server Error

    I've changed things quite often. And yes, I've read the references to 'Docker in OMV 7' and '(Docker) Compose Plugin For OMV7' on wiki.omv-extras.org (and some other sites in the WWW).

    Result of "check" :

    1x OMV 6 , 1x OMV 7

    komm wir essen Opa --------- Satzzeichen retten Leben :!:

    Edited 5 times, last by mirada ().

  • did change

    removing one leading space

    resulted in the error message:

    Code
    validating /srv/dev-disk-by-uuid-fb1e45f4-ea1c-4de9-b916-189ef60fe594/Docker/_appdata/cups/cups.yml: (root) Additional property environment is not allowed
    
    
    *** ERROR #1 ***
    
    
    END OF LINE
    

    then go back to previous configuration

    but the Result :

    see 'cups login.jpg' below


    try to log in with

    print : print

    root : my.root.pw

    my.user : my.user.pw


    but all are not accepted

    the password request keeps coming up


    maybe this helps:

    Code
    root@omv:/srv/dev-disk-by-uuid-fb1e45f4-ea1c-4de9-b916-189ef60fe594/Docker# ls -la
    insgesamt 48
    drwxrws---+  6 appuser users 4096 23. Apr 20:40 .
    drwxrws---+ 10 root    users 4096 15. Apr 20:50 ..
    drwxrws---+  6 appuser users 4096 23. Apr 22:32 _appdata
    drwxrws---+  2 root    users 4096 14. Apr 21:56 _backup_compose
    drwxrws---+  2 root    users 4096 23. Apr 20:40 _data
    drwx--x---+ 12 root    root  4096 23. Apr 22:01 _docker

    and 'Compose Files.jpg' below



    I'm hoping for some help, because this printer server is really getting on my nerves... <X

    1x OMV 6 , 1x OMV 7

    komm wir essen Opa --------- Satzzeichen retten Leben :!:

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!