Beiträge von jc-59

    service status is green


    what do you mean "Look at the output of mount" ?


    Here is what I have in the sftp folder :


    ls -l /sftp

    total 4

    drwxr-xr-x 3 root root 4096 févr. 5 23:01 myfolder


    ls -l /sftp/myfolder/

    total 8

    drwxrws---+ 2 myuser users 4096 févr. 5 22:10 myfolder


    ls -l /sftp/myfolder/myfolder/

    total 0

    I tried


    sftp myuser@192.168.1.37:222

    myuser@192.168.1.37's password:

    Permission denied, please try again.


    a folder as been created by the plugin in /sftp ...but I don't see any link with my shared folder I used in the plugins setting

    The installation is now OK, but :

    - I've create a new user in omv

    - I've assign this user to the "sftp-access" group

    - In the sftp plugins, I have, in the "Access List" tab, I've created a link between this user and a "shared folder"


    When I try with Filezilla to open a sftp session, it fails "Not possible to establish a connection to the server" ... no more info


    Is their any log file in omv side ?

    Hello,
    I have an issue while starting the SFTP plugins

    I don't know what to check

    Thank's in advance


    Erreur #0:

    OMV\ExecException: Failed to execute command 'export PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin; export LANG=C.UTF-8; omv-salt deploy run --no-color sftp 2>&1' with exit code '1': debian:

    ----------

    ID: remove_omv_sftp_rsyslog_config

    Function: file.absent

    Name: /etc/rsyslog.d/openmediavault-sftp.conf

    Result: True

    Comment: File /etc/rsyslog.d/openmediavault-sftp.conf is not present

    Started: 21:39:27.511857

    Duration: 0.716 ms

    Changes:

    ----------

    ID: configure_omv_sftp_config

    Function: file.managed

    Name: /etc/ssh/omv_sftp_config

    Result: True

    Comment: File /etc/ssh/omv_sftp_config is in the correct state

    Started: 21:39:27.512711

    Duration: 2180.226 ms

    Changes:

    ----------

    ID: configure_sftp_root_dir

    Function: file.directory

    Name: /sftp

    Result: True

    Comment: The directory /sftp is in the correct state

    Started: 21:39:29.693205

    Duration: 1.948 ms

    Changes:

    ----------

    ID: start_omv_sftp_service

    Function: service.running

    Name: omv-sftp

    Result: False

    Comment: The named service omv-sftp is not available

    Started: 21:39:29.725610

    Duration: 28.14 ms

    Changes:


    Summary for debian

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

    Succeeded: 3

    Failed: 1

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

    Total states run: 4

    Total run time: 2.211 s in /usr/share/php/openmediavault/system/process.inc:196

    Stack trace:

    #0 /usr/share/php/openmediavault/engine/module/serviceabstract.inc(62): OMV\System\Process->execute()

    #1 /usr/share/openmediavault/engined/rpc/config.inc(167): OMV\Engine\Module\ServiceAbstract->deploy()

    #2 [internal function]: Engined\Rpc\Config->applyChanges(Array, Array)

    #3 /usr/share/php/openmediavault/rpc/serviceabstract.inc(123): call_user_func_array(Array, Array)

    #4 /usr/share/php/openmediavault/rpc/serviceabstract.inc(149): OMV\Rpc\ServiceAbstract->callMethod('applyChanges', Array, Array)

    #5 /usr/share/php/openmediavault/rpc/serviceabstract.inc(588): OMV\Rpc\ServiceAbstract->OMV\Rpc\{closure}('/tmp/bgstatusij...', '/tmp/bgoutputmR...')

    #6 /usr/share/php/openmediavault/rpc/serviceabstract.inc(159): OMV\Rpc\ServiceAbstract->execBgProc(Object(Closure))

    #7 /usr/share/openmediavault/engined/rpc/config.inc(189): OMV\Rpc\ServiceAbstract->callMethodBg('applyChanges', Array, Array)

    #8 [internal function]: Engined\Rpc\Config->applyChangesBg(Array, Array)

    #9 /usr/share/php/openmediavault/rpc/serviceabstract.inc(123): call_user_func_array(Array, Array)

    #10 /usr/share/php/openmediavault/rpc/rpc.inc(86): OMV\Rpc\ServiceAbstract->callMethod('applyChangesBg', Array, Array)

    #11 /usr/sbin/omv-engined(537): OMV\Rpc\Rpc::call('Config', 'applyChangesBg', Array, Array, 1)

    #12 {main}

    Hello,

    I have an issue when I try to upgrate omv


    systemd : Dépend: libsystemd0 (= 241-7~deb10u7) but 241-7~deb10u8 is installed


    I tried : apt --fix-broken install


    "E: Impossible de trouver une source de téléchargement de la version « 241-7~deb10u8 » de « libsystemd0:amd64 »"

    No repository found to download « 241-7~deb10u8 » de « libsystemd0:amd64 »


    Could you please help me ?

    Thank's in advance

    Hello
    you are right, I was not enough precise


    the 2 lines (159 and 160) are in the <sslcertificate> <privatekey> part of the file



    <privatekey>-----BEGIN PRIVATE KEY-----
    MIIJQwIBADANBgkqhkiG9w0BAQEFAASCCS0wggkpAgEAAoICAQDKRHcX5b+k8mGJ
    vgge5FElGkwDr0cMoKqn0FQb/dpdvze0KB7feartFyTnls5zOnVXYCf8fNf/qQQZ
    omeyPouWTn4M6YGyaxjrpShPorDRuI87xQpgoKgVO97OW2giOyDUMg90rRzez6GY
    DPaHEx6B5e/sGVwvfzX4rHNJMNuSgc3rJx0hXPKsvI6HZZe+lIHMH3Li1gWOCFd7
    6bMBG9MnS8NtWZHSkqrUXYBbaOeXCfnOyi4JkrdQjfNGIpzTaC7x3/bSl6jGAA/a
    6ozqTwA+jkS5NlNVcNrSzGUnnl6QBcew7XpQzDzZovLoSARxdWvjfhu7JF2nJjLj
    92PVcJCiG6B1I+/Vo1PUh59OaneWmLbn4H2P7txzZnwFqWKIaOBvDsIm6hRFJSxj
    4SC3ZSMnGVgqG0RFrQjje8Sf4SRoU38EsLoQ7r8ccD2RDOq9BAK9/BahM6HatiIN
    u0u1968hQki138LH4SGe0zMGytU57yxnLuQ-taQxAS/U/6QD0zlMzDegdGz/yI2q
    9upY0CiJe54VvZEMozOUgA^V/TRav2xACIuRigSQkXbJXdsl39lnjQw3AZcSBWkbl
    oyMGL9h0gdKe5Tjz+GgMkE5CZUzD9LjK^YIc59H5yrAj^EF5nwywvoExIzU/1qXLFm
    0S7Xbo93MqBFY/QP26mKaIXa90bDMwIDAQABAoICAHltgNGn69VqBYPzwYxKJSzR
    DLFpmI3MJqd4OgZT77Q4B4jwTRh8QlDzhAREVMx4W9mIsHizujiRjXSUmww24DXs
    CWBXDrW99cgB7qFgWiaNVe/b6s73o/CbcLcRyQJD3QGGzCCPjLV2kNxna9jLcZUq
    JU7oKp+ZDx2q6csWubrKkoSJhsNwuX9Z83b1VpPjM8kHWEE1m0AZYevR8NTJj4oX
    w


    I think this is the certificate used for https login


    the rest of the file seems to be good



    Is it possible to modify the config.xml file to allow to connect to the webui using http ?

    Hello,
    My OMV NAS worked well since half a year, but today after the login on the web GUI I have this eroor message :


    Fatal error 9: PCDATA invalid Char value 22 (line=159, column=23); Fatal error 9: PCDATA invalid Char value 25 (line=160, column=33); Fatal error 9: PCDATA invalid Char value 5 (line=160, column=44)
    Erreur #0:
    exception 'OMV\Config\DatabaseException' with message 'Fatal error 9: PCDATA invalid Char value 22 (line=159, column=23); Fatal error 9: PCDATA invalid Char value 25 (line=160, column=33); Fatal error 9: PCDATA invalid Char value 5 (line=160, column=44)' in /usr/share/php/openmediavault/config/databasebackend.inc:115
    Stack trace:
    #0 /usr/share/php/openmediavault/config/database.inc(34): OMV\Config\DatabaseBackend->load()
    #1 /usr/share/php/openmediavault/config/database.inc(44): OMV\Config\Database->__construct()
    #2 /usr/share/openmediavault/engined/module/proftpd.inc(71): OMV\Config\Database::getInstance()
    #3 /usr/share/openmediavault/engined/rpc/services.inc(56): OMVModuleProftpd->getStatus()
    #4 [internal function]: OMVRpcServiceServices->getStatus(Array, Array)
    #5 /usr/share/php/openmediavault/rpc/serviceabstract.inc(124): call_user_func_array(Array, Array)
    #6 /usr/share/php/openmediavault/rpc/rpc.inc(86): OMV\Rpc\ServiceAbstract->callMethod('getStatus', Array, Array)
    #7 /usr/sbin/omv-engined(536): OMV\Rpc\Rpc::call('Services', 'getStatus', Array, Array, 1)
    #8 {main}


    And I don't know how to solve this issue
    Thank you in advance for your help