Okey, its updateing now, it will take a little while.
502 Bad Gateway Web gui
-
- OMV 4.x
- gelöst
- Upgrade 3.x -> 4.x
- R0vsvamp
-
-
Yes.
I think its done?
Code
Alles anzeigenProcessing triggers for initramfs-tools (0.130) ... update-initramfs: Generating /boot/initrd.img-4.9.0-8-amd64 W: Possible missing firmware /lib/firmware/rtl_nic/rtl8107e-2.fw for module r8169 W: Possible missing firmware /lib/firmware/rtl_nic/rtl8107e-1.fw for module r8169 W: Possible missing firmware /lib/firmware/rtl_nic/rtl8168h-2.fw for module r8169 W: Possible missing firmware /lib/firmware/rtl_nic/rtl8168h-1.fw for module r8169 W: mdadm: /etc/mdadm/mdadm.conf defines no arrays. Errors were encountered while processing: nginx-full nginx openmediavault openmediavault-omvextrasorg openmediavault-plexmediaserver E: Sub-process /usr/bin/dpkg returned an error code (1) root@openmediavault:~#
-
It have a few erros:
Code
Alles anzeigen* nginx.service - A high performance web server and a reverse proxy server Loaded: loaded (/lib/systemd/system/nginx.service; enabled; vendor preset: en abled) Active: failed (Result: exit-code) since Thu 2018-10-11 20:23:28 CEST; 14ms a go Docs: man:nginx(8) Process: 32702 ExecStart=/usr/sbin/nginx -g daemon on; master_process on; (cod e=exited, status=1/FAILURE) Process: 32699 ExecStartPre=/usr/sbin/nginx -t -q -g daemon on; master_process on; (code=exited, status=0/SUCCESS) Main PID: 1025 (code=exited, status=0/SUCCESS) Oct 11 20:23:25 openmediavault nginx[32702]: nginx: [emerg] bind() to [::]:8…se) Oct 11 20:23:26 openmediavault nginx[32702]: nginx: [emerg] bind() to [::]:8…se) Oct 11 20:23:27 openmediavault nginx[32702]: nginx: [emerg] bind() to [::]:8…se) Oct 11 20:23:27 openmediavault nginx[32702]: nginx: [emerg] bind() to [::]:8…se) Oct 11 20:23:28 openmediavault nginx[32702]: nginx: [emerg] bind() to [::]:8…se) Oct 11 20:23:28 openmediavault nginx[32702]: nginx: [emerg] still could not …d() Oct 11 20:23:28 openmediavault systemd[1]: nginx.service: Control process ex…s=1 Oct 11 20:23:28 openmediavault systemd[1]: Failed to start A high performanc…er. Oct 11 20:23:28 openmediavault systemd[1]: nginx.service: Unit entered faile…te. Oct 11 20:23:28 openmediavault systemd[1]: nginx.service: Failed with result…e'. Hint: Some lines were ellipsized, use -l to show in full. dpkg: error processing package nginx-full (--configure): subprocess installed post-installation script returned error exit status 1 dpkg: dependency problems prevent configuration of nginx: nginx depends on nginx-full (<< 1.10.3-1+deb9u1.1~) | nginx-light (<< 1.10.3-1+ deb9u1.1~) | nginx-extras (<< 1.10.3-1+deb9u1.1~); however: Package nginx-full is not configured yet. Package nginx-light is not installed. Package nginx-extras is not installed. nginx depends on nginx-full (>= 1.10.3-1+deb9u1) | nginx-light (>= 1.10.3-1+deb 9u1) | nginx-extras (>= 1.10.3-1+deb9u1); however: Package nginx-full is not configured yet. Package nginx-light is not installed. Package nginx-extras is not installed.
But when i run dpkg -l | grep openm it says im 4 now?
Code
Alles anzeigenroot@openmediavault:~# -bash: openmediavault: command not found -bash: -bash:: command not found root@openmediavault:~# root@openmediavault:~# openmediavault-omvextrasorg -bash: root@openmediavault:~#: command not found root@openmediavault:~# -bash: openmediavault-omvextrasorg: command not found -bash: -bash:: command not found root@openmediavault:~# root@openmediavault:~# openmediavault-plexmediaserver -bash: root@openmediavault:~#: command not found root@openmediavault:~# -bash: openmediavault-plexmediaserver: command not found -bash: -bash:: command not found root@openmediavault:~# root@openmediavault:~# E: Sub-process /usr/bin/dpkg returned an error code (1) -bash: syntax error near unexpected token `(' root@openmediavault:~# -bash: syntax error near unexpected token `(' > root@openmediavault:~# root@openmediavault:~# > -bash: root@openmediavault:~#: command not found > root@openmediavault:~# dpkg -l | grep openm > iU openmediavault 4.1.12 all openmediavault - The open network attached storage solution > ii openmediavault-keyring 1.0 all GnuPG archive keys of the OpenMediaVault archive > iU openmediavault-omvextrasorg 3.4.32 all OMV-Extras.org Package Repositories for OpenMediaVault > iU openmediavault-plexmediaserver 3.8.2 all OpenMediaVault Plex Media Server plugin
-
-
The Gui still gives me 502 btw.
Try this then:
omv-mkconf nginx
omv-mkconf php-fpm
systemctl restart nginx
systemctl restart php7.0-fpmSo i was trying to run this again, no errors this time, but did not fix my problem.
then i used "omv-firstaid" again cleared everything, did not fix my problem.
It still refuse me to enter the control planel in "omv-firstaid" with port 80.
"ERROR: [Errno 111] Connection refused
root@openmediavault:~#"Thoughts?
-
I wouldn't have run those commands again. If a package is fully installed, it will have 'ii' in the left column. I would start by removing the plex plugin and then try to finish.
apt-get remove openmediavault-plexmediaserver
apt-get -f install -
This is my result from those 2 lines.
Code
Alles anzeigenroot@openmediavault:~# apt-get remove openmediavault-plexmediaserver Reading package lists... Done Building dependency tree Reading state information... Done The following packages were automatically installed and are no longer required: avahi-utils plexmediaserver Use 'apt autoremove' to remove them. The following packages will be REMOVED: openmediavault-plexmediaserver 0 upgraded, 0 newly installed, 1 to remove and 2 not upgraded. 5 not fully installed or removed. After this operation, 182 kB disk space will be freed. Do you want to continue? [Y/n] y (Reading database ... 70563 files and directories currently installed.) Removing openmediavault-plexmediaserver (3.8.2) ... Setting up nginx-full (1.10.3-1+deb9u1) ... Upgrading binary: nginx. Setting up openmediavault (4.1.12) ... Installing new version of config file /etc/apt/apt.conf.d/99openmediavault-localrepository ... Installing new version of config file /etc/apt/sources.list.d/openmediavault-local.list ... Installing new version of config file /etc/cron.daily/openmediavault-check_locked_users ... Installing new version of config file /etc/cron.daily/openmediavault-cron-apt ... Installing new version of config file /etc/cron.daily/openmediavault-pending_config_changes ... Installing new version of config file /etc/default/openmediavault ... Created symlink /etc/systemd/system/multi-user.target.wants/openmediavault-issue.service → /lib/systemd/system/openmediavault-issue.service. Updating configuration database ... chown: invalid group: ':openmediavault-config' ERROR: Failed to create the default configuration: Command '['/usr/share/openmediavault/confdb/create.d/conf.sh']' returned non-zero exit status 1 dpkg: error processing package openmediavault (--configure): subprocess installed post-installation script returned error exit status 1 dpkg: dependency problems prevent configuration of openmediavault-omvextrasorg: openmediavault-omvextrasorg depends on openmediavault (>= 3.0.67); however: Package openmediavault is not configured yet. dpkg: error processing package openmediavault-omvextrasorg (--configure): dependency problems - leaving unconfigured Setting up nginx (1.10.3-1+deb9u1) ... Errors were encountered while processing: openmediavault openmediavault-omvextrasorg E: Sub-process /usr/bin/dpkg returned an error code (1) root@openmediavault:~# apt-get -f install Reading package lists... Done Building dependency tree Reading state information... Done The following packages were automatically installed and are no longer required: avahi-utils plexmediaserver Use 'apt autoremove' to remove them. 0 upgraded, 0 newly installed, 0 to remove and 2 not upgraded. 2 not fully installed or removed. After this operation, 0 B of additional disk space will be used. Setting up openmediavault (4.1.12) ... Updating configuration database ... chown: invalid group: ':openmediavault-config' ERROR: Failed to create the default configuration: Command '['/usr/share/openmediavault/confdb/create.d/conf.sh']' returned non-zero exit status 1 dpkg: error processing package openmediavault (--configure): subprocess installed post-installation script returned error exit status 1 dpkg: dependency problems prevent configuration of openmediavault-omvextrasorg: openmediavault-omvextrasorg depends on openmediavault (>= 3.0.67); however: Package openmediavault is not configured yet. dpkg: error processing package openmediavault-omvextrasorg (--configure): dependency problems - leaving unconfigured Errors were encountered while processing: openmediavault openmediavault-omvextrasorg Exception ignored in: <function WeakValueDictionary.__init__.<locals>.remove at 0x7f27268b4510> Traceback (most recent call last): File "/usr/lib/python3.5/weakref.py", line 117, in remove TypeError: 'NoneType' object is not callable Exception ignored in: <function WeakValueDictionary.__init__.<locals>.remove at 0x7f27268b4510> Traceback (most recent call last): File "/usr/lib/python3.5/weakref.py", line 117, in remove TypeError: 'NoneType' object is not callable E: Sub-process /usr/bin/dpkg returned an error code (1) root@openmediavault:~#
-
-
You really need to stop running the next command when you get an error in the first command.
groupadd --system openmediavault-config
apt-get -f install -
Im sorry..
But IT WORKED DUDE YOUR A GOD!I can Connect to my server now with web Gui !!!
One thing tho it says this:
Code
Alles anzeigen┌──────────────────────┤ Configuring openmediavault ├───────────────────────┐ │ │ │ Complete the installation │ │ To complete the installation you need to run the following command: │ │ omv-initsystem │ │ │ To manage the system visit the openmediavault web control panel via a │ web browser: │ │ http://<IP or hostname> │ │ │ By default the web control panel administrator account has the username │ │ <Ok> │
Dont want to mess any more up do i just run the "Omv-initsystem" ?
-
You don't need to run that. What is the output of: dpkg -l | grep openm
-
-
Its this :
Coderoot@openmediavault:~# dpkg -l | grep openm iF openmediavault 4.1.12 all openmediavault - The open network attached storage solution ii openmediavault-keyring 1.0 all GnuPG archive keys of the OpenMediaVault archive iU openmediavault-omvextrasorg 3.4.32 all OMV-Extras.org Package Repositories for OpenMediaVault rc openmediavault-plexmediaserver 3.8.2 all OpenMediaVault Plex Media Server plugin root@openmediavault:~#
-
omv-extras didn't upgrade. Fix it with
wget -O - http://omv-extras.org/install | bash
-
It makes 1 error
Code
Alles anzeigenroot@openmediavault:~# wget -O - http://omv-extras.org/install | bash --2018-10-12 00:43:00-- http://omv-extras.org/install Resolving omv-extras.org (omv-extras.org)... 178.63.91.237 Connecting to omv-extras.org (omv-extras.org)|178.63.91.237|:80... connected. HTTP request sent, awaiting response... 200 OK Length: 1069 (1.0K) Saving to: ‘STDOUT’ - 100%[===================>] 1.04K --.-KB/s in 0s 2018-10-12 00:43:00 (102 MB/s) - written to stdout [1069/1069] 4 Downloading omv-extras.org plugin for openmediavault 4.x ... --2018-10-12 00:43:00-- https://github.com/OpenMediaVault-Plugin-Developers/packages/raw/master//openmediavault-omvextrasorg_latest_all4.deb Resolving github.com (github.com)... 192.30.253.112, 192.30.253.113 Connecting to github.com (github.com)|192.30.253.112|:443... connected. HTTP request sent, awaiting response... 302 Found Location: https://raw.githubusercontent.com/OpenMediaVault-Plugin-Developers/packages/master/openmediavault-omvextrasorg_latest_all4.deb [following] --2018-10-12 00:43:00-- https://raw.githubusercontent.com/OpenMediaVault-Plugin-Developers/packages/master/openmediavault-omvextrasorg_latest_all4.deb Resolving raw.githubusercontent.com (raw.githubusercontent.com)... 151.101.0.133, 151.101.64.133, 151.101.128.133, ... Connecting to raw.githubusercontent.com (raw.githubusercontent.com)|151.101.0.133|:443... connected. HTTP request sent, awaiting response... 200 OK Length: 75492 (74K) [application/octet-stream] Saving to: ‘openmediavault-omvextrasorg_latest_all4.deb’ openmediavault-omve 100%[===================>] 73.72K --.-KB/s in 0.02s 2018-10-12 00:43:00 (3.59 MB/s) - ‘openmediavault-omvextrasorg_latest_all4.deb’ saved [75492/75492] dpkg: error: dpkg status database is locked by another process Installing other dependencies ... E: Could not get lock /var/lib/dpkg/lock - open (11: Resource temporarily unavailable) E: Unable to lock the administration directory (/var/lib/dpkg/), is another process using it? Updating repos ... Get:1 file:/var/cache/openmediavault/archives InRelease Ign:1 file:/var/cache/openmediavault/archives InRelease Get:2 file:/var/cache/openmediavault/archives Release Ign:2 file:/var/cache/openmediavault/archives Release Get:3 file:/var/cache/openmediavault/archives Packages Ign:3 file:/var/cache/openmediavault/archives Packages Get:4 file:/var/cache/openmediavault/archives Translation-en Ign:4 file:/var/cache/openmediavault/archives Translation-en Get:5 file:/var/cache/openmediavault/archives Translation-en_GB Ign:5 file:/var/cache/openmediavault/archives Translation-en_GB Get:3 file:/var/cache/openmediavault/archives Packages Ign:3 file:/var/cache/openmediavault/archives Packages Get:4 file:/var/cache/openmediavault/archives Translation-en Ign:4 file:/var/cache/openmediavault/archives Translation-en Get:5 file:/var/cache/openmediavault/archives Translation-en_GB Ign:5 file:/var/cache/openmediavault/archives Translation-en_GB Get:3 file:/var/cache/openmediavault/archives Packages Ign:3 file:/var/cache/openmediavault/archives Packages Get:4 file:/var/cache/openmediavault/archives Translation-en Ign:4 file:/var/cache/openmediavault/archives Translation-en Get:5 file:/var/cache/openmediavault/archives Translation-en_GB Ign:5 file:/var/cache/openmediavault/archives Translation-en_GB Get:3 file:/var/cache/openmediavault/archives Packages Ign:3 file:/var/cache/openmediavault/archives Packages Get:4 file:/var/cache/openmediavault/archives Translation-en Ign:4 file:/var/cache/openmediavault/archives Translation-en Get:5 file:/var/cache/openmediavault/archives Translation-en_GB Ign:5 file:/var/cache/openmediavault/archives Translation-en_GB Get:3 file:/var/cache/openmediavault/archives Packages Ign:3 file:/var/cache/openmediavault/archives Packages Get:4 file:/var/cache/openmediavault/archives Translation-en Ign:4 file:/var/cache/openmediavault/archives Translation-en Get:5 file:/var/cache/openmediavault/archives Translation-en_GB Ign:5 file:/var/cache/openmediavault/archives Translation-en_GB Get:3 file:/var/cache/openmediavault/archives Packages Get:4 file:/var/cache/openmediavault/archives Translation-en Ign:4 file:/var/cache/openmediavault/archives Translation-en Get:5 file:/var/cache/openmediavault/archives Translation-en_GB Ign:5 file:/var/cache/openmediavault/archives Translation-en_GB Ign:6 http://ftp.dk.debian.org/debian stretch InRelease Hit:7 http://ftp.dk.debian.org/debian stretch-updates InRelease Hit:8 http://packages.openmediavault.org/public arrakis InRelease Hit:9 http://security.debian.org stretch/updates InRelease Hit:10 http://ftp.dk.debian.org/debian stretch Release Hit:11 http://packages.openmediavault.org/public arrakis-proposed InRelease Hit:13 https://openmediavault.github.io/packages arrakis InRelease Ign:14 https://dl.bintray.com/openmediavault-plugin-developers/erasmus jessie InRelease Hit:12 http://cdn-fastly.deb.debian.org/debian stretch-backports InRelease Ign:15 https://dl.bintray.com/openmediavault-plugin-developers/erasmus-plex jessie InRelease Hit:16 https://dl.bintray.com/openmediavault-plugin-developers/erasmus jessie Release Hit:18 https://dl.bintray.com/openmediavault-plugin-developers/erasmus-plex jessie Release Exception ignored in: <function WeakValueDictionary.__init__.<locals>.remove at 0x7f51334a6510> Traceback (most recent call last): File "/usr/lib/python3.5/weakref.py", line 117, in remove TypeError: 'NoneType' object is not callable Exception ignored in: <function WeakValueDictionary.__init__.<locals>.remove at 0x7f51334a6510> Traceback (most recent call last): File "/usr/lib/python3.5/weakref.py", line 117, in remove TypeError: 'NoneType' object is not callable Reading package lists... Done root@openmediavault:~#
EDIT: It updated after a reboot.
-
-
Reboot and run the command again. The system needs to be rebooted anyway.
-
This is my new output:
Coderoot@openmediavault:~# dpkg -l | grep openm iF openmediavault 4.1.12 all openmediavault - The open network attached storage solution ii openmediavault-keyring 1.0 all GnuPG archive keys of the OpenMediaVault archive iU openmediavault-omvextrasorg 4.1.11 all OMV-Extras.org Package Repositories for OpenMediaVault rc openmediavault-plexmediaserver 3.8.2 all OpenMediaVault Plex Media Server plugin root@openmediavault:~#
But i cant install plex or update in the Web gui, i get this errorCode
Alles anzeigenroot@openmediavault:~# dbkg --configure -bash: dbkg: command not found root@openmediavault:~# dpkg --configure dpkg: error: --configure needs at least one package name argument Type dpkg --help for help about installing and deinstalling packages [*]; Use 'apt' or 'aptitude' for user-friendly package management; Type dpkg -Dhelp for a list of dpkg debug flag values; Type dpkg --force-help for a list of forcing options; Type dpkg-deb --help for help about manipulating *.deb files; Options marked [*] produce a lot of output - pipe it through 'less' or 'more' ! root@openmediavault:~#
-
Remember how I said the package has to have 'ii' in the left column? Your openmediavault package has 'iF' which means it needs to be fixed. apt-get -f install should do that. And please use docker for plex instead of the plugin. Here is the video on how to do that - Installation and Setup Videos - Beginning, Intermediate and Advanced
-
-
-
Run the command it recommended dpkg --configure -a and then post the output of dpkg -l | grep openm again
-
Allmost full "ii" Thats a good thing right :D?
Coderoot@openmediavault:~# dpkg -l | grep openm ii openmediavault 4.1.12 all openmediavault - The open network attached storage solution ii openmediavault-keyring 1.0 all GnuPG archive keys of the OpenMediaVault archive ii openmediavault-omvextrasorg 4.1.11 all OMV-Extras.org Package Repositories for OpenMediaVault rc openmediavault-plexmediaserver 3.8.2 all OpenMediaVault Plex Media Server plugin root@openmediavault:~#
-
-
Allmost full "ii" Thats a good thing right :D?
The 'r' in the plex status means removed. So, that is ok. If you aren't going to use the plex plugin, you can purge it to get rid of that.
apt-get purge openmediavault-plexmediaserver
-
Its updating now!
Holy shit, thank you so much!
I hope all my noob questions will help someone else.
Is it possible to donate to OMV?
- About the "rc openmediavault-plexmediaserver" do you recommend remove it?
Im just affraid to do it if i cant get my plex up and running again with the "docker" i have no clue what it is, but i will watch the video.
What is the diffrence with "docker" and the plex plugin?
Jetzt mitmachen!
Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!