This is a BIG Machine. Who many users?
Posts by pcon
-
-
apt-get install --reinstall python3-pycryptodome That is the solution.
Thanks to all supporter.
-
I think you have altered too much of your python environment.
I don't have change nothing in Python. Only upgrade from OMV 5 to OMV 6 not more and not less.
-
try this:
file /usr/lib/python3/dist-packages/Cryptodome/Util/../Hash/_MD5.cpython-39-x86_64-linux-gnu.so and
file /usr/lib/python3/dist-packages/Cryptodome/Util/../Hash/GTS_Root_R3.pem
In your case, this would report al link and the second ???
executed the file command, one broken link and a non existing file.
Coderoot@OMV:~# file /usr/lib/python3/dist-packages/Cryptodome/Util/../Hash/_MD5.cpython-39-x86_64-linux-gnu.so /usr/lib/python3/dist-packages/Cryptodome/Util/../Hash/_MD5.cpython-39-x86_64-linux-gnu.so: broken symbolic link to GTS_Root_R3.pem root@OMV:~# file /usr/lib/python3/dist-packages/Cryptodome/Util/../Hash/GTS_Root_R3.pem /usr/lib/python3/dist-packages/Cryptodome/Util/../Hash/GTS_Root_R3.pem: cannot open `/usr/lib/python3/dist-packages/Cryptodome/Util/../Hash/GTS_Root_R3.pem' (No such file or directory) root@TerraOMV:~#
-
I bet it needs usrmerge installed. apt-get install usrmerge then run the fix script - https://github.com/OpenMediaVa…lob/master/fix5to6upgrade
run apt install usrmerge message: usrmerge is already the latest version.
Codeapt install usrmerge Package lists are read... Done Dependency tree is built... Done Status information is read... Done usrmerge is already the latest version (25). 0 updated, 0 reinstalled, 0 to remove and 0 not updated.
executing the script I get the same and other error messages. See the attached file. Code box not possible:
-
Zoki pycryptodome is installed see the code box.
Coderoot@OMV:~# ls -l /usr/lib/python3/dist-packages/Cryptodome/Util/../Hash/_MD5.cpython-39-x86_64-linux-gnu.so lrwxrwxrwx 1 root root 15 10. Jul 2021 /usr/lib/python3/dist-packages/Cryptodome/Util/../Hash/_MD5.cpython-39-x86_64-linux-gnu.so -> GTS_Root_R3.pem root@OMV:~# apt install python3-pycryptodome Paketlisten werden gelesen… Fertig Abhängigkeitsbaum wird aufgebaut… Fertig Statusinformationen werden eingelesen… Fertig python3-pycryptodome ist schon die neueste Version (3.9.7+dfsg1-1+b2). 0 aktualisiert, 0 neu installiert, 0 zu entfernen und 0 nicht aktualisiert.
-
Here the error messaage in a Code Box
Python
Display More500 - Internal Server Error Failed to execute command 'export PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin; export LANG=C.UTF-8; export LANGUAGE=; omv-salt deploy run --no-color cronapt 2>&1' with exit code '1': Traceback (most recent call last): File "/sbin/omv-salt", line 152, in <module> sys.exit(main()) File "/sbin/omv-salt", line 147, in main cli() File "/usr/lib/python3/dist-packages/click/core.py", line 829, in __call__ return self.main(*args, **kwargs) File "/usr/lib/python3/dist-packages/click/core.py", line 782, in main rv = self.invoke(ctx) File "/usr/lib/python3/dist-packages/click/core.py", line 1259, in invoke return _process_result(sub_ctx.command.invoke(sub_ctx)) File "/usr/lib/python3/dist-packages/click/core.py", line 1259, in invoke return _process_result(sub_ctx.command.invoke(sub_ctx)) File "/usr/lib/python3/dist-packages/click/core.py", line 1066, in invoke return ctx.invoke(self.callback, **ctx.params) File "/usr/lib/python3/dist-packages/click/core.py", line 610, in invoke return callback(*args, **kwargs) File "/sbin/omv-salt", line 133, in deploy_run caller = salt.client.Caller(mopts=mopts) File "/usr/lib/python3/dist-packages/salt/client/__init__.py", line 2098, in __init__ import salt.minion File "/usr/lib/python3/dist-packages/salt/minion.py", line 26, in <module> import salt.crypt File "/usr/lib/python3/dist-packages/salt/crypt.py", line 53, in <module> from Cryptodome.Cipher import AES, PKCS1_OAEP, PKCS1_v1_5 as PKCS1_v1_5_CIPHER File "/usr/lib/python3/dist-packages/Cryptodome/Cipher/__init__.py", line 35, in <module> from Cryptodome.Cipher._mode_siv import _create_siv_cipher File "/usr/lib/python3/dist-packages/Cryptodome/Cipher/_mode_siv.py", line 44, in <module> from Cryptodome.Protocol.KDF import _S2V File "/usr/lib/python3/dist-packages/Cryptodome/Protocol/KDF.py", line 32, in <module> from Cryptodome.Hash import SHA1, SHA256, HMAC, CMAC, BLAKE2s File "/usr/lib/python3/dist-packages/Cryptodome/Hash/HMAC.py", line 38, in <module> from Cryptodome.Hash import MD5 File "/usr/lib/python3/dist-packages/Cryptodome/Hash/MD5.py", line 29, in <module> _raw_md5_lib = load_pycryptodome_raw_lib("Cryptodome.Hash._MD5", File "/usr/lib/python3/dist-packages/Cryptodome/Util/_raw_api.py", line 303, in load_pycryptodome_raw_lib raise OSError("Cannot load native module '%s': %s" % (name, ", ".join(attempts))) OSError: Cannot load native module 'Cryptodome.Hash._MD5': Trying '_MD5.cpython-39-x86_64-linux-gnu.so': /usr/lib/python3/dist-packages/Cryptodome/Util/../Hash/_MD5.cpython-39-x86_64-linux-gnu.so: cannot open shared object file: No such file or directory, Trying '_MD5.abi3.so': /usr/lib/python3/dist-packages/Cryptodome/Util/../Hash/_MD5.abi3.so: cannot open shared object file: No such file or directory, Trying '_MD5.so': /usr/lib/python3/dist-packages/Cryptodome/Util/../Hash/_MD5.so: cannot open shared object file: No such file or directory 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; export LANGUAGE=; omv-salt deploy run --no-color cronapt 2>&1' with exit code '1': Traceback (most recent call last): File "/sbin/omv-salt", line 152, in <module> sys.exit(main()) File "/sbin/omv-salt", line 147, in main cli() File "/usr/lib/python3/dist-packages/click/core.py", line 829, in __call__ return self.main(*args, **kwargs) File "/usr/lib/python3/dist-packages/click/core.py", line 782, in main rv = self.invoke(ctx) File "/usr/lib/python3/dist-packages/click/core.py", line 1259, in invoke return _process_result(sub_ctx.command.invoke(sub_ctx)) File "/usr/lib/python3/dist-packages/click/core.py", line 1259, in invoke return _process_result(sub_ctx.command.invoke(sub_ctx)) File "/usr/lib/python3/dist-packages/click/core.py", line 1066, in invoke return ctx.invoke(self.callback, **ctx.params) File "/usr/lib/python3/dist-packages/click/core.py", line 610, in invoke return callback(*args, **kwargs) File "/sbin/omv-salt", line 133, in deploy_run caller = salt.client.Caller(mopts=mopts) File "/usr/lib/python3/dist-packages/salt/client/__init__.py", line 2098, in __init__ import salt.minion File "/usr/lib/python3/dist-packages/salt/minion.py", line 26, in <module> import salt.crypt File "/usr/lib/python3/dist-packages/salt/crypt.py", line 53, in <module> from Cryptodome.Cipher import AES, PKCS1_OAEP, PKCS1_v1_5 as PKCS1_v1_5_CIPHER File "/usr/lib/python3/dist-packages/Cryptodome/Cipher/__init__.py", line 35, in <module> from Cryptodome.Cipher._mode_siv import _create_siv_cipher File "/usr/lib/python3/dist-packages/Cryptodome/Cipher/_mode_siv.py", line 44, in <module> from Cryptodome.Protocol.KDF import _S2V File "/usr/lib/python3/dist-packages/Cryptodome/Protocol/KDF.py", line 32, in <module> from Cryptodome.Hash import SHA1, SHA256, HMAC, CMAC, BLAKE2s File "/usr/lib/python3/dist-packages/Cryptodome/Hash/HMAC.py", line 38, in <module> from Cryptodome.Hash import MD5 File "/usr/lib/python3/dist-packages/Cryptodome/Hash/MD5.py", line 29, in <module> _raw_md5_lib = load_pycryptodome_raw_lib("Cryptodome.Hash._MD5", File "/usr/lib/python3/dist-packages/Cryptodome/Util/_raw_api.py", line 303, in load_pycryptodome_raw_lib raise OSError("Cannot load native module '%s': %s" % (name, ", ".join(attempts))) OSError: Cannot load native module 'Cryptodome.Hash._MD5': Trying '_MD5.cpython-39-x86_64-linux-gnu.so': /usr/lib/python3/dist-packages/Cryptodome/Util/../Hash/_MD5.cpython-39-x86_64-linux-gnu.so: cannot open shared object file: No such file or directory, Trying '_MD5.abi3.so': /usr/lib/python3/dist-packages/Cryptodome/Util/../Hash/_MD5.abi3.so: cannot open shared object file: No such file or directory, Trying '_MD5.so': /usr/lib/python3/dist-packages/Cryptodome/Util/../Hash/_MD5.so: cannot open shared object file: No such file or directory in /usr/share/php/openmediavault/system/process.inc:197 Stack trace: #0 /usr/share/php/openmediavault/engine/module/serviceabstract.inc(62): OMV\System\Process->execute() #1 /usr/share/openmediavault/engined/rpc/config.inc(170): 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/bgstatusVA...', '/tmp/bgoutput2B...') #6 /usr/share/php/openmediavault/rpc/serviceabstract.inc(159): OMV\Rpc\ServiceAbstract->execBgProc(Object(Closure)) #7 /usr/share/openmediavault/engined/rpc/config.inc(192): 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}
-
I have an issue after the upgrade from OMV 5 to OMV 6. After the first login I get the message: "Pending configuration changes. You must apply these changes in order for them to take effect." If I start and confirm the pending configuration changes I get an error messages: 500 - Internal Server Error Failed to execute command 'export PATH=/bin: ... Do you have any idea what to do?
cu pcon
500 - Internal Server Error
Failed to execute command 'export PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin; export LANG=C.UTF-8; export LANGUAGE=; omv-salt deploy run --no-color cronapt 2>&1' with exit code '1': Traceback (most recent call last):
File "/sbin/omv-salt", line 152, in <module>
sys.exit(main())
File "/sbin/omv-salt", line 147, in main
cli()
File "/usr/lib/python3/dist-packages/click/core.py", line 829, in __call__
return self.main(*args, **kwargs)
File "/usr/lib/python3/dist-packages/click/core.py", line 782, in main
rv = self.invoke(ctx)
File "/usr/lib/python3/dist-packages/click/core.py", line 1259, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/usr/lib/python3/dist-packages/click/core.py", line 1259, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/usr/lib/python3/dist-packages/click/core.py", line 1066, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/usr/lib/python3/dist-packages/click/core.py", line 610, in invoke
return callback(*args, **kwargs)
File "/sbin/omv-salt", line 133, in deploy_run
caller = salt.client.Caller(mopts=mopts)
File "/usr/lib/python3/dist-packages/salt/client/__init__.py", line 2098, in __init__
import salt.minion
File "/usr/lib/python3/dist-packages/salt/minion.py", line 26, in <module>
import salt.crypt
File "/usr/lib/python3/dist-packages/salt/crypt.py", line 53, in <module>
from Cryptodome.Cipher import AES, PKCS1_OAEP, PKCS1_v1_5 as PKCS1_v1_5_CIPHER
File "/usr/lib/python3/dist-packages/Cryptodome/Cipher/__init__.py", line 35, in <module>
from Cryptodome.Cipher._mode_siv import _create_siv_cipher
File "/usr/lib/python3/dist-packages/Cryptodome/Cipher/_mode_siv.py", line 44, in <module>
from Cryptodome.Protocol.KDF import _S2V
File "/usr/lib/python3/dist-packages/Cryptodome/Protocol/KDF.py", line 32, in <module>
from Cryptodome.Hash import SHA1, SHA256, HMAC, CMAC, BLAKE2s
File "/usr/lib/python3/dist-packages/Cryptodome/Hash/HMAC.py", line 38, in <module>
from Cryptodome.Hash import MD5
File "/usr/lib/python3/dist-packages/Cryptodome/Hash/MD5.py", line 29, in <module>
_raw_md5_lib = load_pycryptodome_raw_lib("Cryptodome.Hash._MD5",
File "/usr/lib/python3/dist-packages/Cryptodome/Util/_raw_api.py", line 303, in load_pycryptodome_raw_lib
raise OSError("Cannot load native module '%s': %s" % (name, ", ".join(attempts)))
OSError: Cannot load native module 'Cryptodome.Hash._MD5': Trying '_MD5.cpython-39-x86_64-linux-gnu.so': /usr/lib/python3/dist-packages/Cryptodome/Util/../Hash/_MD5.cpython-39-x86_64-linux-gnu.so: cannot open shared object file: No such file or directory, Trying '_MD5.abi3.so': /usr/lib/python3/dist-packages/Cryptodome/Util/../Hash/_MD5.abi3.so: cannot open shared object file: No such file or directory, Trying '_MD5.so': /usr/lib/python3/dist-packages/Cryptodome/Util/../Hash/_MD5.so: cannot open shared object file: No such file or directory
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; export LANGUAGE=; omv-salt deploy run --no-color cronapt 2>&1' with exit code '1': Traceback (most recent call last):
File "/sbin/omv-salt", line 152, in <module>
sys.exit(main())
File "/sbin/omv-salt", line 147, in main
cli()
File "/usr/lib/python3/dist-packages/click/core.py", line 829, in __call__
return self.main(*args, **kwargs)
File "/usr/lib/python3/dist-packages/click/core.py", line 782, in main
rv = self.invoke(ctx)
File "/usr/lib/python3/dist-packages/click/core.py", line 1259, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/usr/lib/python3/dist-packages/click/core.py", line 1259, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/usr/lib/python3/dist-packages/click/core.py", line 1066, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/usr/lib/python3/dist-packages/click/core.py", line 610, in invoke
return callback(*args, **kwargs)
File "/sbin/omv-salt", line 133, in deploy_run
caller = salt.client.Caller(mopts=mopts)
File "/usr/lib/python3/dist-packages/salt/client/__init__.py", line 2098, in __init__
import salt.minion
File "/usr/lib/python3/dist-packages/salt/minion.py", line 26, in <module>
import salt.crypt
File "/usr/lib/python3/dist-packages/salt/crypt.py", line 53, in <module>
from Cryptodome.Cipher import AES, PKCS1_OAEP, PKCS1_v1_5 as PKCS1_v1_5_CIPHER
File "/usr/lib/python3/dist-packages/Cryptodome/Cipher/__init__.py", line 35, in <module>
from Cryptodome.Cipher._mode_siv import _create_siv_cipher
File "/usr/lib/python3/dist-packages/Cryptodome/Cipher/_mode_siv.py", line 44, in <module>
from Cryptodome.Protocol.KDF import _S2V
File "/usr/lib/python3/dist-packages/Cryptodome/Protocol/KDF.py", line 32, in <module>
from Cryptodome.Hash import SHA1, SHA256, HMAC, CMAC, BLAKE2s
File "/usr/lib/python3/dist-packages/Cryptodome/Hash/HMAC.py", line 38, in <module>
from Cryptodome.Hash import MD5
File "/usr/lib/python3/dist-packages/Cryptodome/Hash/MD5.py", line 29, in <module>
_raw_md5_lib = load_pycryptodome_raw_lib("Cryptodome.Hash._MD5",
File "/usr/lib/python3/dist-packages/Cryptodome/Util/_raw_api.py", line 303, in load_pycryptodome_raw_lib
raise OSError("Cannot load native module '%s': %s" % (name, ", ".join(attempts)))
OSError: Cannot load native module 'Cryptodome.Hash._MD5': Trying '_MD5.cpython-39-x86_64-linux-gnu.so': /usr/lib/python3/dist-packages/Cryptodome/Util/../Hash/_MD5.cpython-39-x86_64-linux-gnu.so: cannot open shared object file: No such file or directory, Trying '_MD5.abi3.so': /usr/lib/python3/dist-packages/Cryptodome/Util/../Hash/_MD5.abi3.so: cannot open shared object file: No such file or directory, Trying '_MD5.so': /usr/lib/python3/dist-packages/Cryptodome/Util/../Hash/_MD5.so: cannot open shared object file: No such file or directory in /usr/share/php/openmediavault/system/process.inc:197
Stack trace:
#0 /usr/share/php/openmediavault/engine/module/serviceabstract.inc(62): OMV\System\Process->execute()
#1 /usr/share/openmediavault/engined/rpc/config.inc(170): 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/bgstatusVA...', '/tmp/bgoutput2B...')
#6 /usr/share/php/openmediavault/rpc/serviceabstract.inc(159): OMV\Rpc\ServiceAbstract->execBgProc(Object(Closure))
#7 /usr/share/openmediavault/engined/rpc/config.inc(192): 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}
-
Sul OMV5 non e possibile connetare con la versione SMB1 che tante stampante usano ancora.
Se volete davvero usare SMBv1 (cattiva idea), fatelo come root nel file smb.conf
nella sezione GLOBAL aggiungere
restart Samba -
Pue essere che la stampante usa SMB1 e il OMV 5 usa SMB 3 e questo causa problemi con le vecchie stampanti multifunzione che cercano di eseguire la scansione sulle condivisioni SMB 3.0. Consiglierei di aggiornare il firmware della Canon iRC per vedere se è compatibile con SMB 3.0.
-
-
I will try the fix and test the code and give feedback.
Update #1
@nrand
I have tested with 3 cycles and the code change for line 965 is working fine.You wrote that you fix this issue in 6.03. If there any changes to do before update to 6.03? Maybe rollback the code change for line 965?
Nov 8 22:35:24 Box autoshutdown[731]: root: INFO: '_check_hddio(): All checks complete'
Nov 8 22:35:28 Box autoshutdown[731]: root: INFO: '_check_processes(): Found 0 process(es) active -> next check'
Nov 8 22:35:28 Box autoshutdown[731]: root: INFO: 'main(): All active checks passed, 2 cycles until shutdown ...'
Nov 8 22:35:28 Box autoshutdown[731]: root: INFO: 'main(): Sleep for 180s'
Nov 8 22:38:28 Box autoshutdown[731]: root: INFO: 'main(): ------------------------------------------------------'
Nov 8 22:38:28 Box autoshutdown[731]: root: INFO: 'main(): New supervision cycle started, checking system activity'
Nov 8 22:38:28 Box autoshutdown[731]: root: DEBUG: '_ping_range(): pinglist_array: 192.xxx.xxx.114 192.xxx.xxx.128'
Nov 8 22:38:28 Box autoshutdown[731]: root: INFO: '_ping_range(): Retrieve list of active IPs for: enp2s0'
Nov 8 22:38:29 Box autoshutdown[731]: root: INFO: '_ping_range(): No active IPs found in the specified range -> next check'
Nov 8 22:38:29 Box autoshutdown[731]: root: INFO: '_check_net_status(): Found 0 active socket(s) from port(s): 21,22,80,3689,6991,9091,49152'
Nov 8 22:38:30 Box autoshutdown[731]: root: INFO: '_check_docker_status(): Found 0 active socket(s) from port(s): 21,22,80,3689,6991,9091,491 52'
Nov 8 22:38:30 Box autoshutdown[731]: root: INFO: '_check_users_status(): There are no users connected -> next check'
Nov 8 22:38:30 Box autoshutdown[731]: root: INFO: '_check_smb_status(): No SMB clients connected with locks -> next check'
Nov 8 22:38:30 Box autoshutdown[731]: root: INFO: '_check_ul_dl_rate(): Running on interface: enp2s0'
Nov 8 22:38:30 Box autoshutdown[731]: root: INFO: '_check_ul_dl_rate(): Network interface: enp2s0 (last 187s) DL: 0.3 kB/s, UL: 0.0 kB/s unde r 50 kB/s -> next check'
Nov 8 22:38:30 Box autoshutdown[731]: root: INFO: '_check_hddio(): Device: sda (last 187s) kB_read/s: 0.0, kB_wrtn/s: 0.0 under: 401 kB/s -> next check'
Nov 8 22:38:30 Box autoshutdown[731]: root: INFO: '_check_hddio(): Device: sdb (last 187s) kB_read/s: 0.0, kB_wrtn/s: 0.0 under: 401 kB/s -> next check'
Nov 8 22:38:30 Box autoshutdown[731]: root: INFO: '_check_hddio(): Device: sdc (last 187s) kB_read/s: 0.7, kB_wrtn/s: 6.7 under: 401 kB/s -> next check'
Nov 8 22:38:30 Box autoshutdown[731]: root: INFO: '_check_hddio(): All checks complete'
Nov 8 22:38:34 Box autoshutdown[731]: root: INFO: '_check_processes(): Found 0 process(es) active -> next check'
Nov 8 22:38:34 Box autoshutdown[731]: root: INFO: 'main(): All active checks passed, 1 cycles until shutdown ...'
Nov 8 22:38:34 Box autoshutdown[731]: root: INFO: 'main(): Sleep for 180s'
Nov 8 22:41:34 Box autoshutdown[731]: root: INFO: 'main(): ------------------------------------------------------'
Nov 8 22:41:34 Box autoshutdown[731]: root: INFO: 'main(): New supervision cycle started, checking system activity'
Nov 8 22:41:34 Box autoshutdown[731]: root: DEBUG: '_ping_range(): pinglist_array: 192.xxx.xxx.114 192.xxx.xxx.128'
Nov 8 22:41:34 Box autoshutdown[731]: root: INFO: '_ping_range(): Retrieve list of active IPs for: enp2s0'
Nov 8 22:41:36 Box autoshutdown[731]: root: INFO: '_ping_range(): No active IPs found in the specified range -> next check'
Nov 8 22:41:36 Box autoshutdown[731]: root: INFO: '_check_net_status(): Found 0 active socket(s) from port(s): 21,22,80,3689,6991,9091,49152'
Nov 8 22:41:36 Box autoshutdown[731]: root: INFO: '_check_docker_status(): Found 0 active socket(s) from port(s): 21,22,80,3689,6991,9091,491 52'
Nov 8 22:41:36 Box autoshutdown[731]: root: INFO: '_check_users_status(): There are no users connected -> next check'
Nov 8 22:41:36 Box autoshutdown[731]: root: INFO: '_check_smb_status(): No SMB clients connected with locks -> next check'
Nov 8 22:41:36 Box autoshutdown[731]: root: INFO: '_check_ul_dl_rate(): Running on interface: enp2s0'
Nov 8 22:41:36 Box autoshutdown[731]: root: INFO: '_check_ul_dl_rate(): Network interface: enp2s0 (last 186s) DL: 0.4 kB/s, UL: 0.0 kB/s unde r 50 kB/s -> next check'
Nov 8 22:41:36 Box autoshutdown[731]: root: INFO: '_check_hddio(): Device: sda (last 186s) kB_read/s: 0.0, kB_wrtn/s: 0.0 under: 401 kB/s -> next check'
Nov 8 22:41:36 Box autoshutdown[731]: root: INFO: '_check_hddio(): Device: sdb (last 186s) kB_read/s: 0.0, kB_wrtn/s: 0.0 under: 401 kB/s -> next check'
Nov 8 22:41:37 Box autoshutdown[731]: root: INFO: '_check_hddio(): Device: sdc (last 186s) kB_read/s: 1.7, kB_wrtn/s: 7.3 under: 401 kB/s -> next check'
Nov 8 22:41:37 Box autoshutdown[731]: root: INFO: '_check_hddio(): All checks complete'
Nov 8 22:41:41 Box autoshutdown[731]: root: INFO: '_check_processes(): Found 0 process(es) active -> next check'
Nov 8 22:41:41 Box autoshutdown[731]: root: INFO: 'main(): All active checks passed, Shutting down system ...'
Nov 8 22:41:41 Box autoshutdown[731]: root: INFO: '_shutdown(): Shutdown issued: shutdown -h now'
-
AutoShutdown shut down after first cycle with no result. Set are 6 cycles with no result before shutdown.
In the autoshutdown.log I found this: /usr/sbin/autoshutdown: line 923: 0.00: syntax error: invalid arithmetic operator (error token is ".00")
here the line 922, 923, 924:
line 922: # Calculate the total value.
line 923: local t_hddio_read=$((P_HDDIO_DEVS["${hdd}_r"] + hddio_increase))
line 924: local t_hddio_write=$((P_HDDIO_DEVS["${hdd}_w"] + hddio_increase))
Is there a bug in the cycles calculation?
Nov 7 12:25:13 Box autoshutdown[5024]: root: INFO: 'main(): ------------------------------------------------------'
Nov 7 12:25:13 Box autoshutdown[5024]: root: INFO: 'main(): New supervision cycle started, checking system activity'
Nov 7 12:25:13 Box autoshutdown[5024]: root: DEBUG: '_ping_range(): pinglist_array: 192.xxx.xxx.114 192.xxx.xxx.128'
Nov 7 12:25:13 Box autoshutdown[5024]: root: INFO: '_ping_range(): Retrieve list of active IPs for: enp2s0'
Nov 7 12:25:14 Box autoshutdown[5024]: root: INFO: '_ping_range(): No active IPs found in the specified range -> next check'
Nov 7 12:25:14 Box autoshutdown[5024]: root: DEBUG: '_ping_range(): pinglist_array: 172.xxx.xxx.114 172.xxx.xxx.128'
Nov 7 12:25:14 Box autoshutdown[5024]: root: INFO: '_ping_range(): Retrieve list of active IPs for: br-00ec2f4e5d79'
Nov 7 12:25:16 Box autoshutdown[5024]: root: INFO: '_ping_range(): No active IPs found in the specified range -> next check'
Nov 7 12:25:16 Box autoshutdown[5024]: root: INFO: '_check_net_status(): Found 0 active socket(s) from port(s): 21,22,80,3689,6991,9091,49152'
Nov 7 12:25:16 Box autoshutdown[5024]: root: INFO: '_check_docker_status(): Found 0 active socket(s) from port(s): 21,22,80,3689,6991,9091,49152'
Nov 7 12:25:16 Box autoshutdown[5024]: root: INFO: '_check_users_status(): There are no users connected -> next check'
Nov 7 12:25:16 Box autoshutdown[5024]: root: INFO: '_check_smb_status(): SMB client(s) with locks:'
Nov 7 12:25:16 Box autoshutdown[5024]: root: INFO: '_check_smb_status(): HOST: 192.xxx.xxx.142 PID: 2057 USER: xxxxx:users PROTO: SMB3_11'
Nov 7 12:25:16 Box autoshutdown[5024]: root: INFO: '_check_smb_status(): SMB clients with locks connected -> no shutdown'
Nov 7 12:25:16 Box autoshutdown[5024]: root: INFO: 'main(): Sleep for 180s'
Nov 7 12:28:16 Box autoshutdown[5024]: root: INFO: 'main(): ------------------------------------------------------'
Nov 7 12:28:16 Box autoshutdown[5024]: root: INFO: 'main(): New supervision cycle started, checking system activity'
Nov 7 12:28:16 Box autoshutdown[5024]: root: DEBUG: '_ping_range(): pinglist_array: 192.xxx.xxx.114 192.xxx.xxx.128'
Nov 7 12:28:17 Box autoshutdown[5024]: root: INFO: '_ping_range(): Retrieve list of active IPs for: enp2s0'
Nov 7 12:28:18 Box autoshutdown[5024]: root: INFO: '_ping_range(): No active IPs found in the specified range -> next check'
Nov 7 12:28:18 Box autoshutdown[5024]: root: DEBUG: '_ping_range(): pinglist_array: 172.xxx.xxx.114 172.xxx.xxx.128'
Nov 7 12:28:18 Box autoshutdown[5024]: root: INFO: '_ping_range(): Retrieve list of active IPs for: br-00ec2f4e5d79'
Nov 7 12:28:19 Box autoshutdown[5024]: root: INFO: '_ping_range(): No active IPs found in the specified range -> next check'
Nov 7 12:28:19 Box autoshutdown[5024]: root: INFO: '_check_net_status(): Found 0 active socket(s) from port(s): 21,22,80,3689,6991,9091,49152'
Nov 7 12:28:20 Box autoshutdown[5024]: root: INFO: '_check_docker_status(): Found 0 active socket(s) from port(s): 21,22,80,3689,6991,9091,49152'
Nov 7 12:28:20 Box autoshutdown[5024]: root: INFO: '_check_users_status(): There are no users connected -> next check'
Nov 7 12:28:20 Box autoshutdown[5024]: root: INFO: '_check_smb_status(): No SMB clients connected with locks -> next check'
Nov 7 12:28:20 Box autoshutdown[5024]: root: INFO: '_check_ul_dl_rate(): Running on interface: enp2s0'
Nov 7 12:28:20 Box autoshutdown[5024]: root: INFO: '_check_ul_dl_rate(): Network interface: enp2s0 (last 10765s) DL: 0.3 kB/s, UL: 0.0 kB/s under 50 kB/s -> next check'
Nov 7 12:28:20 Box autoshutdown[5024]: root: INFO: '_check_ul_dl_rate(): Running on interface: br-00ec2f4e5d79'
Nov 7 12:28:20 Box autoshutdown[5024]: root: INFO: '_check_ul_dl_rate(): Network interface: br-00ec2f4e5d79 (last 10765s) DL: 0.0 kB/s, UL: 0.0 kB/s under 50 kB/s -> next che ck'
Nov 7 12:28:20 Box autoshutdown[5024]: /usr/sbin/autoshutdown: line 923: 0.00: syntax error: invalid arithmetic operator (error token is ".00")
Nov 7 12:28:20 Box autoshutdown[5024]: root: INFO: 'main(): All active checks passed, Shutting down system ...'
Nov 7 12:28:20 Box autoshutdown[5024]: root: INFO: '_shutdown(): Shutdown issued: shutdown -h now'
# This file is auto-generated by openmediavault (https://www.openmediavault.org)
# WARNING: Do not edit this file, your changes will get lost.
ENABLE="true"
CYCLES=6
SLEEP=180
IPCHECK="true"
RANGE="128,114"
SHUTDOWNCOMMAND="shutdown -h now"
CHECKCLOCKACTIVE="false"
UPHOURS="06:00..20:00"
WAKEALARM_SET="false"
WAKEALARM="08:00"
WAKEALARM_UPHOURS="false"
CHECKSOCKETS="true"
NSOCKETNUMBERS="21,22,80,3689,6991,9091,49152"
ULDLCHECK="true"
ULDLRATE=50
LOADAVERAGECHECK="false"
LOADAVERAGE=40
HDDIOCHECK="true"
HDDIO_RATE=401
SMARTCHECK="false"
CHECK_SAMBA="true"
CHECK_CLI="true"
CHECKPROCNAMES="true"
LOADPROCNAMES="smbd,nfsd,mt-daapd,forked-daapd"
TEMPPROCNAMES="in.tftpd"
PLUGINCHECK="false"
SYSLOG="true"
VERBOSE="false"
FAKE="false"
(END
-
What a confusing question
What happen? Maybe a data loss, maybe nothing. If the USB Box connected to a Linux system, then USB storage devices must be unmount or ejected before disconnected from the desktop. If not in some cases that can cause a data loss or the USB device can't be read after reconnection. Windows USB storage connection can be disconnected without an eject, but it recommanded to eject the USB storage.
-
I have see the guides. The data disk are unplugged when I install. I will try first the SATA install and the USB install, maybe ist works.
BTW the alternative guide is linked to this post.
=== Update ===
install with OMV6 beta is working, no partition issue. OMV6 is running. Same USB pen, same SSD and Hardware.
Confused but it works.
-
When copying files, the Samba service failed and all shares gone. The restart of the SMB Service in the OMV Web Interface caused a log out from the Web interface. A log in was no longer possible, message: wrong user, wrong password. Try to fix it with omv-firstaid but it didn't work. After a reboot a lot of services failed on start up and the boot up process stop with the message: Beep after System start. (see attachment).
A new installation stops with: !! Partition disks !! Failed to partition the selected disk ... after clicking continue the next error message appears: no roots file system ... (see attachment)
I tried two different SSDs, I wiped the SSDs and treated them with fdisk and gpard. The installation is not possible and stop at the partitioning.
The system is a TerraMaster F220, with 4 GB RAM, the SSD is attached on a USB port. The install medium is a 8 USB Stick.
Any idea what I can do to install the OMV 5?
-
This works for me
For OMV 4.x only
cd /etc/apt/sources.list.d
sudo mv omv-extras-org.list omv-extras-org.bak
echo "deb https://openmediavault-plugin-developers.github.io/packages/debian arrakis main" | sudo tee omv-extras-org.list
cd /etc/apt/trusted.gpg.d/
sudo wget https://openmediavault-plugin-developers.github.io/packages/debian/omvextras2026.asc
sudo apt-key add omvextras2026.asc
sudo apt-get update
-
Hello
omv-update was terminated with some errors like: 403 Forbidden or failed to fetch. How to fix this problem?
Greetings
pcon
Ign:21 https://dl.bintray.com/openmed…developers/arrakis-docker stretch/main all Packages
Ign:22 https://dl.bintray.com/openmed…developers/arrakis-docker stretch/main Translation-en
Ign:16 https://dl.bintray.com/openmed…plugin-developers/arrakis stretch/main all Packages
Err:18 https://dl.bintray.com/openmed…plugin-developers/arrakis stretch/main amd64 Packages
403 Forbidden
Ign:19 https://dl.bintray.com/openmed…plugin-developers/arrakis stretch/main Translation-en
Err:20 https://dl.bintray.com/openmed…developers/arrakis-docker stretch/main amd64 Packages
403 Forbidden
Ign:21 https://dl.bintray.com/openmed…developers/arrakis-docker stretch/main all Packages
Ign:22 https://dl.bintray.com/openmed…developers/arrakis-docker stretch/main Translation-en
Reading package lists... Done
W: The repository 'https://dl.bintray.com/openmediavault-plugin-developers/arrakis stretch Release' does not have a Release file.
N: Data from such a repository can't be authenticated and is therefore potentially dangerous to use.
N: See apt-secure(8) manpage for repository creation and user configuration details.
W: The repository 'https://dl.bintray.com/openmediavault-plugin-developers/arrakis-docker stretch Release' does not have a Release file.
N: Data from such a repository can't be authenticated and is therefore potentially dangerous to use.
N: See apt-secure(8) manpage for repository creation and user configuration details.
E: Failed to fetch https://dl.bintray.com/openmed…ain/binary-amd64/Packages 403 Forbidden
E: Failed to fetch https://dl.bintray.com/openmed…ain/binary-amd64/Packages 403 Forbidden
E: Some index files failed to download. They have been ignored, or old ones used instead.
-
WOW, old cases with good stuff inside
-
Connect with the IP Address and the sharename to the smb share on OMV:
\\xxx.xxx.xxx.xxx\sharename