Beiträge von jc-59

    Hello,

    Its's the first time I use Dockerfile to create my own docker image :


    OMV version : 6.9.10-4 (Shaitan)

    openmediavaul-compose 6.11.3

    Docker
    FROM nextcloud:apache
    
    RUN set -ex; \
        \
        apt update; \
        apt install -y --no-install-recommends \
            ffmpeg \
        ; \
        rm -rf /var/lib/apt/lists/*


    But it failled


    I've just followed NEXTCLOUD AIO WITHOUT PROXY guide


    Of course i've stopped my nginx container


    I have the same issue ...


    Hello,
    I followed NEXTCLOUD AIO WITH PROXY guide


    When I access to https://[SERVER_IP]:8080 , I have the following error

    Proxy Error

    The proxy server received an invalid response from an upstream server.

    The proxy server could not handle the request

    Reason: DNS lookup failure for: localhost

    Apache/2.4.58 (Unix) Server at 192.168.1.37 Port 8080


    I'm searching since hours without any progress ...
    Any hint ?


    Hello,

    I followed this thread to upgrade : Is there a guide to in place upgrade?


    So i did

    sudo omv-salt stage run deploy --> No error message

    sudo omv-upgrade --> No error message

    sudo omv-release-upgrade --> No error message

    reboot

    sudo omv-upgrade --> the upgrade stops with the following message



    Setting up libnsl2:amd64 (1.3.0-2) ...

    (Reading database ... 106284 files and directories currently installed.)

    Preparing to unpack .../libpam-modules_1.4.0-9+deb11u1_amd64.deb ...

    Redundant argument in sprintf at /usr/share/perl5/Debconf/Element/Noninteractive/Error.pm line 54, <GEN1> line 3.

    Configuring libpam-modules

    --------------------------


    you are using pam_tally or pam_tally2 in your configuration


    The pam_tally and pam_tally2 modules have been removed from PAM. You are

    using one of these modules in your PAM configuration in /etc/pam.d. You must

    remove the uses of these modules before PAM can be upgraded; including these

    modules in your PAM configuration after the upgrade will stop users from

    being able to log into the system.


    Consider the pam_faillock module as a replacement for pam_tally.


    dpkg: error processing archive /var/cache/apt/archives/libpam-modules_1.4.0-9+deb11u1_amd64.deb (--unpack):

    new libpam-modules:amd64 package pre-installation script subprocess returned error exit status 2

    Errors were encountered while processing:

    /var/cache/apt/archives/libpam-modules_1.4.0-9+deb11u1_amd64.deb

    E: Sub-process /usr/bin/dpkg returned an error code (1)


    Now I can not relauch omv-upgrade ... command is unknown


    What can I do ?

    before

    Bash
     ls -la /
    total 72
    drwxrwxr-x  20 root root  4096 févr.  5 10:28 .
    drwxrwxr-x  20 root root  4096 févr.  5 10:28 ..


    after

    Bash
    ls -la /
    total 72
    drwxr-xr-x  20 root root  4096 févr.  5 10:28 .
    drwxr-xr-x  20 root root  4096 févr.  5 10:28 ..


    now I can open a sftp session for myuser


    Thank you for your help

    Code
    sudo grep sftp /var/log/syslog
    
    ...
    
    Feb  6 16:23:15 OMV-SAVE systemd[1]: Started /bin/systemctl restart omv-sftp.service.
    Feb  6 16:23:15 OMV-SAVE systemd[1]: Stopping openmediavault sftp plugin service...
    Feb  6 16:23:15 OMV-SAVE systemd[1]: omv-sftp.service: Succeeded.
    Feb  6 16:23:15 OMV-SAVE systemd[1]: Stopped openmediavault sftp plugin service.
    Feb  6 16:23:15 OMV-SAVE systemd[1]: Started openmediavault sftp plugin service.
    Code
     sudo journalctl -u omv-sftp
    -- Logs begin at Sat 2022-02-05 11:10:49 CET, end at Sun 2022-02-06 16:54:48 CET. --
    ...
    
    févr. 06 16:49:13 OMV-SAVE sshd[20529]: Accepted password for myuser from 192.168.1.37 port 43996 ssh2
    févr. 06 16:49:13 OMV-SAVE sshd[20529]: pam_unix(sshd:session): session opened for user myuser by (uid=0)
    févr. 06 16:49:13 OMV-SAVE sshd[20537]: fatal: bad ownership or modes for chroot directory component "/"
    févr. 06 16:49:13 OMV-SAVE sshd[20529]: pam_unix(sshd:session): session closed for user myuser