Clean OS (Debian), OpenMediaVault and other "firmwares"

dont works. if i select a lang the system language will be russian. i tryed so much. i reboot my cloud too

Try this:

http://community.wd.com/t5/WD-My-Cloud/Clean-debian-and-OpenMediaVault-on-WDMyCloud/m-p/788515/highlight/true#M20657

1 Like

This was great! :smiley:

Until I tried to upgrade to jessie, and now my Cloud is a white brick.

EDIT: To clarify, I’m not blaming anyone, I did it myself.

@torstefi i did exactly the same couple of weeks ago. Don’t worry. Taking the hdd out of wdmycloud box was the biggest challenge. After that I applied the kernel and rootfs image from fox’s clean debian package to corresponding partitions. Data stays intact. Keep in mind that system partitions are mirrored. I was inspired by Fox’s install script and the unbrick guide.

Yes! Green light!

Looks like I have to compile my own kernel to get anything newer than 3.2?

torstefi wrote:

This was great! :smiley:

 

Until I tried to upgrade to jessie, and now my Cloud is a white brick.

Hmm… Yeah, sure… After upgrade all work fine upto reboot… And device cant boot because all freeze at init…

Maybe its help:

apt-mark hold sysv-rc sysvinit sysvinit-utils initscripts

After that - run dist-upgrade. I can’t test it right now.

torstefi wrote:

Yes! Green light!

 

Looks like I have to compile my own kernel to get anything newer than 3.2?

For now - i try to rebuild Synology kernel (Same CPU, but kernel v3.2.40 and more patches like DMA and XOR for mdadm/scsi and Samba o_0)

Maybe someday i can run Synology DSM on MyCloud :smiley: (Hmm… Name it SynoCloud? :D)

2 Likes

Fox_exe you are the best!

Hello. I’ve done a clean install, then modify de sources.list and then install omv. Now i’ve got this error when y do “apt-get update” and I can’t install plugins nor update OMV.

output to apt-get update:

root@fjmnas01:~# apt-get updateIgn file:  Release.gpgIgn file:  ReleaseIgn file:  Translation-en_USIgn file:  Translation-enHit http://ftp.us.debian.org stable Release.gpgHit http://security.debian.org wheezy/updates Release.gpgHit http://security.debian.org wheezy/updates ReleaseGet:1 http://ftp.debian.org wheezy-updates Release.gpg [836 B]Hit http://ftp.us.debian.org stable ReleaseGet:2 http://ftp.debian.org wheezy-backports Release.gpg [836 B]Get:3 http://ftp.debian.org wheezy-updates Release [124 kB]Get:4 http://security.debian.org wheezy/updates/main armhf Packages [227 kB]Hit http://security.debian.org wheezy/updates/contrib armhf PackagesHit http://security.debian.org wheezy/updates/non-free armhf PackagesHit http://security.debian.org wheezy/updates/contrib Translation-enGet:5 http://security.debian.org wheezy/updates/main Translation-en [134 kB]Hit http://packages.openmediavault.org kralizec Release.gpgHit http://security.debian.org wheezy/updates/non-free Translation-enHit http://packages.openmediavault.org kralizec ReleaseHit http://packages.openmediavault.org kralizec/main armhf PackagesGet:6 http://ftp.debian.org wheezy-backports Release [147 kB]Ign http://security.debian.org wheezy/updates/main Translation-enIgn http://packages.openmediavault.org kralizec/main Translation-en_USIgn http://packages.openmediavault.org kralizec/main Translation-enHit http://ftp.debian.org wheezy-updates/main armhf Packages/DiffIndexGet:7 http://ftp.debian.org wheezy-updates/contrib armhf Packages [14 B]Get:8 http://ftp.debian.org wheezy-updates/non-free armhf Packages [14 B]Get:9 http://ftp.debian.org wheezy-updates/contrib Translation-en [14 B]Hit http://ftp.debian.org wheezy-updates/main Translation-en/DiffIndexGet:10 http://ftp.debian.org wheezy-updates/non-free Translation-en [14 B]Get:11 http://ftp.debian.org wheezy-backports/main armhf Packages/DiffIndex [7,819 B]Hit http://ftp.debian.org wheezy-backports/main Translation-en/DiffIndexErr http://ftp.us.debian.org stable/contrib Translation-en  Bad header line [IP: 128.61.240.89 80]Err http://ftp.us.debian.org stable/main Translation-en  Bad header line [IP: 128.61.240.89 80]Err http://ftp.us.debian.org stable/non-free Translation-en  Bad header line [IP: 128.61.240.89 80]Err http://ftp.us.debian.org stable/main armhf Packages  Bad header line [IP: 128.61.240.89 80]Err http://ftp.us.debian.org stable/contrib armhf Packages  Bad header line [IP: 128.61.240.89 80]Err http://ftp.us.debian.org stable/non-free armhf Packages  Bad header line [IP: 128.61.240.89 80]Fetched 280 kB in 2min 8s (2,187 B/s)W: Failed to fetch http://security.debian.org/dists/wheezy/updates/main/binary-armhf/Packages  Hash Sum mismatchW: Failed to fetch http://ftp.us.debian.org/debian/dists/stable/main/binary-armhf/Packages  Bad header line [IP: 128.61.240.89 80]W: Failed to fetch http://ftp.us.debian.org/debian/dists/stable/contrib/binary-armhf/Packages  Bad header line [IP: 128.61.240.89 80]W: Failed to fetch http://ftp.us.debian.org/debian/dists/stable/non-free/binary-armhf/Packages  Bad header line [IP: 128.61.240.89 80]W: Failed to fetch http://ftp.us.debian.org/debian/dists/stable/contrib/i18n/Translation-en  Bad header line [IP: 128.61.240.89 80]W: Failed to fetch http://ftp.us.debian.org/debian/dists/stable/main/i18n/Translation-en  Bad header line [IP: 128.61.240.89 80]W: Failed to fetch http://ftp.us.debian.org/debian/dists/stable/non-free/i18n/Translation-en  Bad header line [IP: 128.61.240.89 80]E: Some index files failed to download. They have been ignored, or old ones used instead.

