Browser access denied

  • Dear All,


    In the spring I installed the OMV and I was able to access it via browser and set up all the basic settings. This is now my first attempt to access it again but my access is denied by the browser. Could anybody help me with this? I tried direct access via HP ilo4 and get the information in the attachmentforum.openmediavault.org/wsc/index.php?attachment/37751/. What could be wrong?


    best regards

    Timo

    • New
    • Official Post

    but my access is denied by the browser.

    What does that mean? Do you get an "access denied" error message or does it just go back to the credential page without message?

  • you can't login on a shell using admin account, need root acoount instead.


    if can login as root you can use omv-firstaid to restore login atempts on webGUI or rest admin password, etc...

  • I was able to use root password and use omv-firstaid. I did reset the failed log in counter but what does this help since I cannot access omv via web Gui? All I get when I try to access the message "error connection refused" as in the attachement. I have no possiblility to key in my credentials in browser. And I have my credentials written in my phone so they are correct. So my problem is how do I get the first screen of omv? I have also checked using FING that the device address is correct.

    best regards

    Timo

  • As I told in my previous post I was able to access omv-firstaid. I did reset the counter but that did not help. What else should I do in omv-firstaid?

    • New
    • Official Post

    Use omv-firstaid to configure the workbench (set port to the default 80).


    If that does not help, post the output of

    sudo systemctl status openmediavault-engined

    and

    sudo omv-salt deploy run nginx phpfpm

    • New
    • Official Post

    I have no possiblility to key in my credentials in browser. And I have my credentials written in my phone so they are correct.

    This is confusing? Why do you mention that your credentials are correct, if you are not able to enter them? Is there a misunderstanding?

    Do you see the window where you can add your credentials for the user "admin"?

  • ID: reload_monit_service

    Function: service.running

    Name: monit

    Result: True

    Comment: Service reloaded

    Started: 18:52:27.359733

    Duration: 52.333 ms

    Changes:

    ----------

    monit:

    True

    ----------

    ID: configure_nginx_site_webgui

    Function: file.managed

    Name: /etc/nginx/sites-available/openmediavault-webgui

    Result: True

    Comment: File /etc/nginx/sites-available/openmediavault-webgui is in the correct state

    Started: 18:52:27.412217

    Duration: 108.203 ms

    Changes:

    ----------

    ID: configure_nginx_security

    Function: file.managed

    Name: /etc/nginx/openmediavault-webgui.d/security.conf

    Result: True

    Comment: File /etc/nginx/openmediavault-webgui.d/security.conf is in the correct state

    Started: 18:52:27.520515

    Duration: 82.082 ms

    Changes:

    ----------

    ID: execute_nginx_ensite

    Function: cmd.run

    Name: nginx_ensite openmediavault-webgui

    Result: True

    Comment: Command "nginx_ensite openmediavault-webgui" run

    Started: 18:52:27.602681

    Duration: 4.001 ms

    Changes:

    ----------

    pid:

    5936

    retcode:

    0

    stderr:

    stdout:

    Site configuration file 'openmediavault-webgui' is already enabled.

    ----------

    ID: test_nginx_service_config

    Function: cmd.run

    Name: nginx -t

    Result: True

    Comment: Command "nginx -t" run

    Started: 18:52:27.606769

    Duration: 5.314 ms

    Changes:

    ----------

    pid:

    5937

    retcode:

    0

    stderr:

    nginx: the configuration file /etc/nginx/nginx.conf syntax is ok

    nginx: configuration file /etc/nginx/nginx.conf test is successful

    stdout:

    ----------

    ID: restart_nginx_service

    Function: service.running

    Name: nginx

    Result: True

    Comment: The service nginx is already running

    Started: 18:52:27.612566

    Duration: 17.537 ms

    Changes:

    ----------

    ID: monitor_nginx_service

    Function: module.run

    Result: True

    Comment: monit.monitor: True

    Started: 18:52:27.630489

    Duration: 6.615 ms

    Changes:

    ----------

    monit.monitor:

    True

    ----------

    ID: configure_phpfpm_webgui

    Function: file.managed

    Name: /etc/php/8.2/fpm/pool.d/openmediavault-webgui.conf

    Result: True

    Comment: File /etc/php/8.2/fpm/pool.d/openmediavault-webgui.conf is in the correct state

    Started: 18:52:27.637205

    Duration: 35.541 ms

    Changes:

    ----------

    ID: test_phpfpm_service_config

    Function: cmd.run

    Name: php-fpm8.2 --test

    Result: True

    Comment: Command "php-fpm8.2 --test" run

    Started: 18:52:27.672853

    Duration: 37.592 ms

    Changes:

    ----------

    pid:

    5947

    retcode:

    0

    stderr:

    [30-Oct-2024 18:52:27] NOTICE: configuration file /etc/php/8.2/fpm/php-fpm.conf test is successful

    stdout:

    ----------

    ID: restart_phpfpm_service

    Function: service.running

    Name: php8.2-fpm

    Result: True

    Comment: The service php8.2-fpm is already running

    Started: 18:52:27.710970

    Duration: 17.578 ms

    Changes:

    ----------

    ID: monitor_phpfpm_service

    Function: module.run

    Result: True

    Comment: monit.monitor: True

    Started: 18:52:27.728865

    Duration: 6.152 ms

    Changes:

    ----------

    monit.monitor:

    True


    Summary for debian

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

    Succeeded: 24 (changed=15)

    Failed: 0

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

    Total states run: 24

    Total run time: 1.091 s

    root@kotiboksi:~# debian:

    ----------

    ID: cleanup_monit_conf_dir

    Function: module.run

    Result: True

    Comment: file.find: ['/etc/monit/conf.d/openmediavault-collectd.conf', '/etc/monit/conf.d/openmediavault-engined.conf', '/etc/monit/conf.d/openmediavault-filesystem.conf', '/etc/monit/conf.d/openmediavault-nginx.conf', '/etc/monit/conf.d/openmediavault-phpfpm.conf', '/etc/monit/conf.d/openmediavault-rrdcached.conf', '/etc/monit/conf.d/openmediavault-system.conf']

    Started: 18:52:25.975008

    Duration: 1.147 ms

    Changes:

    ----------

    file.find:

    - /etc/monit/conf.d/openmediavault-collectd.conf

    - /etc/monit/conf.d/openmediavault-engined.conf

    - /etc/monit/conf.d/openmediavault-filesystem.conf

    - /etc/monit/conf.d/openmediavault-nginx.conf

    - /etc/monit/conf.d/openmediavault-phpfpm.conf

    - /etc/monit/conf.d/openmediavault-rrdcached.conf

    - /etc/monit/conf.d/openmediavault-system.conf

    ----------

    ID: configure_default_monit

    Function: file.managed

    Name: /etc/default/monit

    Result: True

    Comment: File /etc/default/monit is in the correct state

    Started: 18:52:25.977566

    Duration: 32.212 ms

    Changes:

    ----------

    ID: divert_default_monit

    Function: omv_dpkg.divert_add

    Name: /etc/default/monit

    Result: True

    Comment: Leaving 'local diversion of /etc/default/monit to /etc/default/monit.distrib'

    Started: 18:52:26.010135

    Duration: 14.752 ms

    Changes:

    ----------

    ID: configure_monit_monitrc

    Function: file.managed

    Name: /etc/monit/monitrc

    Result: True

    Comment: File /etc/monit/monitrc is in the correct state

    Started: 18:52:26.024999

    Duration: 90.938 ms

    Changes:

    ----------

    ID: divert_monit_monitrc

    Function: omv_dpkg.divert_add

    Name: /etc/monit/monitrc

    Result: True

    Comment: Leaving 'local diversion of /etc/monit/monitrc to /etc/monit/monitrc.distrib'

    Started: 18:52:26.116035

    Duration: 6.982 ms

    Changes:

    ----------

    ID: configure_monit_collectd_service

    Function: file.managed

    Name: /etc/monit/conf.d/openmediavault-collectd.conf

    Result: True

    Comment: File /etc/monit/conf.d/openmediavault-collectd.conf updated

    Started: 18:52:26.123112

    Duration: 80.192 ms

    Changes:

    ----------

    diff:

    New file

    mode:

    0644

    ----------

    ID: configure_monit_filesystem_service

    Result: TrueResult: TrueResult: True^C: 1.091 sr:5Trueice is already runninguration file /etc/php/8.2/fpm/php-fpm.conf test is successful

    root@kotiboksi:~# ID: configure_nginx_site_webgui

    Function: file.managed

    Name: /etc/nginx/sites-available/openmediavault-webgui

    Result: True

    Comment: File /etc/nginx/sites-available/openmediavault-webgui is in the correct state

    Started: 18:52:27.412217

    Duration: 108.203 ms

    Changes:

    ----------

    ID: configure_nginx_security

    Function: file.managed

    Name: /etc/nginx/openmediavault-webgui.d/security.conf

    Result: True

    Comment: File /etc/nginx/openmediavault-webgui.d/security.conf is in the correct state

    Started: 18:52:27.520515

    Duration: 82.082 ms

    Changes:

    ----------

    ID: execute_nginx_ensite

    Function: cmd.run

    Name: nginx_ensite openmediavault-webgui

    Result: True

    Comment: Command "nginx_ensite openmediavault-webgui" run

    Started: 18:52:27.602681

    Duration: 4.001 ms

    Changes:

    ----------

    pid:

    5936

    retcode:

    0

    stderr:

    stdout:

    Site configuration file 'openmediavault-webgui' is already enabled.

    ----------

    ID: test_nginx_service_config

    Function: cmd.run

    Name: nginx -t

    Result: True

    Comment: Command "nginx -t" run

    Started: 18:52:27.606769

    Duration: 5.314 ms

    Changes:

    ----------

    pid:

    5937

    retcode:

    0

    stderr:

    nginx: the configuration file /etc/nginx/nginx.conf syntax is ok

    nginx: configuration file /etc/nginx/nginx.conf test is successful

    stdout:

    ----------

    ID: restart_nginx_service

    Function: service.running

    Name: nginx

    Result: True

    Comment: The service nginx is already running

    Started: 18:52:27.612566

    Duration: 17.537 ms

    Changes:

    ----------

    ID: monitor_nginx_service

    Function: module.run

    Result: True

    Comment: monit.monitor: True

    Started: 18:52:27.630489

    Duration: 6.615 ms

    Changes:

    ----------

    monit.monitor:

Participate now!

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