Many thx - works fine now.
Beiträge von Steve-K
-
-
For me it doesn't work too:
pi@raspberrypi:~ $ sudo omv-salt deploy run omvextras
raspberrypi:
----------
ID: omvextrasbaserepo
Function: pkgrepo.managed
Name: deb https://openmediavault-plugin-…github.io/packages/debian usul main
Result: True
Comment: Package repo 'deb https://openmediavault-plugin-…github.io/packages/debian usul main' already configured
Started: 11:08:22.541912
Duration: 339.565 ms
Changes:
----------
ID: deb https://openmediavault-plugin-…github.io/packages/debian usul-testing main
Function: pkgrepo.absent
Result: True
Comment: Package repo deb https://openmediavault-plugin-…github.io/packages/debian usul-testing main is absent
Started: 11:08:22.881872
Duration: 160.326 ms
Changes:
----------
ID: deb https://openmediavault-plugin-…github.io/packages/debian usul-extras main
Function: pkgrepo.absent
Result: True
Comment: Package repo deb https://openmediavault-plugin-…github.io/packages/debian usul-extras main is absent
Started: 11:08:23.042588
Duration: 161.602 ms
Changes:
----------
ID: deb [arch=armhf] https://download.docker.com/linux/debian buster stable
Function: pkgrepo.managed
Result: True
Comment: Package repo 'deb [arch=armhf] https://download.docker.com/linux/debian buster stable' already configured
Started: 11:08:23.204585
Duration: 382.981 ms
Changes:
----------
ID: deb http://linux.teamviewer.com/deb stable main
Function: pkgrepo.absent
Result: True
Comment: Package repo deb http://linux.teamviewer.com/deb stable main is absent
Started: 11:08:23.587950
Duration: 159.935 ms
Changes:
----------
ID: configure_apt_pref_omvextras
Function: file.managed
Name: /etc/apt/preferences.d/omvextras.pref
Result: True
Comment: File /etc/apt/preferences.d/omvextras.pref is in the correct state
Started: 11:08:23.752933
Duration: 128.175 ms
Changes:
----------
ID: refresh_database_apt
Function: module.run
Result: False
Comment: An exception occurred in this state: Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/salt/state.py", line 2172, in call
*cdata["args"], **cdata["kwargs"]
File "/usr/lib/python3/dist-packages/salt/loader.py", line 1235, in __call__
return self.loader.run(run_func, *args, **kwargs)
File "/usr/lib/python3/dist-packages/salt/loader.py", line 2268, in run
return self._last_context.run(self._run_as, _func_or_method, *args, **kwargs)
File "/usr/lib/python3/dist-packages/salt/loader.py", line 2283, in _run_as
return _func_or_method(*args, **kwargs)
File "/usr/lib/python3/dist-packages/salt/loader.py", line 2316, in wrapper
return f(*args, **kwargs)
File "/usr/lib/python3/dist-packages/salt/utils/decorators/__init__.py", line 746, in _decorate
return self._call_function(kwargs)
File "/usr/lib/python3/dist-packages/salt/utils/decorators/__init__.py", line 377, in _call_function
six.reraise(*sys.exc_info())
File "/usr/lib/python3/dist-packages/salt/ext/six.py", line 693, in reraise
raise value
File "/usr/lib/python3/dist-packages/salt/utils/decorators/__init__.py", line 360, in _call_function
return self._function(*args, **kwargs)
File "/usr/lib/python3/dist-packages/salt/states/module.py", line 428, in run
_func, returner=kwargs.get("returner"), func_args=kwargs.get(func)
File "/usr/lib/python3/dist-packages/salt/states/module.py", line 473, in _call_function
mret = salt.utils.functools.call_function(__salt__[name], *func_args, **func_kwargs)
File "/usr/lib/python3/dist-packages/salt/utils/functools.py", line 159, in call_function
return salt_function(*function_args, **function_kwargs)
File "/usr/lib/python3/dist-packages/salt/loader.py", line 1235, in __call__
return self.loader.run(run_func, *args, **kwargs)
File "/usr/lib/python3/dist-packages/salt/loader.py", line 2268, in run
return self._last_context.run(self._run_as, _func_or_method, *args, **kwargs)
File "/usr/lib/python3/dist-packages/salt/loader.py", line 2283, in _run_as
return _func_or_method(*args, **kwargs)
File "/usr/lib/python3/dist-packages/salt/modules/aptpkg.py", line 406, in refresh_db
raise CommandExecutionError(comment)
salt.exceptions.CommandExecutionError: E: Failed to fetch https://dl.bintray.com/openmed…ul/dists/buster/InRelease 403 Forbidden [IP: 54.69.109.244 443]
E: The repository 'https://dl.bintray.com/openmediavault-plugin-developers/usul buster InRelease' is not signed.
Started: 11:08:23.883072
Duration: 15181.114 ms
Changes:
Summary for raspberrypi
------------
Succeeded: 6
Failed: 1
If I use:
sudo wget -O - https://github.com/OpenMediaVa…ckages/raw/master/install | bash
I get a privilege error (will the sudo command not used in the pipe?
pi@raspberrypi:~ $ sudo wget -O - https://github.com/OpenMediaVa…ckages/raw/master/install | bash
--2021-07-22 11:11:56-- https://github.com/OpenMediaVa…ckages/raw/master/install
Resolving github.com (github.com)... 140.82.121.4
Connecting to github.com (github.com)|140.82.121.4|:443... connected.
HTTP request sent, awaiting response... 302 Found
Location: https://raw.githubusercontent.…s/packages/master/install [following]
--2021-07-22 11:11:56-- https://raw.githubusercontent.…s/packages/master/install
Resolving raw.githubusercontent.com (raw.githubusercontent.com)... 185.199.110.133, 185.199.111.133, 185.199.109.133, ...
Connecting to raw.githubusercontent.com (raw.githubusercontent.com)|185.199.110.133|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 1011 [text/plain]
Saving to: ‘STDOUT’
- 100%[==============================================================================================>] 1011 --.-KB/s in 0s
2021-07-22 11:11:57 (5.09 MB/s) - written to stdout [1011/1011]
5
rm: cannot remove '/etc/apt/sources.list.d/omvextras.list': Permission denied
Downloading omv-extras.org plugin for openmediavault 5.x ...
Updating repos before installing...
Reading package lists... Done
E: Could not open lock file /var/lib/apt/lists/lock - open (13: Permission denied)
E: Unable to lock directory /var/lib/apt/lists/
W: Problem unlinking the file /var/cache/apt/pkgcache.bin - RemoveCaches (13: Permission denied)
W: Problem unlinking the file /var/cache/apt/srcpkgcache.bin - RemoveCaches (13: Permission denied)
Install prerequisites...
E: Could not open lock file /var/lib/dpkg/lock-frontend - open (13: Permission denied)
E: Unable to acquire the dpkg frontend lock (/var/lib/dpkg/lock-frontend), are you root?
--2021-07-22 11:11:57-- https://github.com/OpenMediaVa…extrasorg_latest_all5.deb
Resolving github.com (github.com)... 140.82.121.4
Connecting to github.com (github.com)|140.82.121.4|:443... connected.
HTTP request sent, awaiting response... 302 Found
Location: https://raw.githubusercontent.…extrasorg_latest_all5.deb [following]
--2021-07-22 11:11:57-- https://raw.githubusercontent.…extrasorg_latest_all5.deb
Resolving raw.githubusercontent.com (raw.githubusercontent.com)... 185.199.110.133, 185.199.111.133, 185.199.109.133, ...
Connecting to raw.githubusercontent.com (raw.githubusercontent.com)|185.199.110.133|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 67544 (66K) [application/octet-stream]
Saving to: ‘openmediavault-omvextrasorg_latest_all5.deb’
openmediavault-omvextrasorg_latest_all5.deb 100%[==============================================================================================>] 65.96K --.-KB/s in 0.02s
2021-07-22 11:11:58 (2.67 MB/s) - ‘openmediavault-omvextrasorg_latest_all5.deb’ saved [67544/67544]
dpkg: error: requested operation requires superuser privilege
Installing other dependencies ...
E: Could not open lock file /var/lib/dpkg/lock-frontend - open (13: Permission denied)
E: Unable to acquire the dpkg frontend lock (/var/lib/dpkg/lock-frontend), are you root?
Updating repos ...
Reading package lists... Done
E: Could not open lock file /var/lib/apt/lists/lock - open (13: Permission denied)
E: Unable to lock directory /var/lib/apt/lists/
W: Problem unlinking the file /var/cache/apt/pkgcache.bin - RemoveCaches (13: Permission denied)
W: Problem unlinking the file /var/cache/apt/srcpkgcache.bin - RemoveCaches (13: Permission denied)
-
I deinstall all PlugIns, now it works fine
-
After a SD-Failure on my rasperrypi I'd to reinstall OVM on a new SD card. After mount of an existing Raid on the new OMV installation I get an error message (below) if I try to setup a shared folder on an existing path on the raid.
Error message is:
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 systemd 2>&1' with exit code '1': raspberrypi:
---------- ID: remove_sharedfolder_mount_unit_files Function: module.run Result: True Comment: file.find: [] Started: 20:11:02.496511 Duration: 13.362 ms Changes: ---------- file.find:
---------- ID: sharedfolder_mount_units_systemctl_daemon_reload Function: module.run Result: True Comment: service.systemctl_reload: True Started: 20:11:02.510266 Duration: 704.913 ms Changes: ---------- service.systemctl_reload: True
---------- ID: configure_tmp_mount_unit_file Function: file.managed Name: /etc/systemd/system/tmp.mount Result: True Comment: File /etc/systemd/system/tmp.mount is in the correct state Started: 20:11:03.224969 Duration: 89.92 ms Changes:
---------- ID: tmp_mount_unit_systemctl_daemon_reload Function: module.run Result: True Comment: State was not run because none of the onchanges reqs changed Started: 20:11:03.316133 Duration: 0.016 ms Changes:
---------- ID: remove_aoe_service_unit_files Function: module.run Result: True Comment: file.find: [] Started: 20:11:03.316340 Duration: 12.665 ms Changes: ---------- file.find:
---------- ID: aoe_service_units_systemctl_daemon_reload Function: module.run Name: service.systemctl_reload Result: False Comment: No function provided. Started: 20:11:03.329378 Duration: 1.669 ms Changes:Summary for raspberrypi
------------
Succeeded: 5 (changed=3)
Failed: 1
------------
Total states run: 6
Total run time: 822.545 ms -
The SD-drive isn't writeable anymore no file or partitions are deleteable only readable. I'll buy a new one and reinstall
-
Thx Mi-Hol, I tried the EDGE Browser as Alternative to pass by the Firefox issue but without success.
-
o.k. so I only can reinstall complette OMV installation including all cloud amd pi-hole containers - schi....
-
Hi tried the force reload (Firefox) on the sign on page and also on a new tab before I load the page (favorite).
I tried a new Privacy window (Firefox) too and I copied the link to EDGE (alternetiv Browser). All with the same result.
I reboot the hosting backberry-pi. The attached RAID (sda1) will be shown fine.
-
-
If I try to login on OMV via Browser tab (logIn page comes up, IP and prt fine) - I get the login page again and again .....
I checked the memory via ssh and tried also "firstaid" commanf as a su but "clear of web control panel cache" fails with:
"Command '. /usr/share/openmediavault/scripts/helper-functions;omv_purge_internal_cache' returned non-zero exit status 1."
Any further ideas? Btw. mapped drives are also not available anymore