My sources (as I see in message 118, by WSGVET)

sources.list

deb http://ftp.us.debian.org/debian stable main contrib non-free
deb http://ftp.debian.org/debian/ wheezy-updates main contrib non-free
deb http://ftp.debian.org/debian/ wheezy-backports main
#deb http://ftp.ru.debian.org/debian wheezy main contrib non-free
#deb http://ftp.ru.debian.org/debian wheezy-updates main contrib non-free
deb http://security.debian.org/ wheezy/updates main contrib non-free

 openmediavault.ist

deb http://packages.openmediavault.org/public kralizec main

 openmediavault-local.list

deb file:/var/cache/openmediavault/archives /

my preferences file:

Package: *
Pin: release a=wheezy-backports
Pin-Priority: 900
Package: *
Pin: release a=stable
Pin-Priority: 800

(I can’t find the error)

Any advice?

Thanks.

I tried to install owncloud and there was an error about rpc failed. I uninstalled owncloud plugin and now i can’t access the gui. The webpage without the login and just the openmediavault link at the bottom. I can access ssh and i can access the shares over the network. How can i fix the gui?

@fede_ first i must say that IMO the OMV is the best free NAS solution for debian out there (well balance between capabilities, complexity and usability). However, i recommed to read followingpost from hvalentim:  http://community.wd.com/t5/WD-My-Cloud/Clean-debian-and-OpenMediaVault-on-WDMyCloud/m-p/828213#M24977

My findings matches his comments very well. So after weeks of investigations and installing different “out of the box” solutions i have  everything up and running even without fancy UI.

FYI i am running proftpd, nfs, samba4, 2x minidlna (adults and kids), apache2 + php for home made very simple service management, grive (to secure data also to google drive), pyload as download manager and rdiff-backup for local backups. 

Hi Fox_exe,

with your debian is the wd my cloud just genial device! The limit now is the CPU and RAM. (for example JVM running on this HW is not really usable). I am considering to buy the wd my cloud ex2 with doubled ram and doubled cpu frequency. However it is not worth buying unless there is your debian package also available for EX2. :wink:

Is there any chance that you will also prepare the debian image for wd my cloud ex2?

Thanks

Btw. Just for fun i tried the xming over the putty and ssh. I was running several web browsers and jDownloader UI via Xming. It is obvious that it is useless, but it works :slight_smile:

Thanks for the advice hujanita, but I’m installing debian + OMV for fun (and learn a little while i’m doing it). I’ve installed Fox_exe version 3 month ago (and broke it 1 week ago while trying to update the kernel) and I like it. I use it most on my HTPC (transmission + couchpotato + sick beard + headphones on the WD + Kodi on a Raspberry).

Again, thanks.

(as Fox_exe says: I’m from Argentina. Sorry for my bad English)

hujanita wrote:

Hi Fox_exe,

 

Is there any chance that you will also prepare the debian image for wd my cloud ex2?

I think my “clean debian” can work on it (Same HW, same CPU, same system).

Need test it.

Hi,

I’m a newbie in CLI and Linux and I really wanted OMV on my “WD My Cloud”… but my installation miserably failed.

I PLEASE need help.

I’m still able to access the original FW though and I’m surprised I didn’t overwrite it… how is that possible?

Anyway here my steps:

I logged in by ssh into the WD device (after enabling SSH on the web interface and forgetting to log out) through my  Mac OS X terminal. Follow the steps for installing OMV v1.0.23 posted by Fox_exe (thanks for your great work!). I thought was a classic OMV installation but later on my terminal the word “Jessie” made me think that probably I didn’t really understand what I was doing (isn’t OMV based on Debian stable?).

Anyway here some of the error messages I’ve got:

after launching “apt-get update” nothing seems wrong except this

W: GPG error: http://packages.openmediavault.org kralizec Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 7E7A6C592EF35D13

I thought of it as nothing to worry about, thereafter “apt-get install openmediavault-keyring postfix” shows no problems and then another authentication problem I didn’t worry about, so I went on

WARNING: The following packages cannot be authenticated!
  openmediavault-keyring
Install these packages without verification [y/N]? y

Next a lot of warnings about missing files (I may have misunderstood the terminal output):

nfuse0:armhf' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'libexif12:armhf' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'libffi5:armhf' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'libflac8:armhf' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'libdbus-1-3:armhf' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'libxml2:armhf' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'libfreetype6:armhf' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'libxdmcp6:armhf' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'libpam-cap:armhf' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'libpam-winbind:armhf' missing; assuming package has no files currently installed
(Reading database ... 24416 files and directories currently installed.)

 did another “apt-get update” and then after “apt-get install openmediavault” some more problems:

Building dependency tree       
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 openmediavault : Depends: php5-pam but it is not going to be installed
                  Depends: proftpd-basic but it is not going to be installed
                  Depends: proftpd-mod-vroot but it is not going to be installed
                  Depends: php5-proctitle but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

 and of course:

WDMC:~# omv-initsystem
-bash: omv-initsystem: command not found

Sorry all, but I really don’t understand what went wrong.

Thanks for any help and being patience!

just realized I followed the wrong instructions… dumb me.

Hopefully I won’t need to do a original firmware restore before starting the installation script… thanks for any suggestion

Nasville wrote:

Sorry all, but I really don’t understand what went wrong.

Thanks for any help and being patience!

Are you trying install OMV inside original firmware?

My instruction - only for “clean debian”.Use “Autoinstall.zip” for replace firmware to OMV.


Fox_exe wrote:

Are you trying install OMV inside original firmware?

My instruction - only for “clean debian”.Use “Autoinstall.zip” for replace firmware to OMV.

Thanks for response.

I’m trying your script now… finger crossed =)

all seems good! thx =)

I also run the after-install script,

but I was stuck here, but I choose YES

Файл настройки «/etc/default/openmediavault»
 ==> Изменён после установки (вами или сценарием).
 ==> Автор пакета предоставил обновлённую версию.
  Что нужно сделать? Есть следующие варианты:
   Y или I : установить версию, предлагаемую сопровождающим пакета
   N или O : оставить установленную на данный момент версию
      D : показать различия между версиями
      Z : запустить оболочку командной строки для проверки ситуации
 По умолчанию сохраняется текущая версия файла настройки.
*** openmediavault (Y/I/N/O/D/Z) [по умолчанию N] ?

Well there were few other setup screens coming up in russian too… I used a bit of google translate. Hope I didn’t do anything wrong.

Many thanks!

Nasville wrote:

all seems good! thx :slight_smile:

I also run the after-install script,

but I was stuck here, but I choose YES

All is ok.

About setup screens - this is language select and timezone settings.

You can run it manualy: dpkg-reconfigure locales and choose what language you want to add, then - choose default langugage.

dpkg-reconfigure tzdata - choose your timezone. Also you can change it from web interface.

***

I update OMV to latest version soon and make English as default language if someone need this.

1 Like