[myHD 0.5.1] RC2 version ... Add Ubuntu 1804 Bionic

New total application manager for HD_Station
User avatar
philippe
Site Admin
Posts: 150
Joined: Mon Apr 16, 2018 3:10 pm
Has thanked: 2 times
Been thanked: 15 times

Re: [myHD 0.4.1] RC1 version ... 0.4 + 1 patch

Post by philippe » Sat Oct 06, 2018 9:18 am

Hi,
FlyGoneCrazy wrote:
Fri Oct 05, 2018 7:18 pm
After the first test day I'm missing the following things:
  • PVR clients;
  • A possibility to use old config from mykodi18 (I've tried to copy old one or link to it, but the kodi18 doesn't start at all;
  • vlc and chrome installations (seems that for the moment only kodi17, plex and kodi18 are available).
First, please create separate topic for each problem (this help to don't forgot one and for other users to see the problem and the possible solution)
Also remember that specific topic exist for each basic myHD QPKG ...

Q1 :
myHD is based on TRUE ubuntu delivery ... in Ubuntu each binary-addons (so lot of PVR, audio, screensaver, etc. addons) are in a separate package
... so use any Ubuntu help forum to have a solution available for myHD ...
The solution is to use the Ubuntu method to install this addons : apt-get install XXXX and to search available (so delivered by Kodi team) addons like PVR do : apt-cache search kodi-pvr*
How-to : (replace pvr by audio, screensaver, visualization, eventclients, etc. depends of the type of addons you want)
A) enter as root in myHD (myHD_root) and do the command
B) execute command directly ex. hereafter I ask for pvr list (without debug version) and install one (or a list separate with space) (THE -y in second command is to don't have to answer the question)

Code: Select all

[~] # myHD_root "apt-cache search kodi-pvr* | grep -v dbg"
vdr-plugin-vnsiserver - VDR plugin to provide PVR backend services for Kodi
kodi-pvr-dev - Kodi Media Center (PVR Add-on Dev package)
kodi-pvr-argustv - ArgusTV PVR for Kodi
kodi-pvr-demo - Demo PVR for Kodi
kodi-pvr-dvbviewer - DVBViewer PVR for Kodi
kodi-pvr-iptvsimple - Simple IPTV PVR for Kodi
kodi-pvr-mediaportal-tvserver - MediaPortal PVR for Kodi
kodi-pvr-mythtv - MythTV PVR for Kodi
kodi-pvr-nextpvr - NextPVR for Kodi
kodi-pvr-njoy - NJOY PVR for Kodi
kodi-pvr-tvheadend-hts - transitional dummy package
kodi-pvr-vdr-vnsi - VDR PVR for Kodi
kodi-pvr-vuplus - Vu+ PVR for Kodi
kodi-pvr-hts - TVHeadEnd PVR for Kodi
kodi-pvr-wmc - WMC PVR for Kodi
kodi-pvr-pctv - PCTV PVR for Kodi
kodi-pvr-dvblink - DVBLink PVR for Kodi
kodi-pvr-filmon - FilmOn PVR for Kodi
kodi-pvr-stalker - Stalker PVR for Kodi
kodi-pvr-vbox - VBox Home TV Gateway PVR client for Kodi
kodi-pvr-hdhomerun - HDHomeRun PVR for Kodi
kodi-pvr-octonet - Digital Devices Octopus NET PVR for Kodi
kodi-pvr-zattoo - Zattoo PVR for Kodi
kodi-pvr-teleboy - Teleboy PVR for Kodi
[~] # myHD_root "apt-get -y install kodi-pvr-demo"
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following additional packages will be installed:
  libkodiplatform17
The following NEW packages will be installed:
  kodi-pvr-demo libkodiplatform17
0 upgraded, 2 newly installed, 0 to remove and 5 not upgraded.
Need to get 53.5 kB of archives.
After this operation, 281 kB of additional disk space will be used.
Get:1 http://ppa.launchpad.net/team-xbmc/unstable/ubuntu xenial/main amd64 libkodiplatform17 amd64 17.1.0-3~xenial [7530 B]
Get:2 http://ppa.launchpad.net/team-xbmc/unstable/ubuntu xenial/main amd64 kodi-pvr-demo amd64 3.6.0-2~xenial [46.0 kB]
Fetched 53.5 kB in 0s (136 kB/s)
dpkg-preconfigure: unable to re-open stdin: No such file or directory
Selecting previously unselected package libkodiplatform17:amd64.
(Reading database ... 43402 files and directories currently installed.)
Preparing to unpack .../libkodiplatform17_17.1.0-3~xenial_amd64.deb ...
Unpacking libkodiplatform17:amd64 (17.1.0-3~xenial) ...
Selecting previously unselected package kodi-pvr-demo.
Preparing to unpack .../kodi-pvr-demo_3.6.0-2~xenial_amd64.deb ...
Unpacking kodi-pvr-demo (3.6.0-2~xenial) ...
Processing triggers for libc-bin (2.23-0ubuntu10) ...
Setting up libkodiplatform17:amd64 (17.1.0-3~xenial) ...
Setting up kodi-pvr-demo (3.6.0-2~xenial) ...
Processing triggers for libc-bin (2.23-0ubuntu10) ...
[~] #
Q2 :
I have not tested this move BUT no reason (except that first version of mykodi18 are ALPHA) ... that it's not possible
BUT a VERY important point is :
... mykodi18 run under root user (root group)
... kodi18 in myHD run under a standard user : qnap (by default if you don't have clone your own user)
... ... so after moving the .kodi to /home/qnap (the qnap user home folder) don't forgot to change the owner of the folder
ex.
A) include /share/Public in myHD (or any other existing shared resource eventually build for that)
... restart myHD to get access
save old .kodi ex. : tar czf /share/Public/mykodisettings.tgz -C /share/CACHEDEV1_DATA/.qpkg/mykodi18/homes/newkodi18/.kodi .
enter in myHD as root : myHD_root
cd /home/qnap
mv .kodi .kodi_before_putting_oldest
mkdir .kodi && cd .kodi && tar xzf /share/Public/mykodisettings.tgz && cd ..
chown -R qnap .kodi
(change recursively the owner of the file)
... now you can test if it works
... if it definitively don,'t works ... remove .kodi and mv back (mv is use to rename) .kodi_before_putting_oldest to .kodi

Q3 :
As explain in posts to add another icon in HD_Station, you must generate the corresponding QPKG then install it
use : myHD_qpkg command
1 ... to create the QPKG
2 ... to install them
myHD_qpkg create chrome
myHD_qpkg install chrome


... to have a view of prepared files for QPKG and existing QPKG and if exist if installed in HD_Station do
myHD_qpkg status

Code: Select all

[~] # myHD_qpkg status
Search for ALL QPK generated or not for myHD
=====
qpkg for  calibre  exist : /share/CACHEDEV1_DATA/.qpkg/myHD/myHD_qpkg/qpkg/calibre/MH_calibre_3.18.0.qpkg
search if QPKG  calibre  is installed as  MH_calibre
---- QPKG  calibre is installed  in HD_Station as  MH_calibre
----  MH_calibre  version installed is : 3.18.0
=====
qpkg for  chrome  exist : /share/CACHEDEV1_DATA/.qpkg/myHD/myHD_qpkg/qpkg/chrome/MH_chrome_1.0.qpkg
search if QPKG  chrome  is installed as  MH_chrome
---- QPKG  chrome is installed  in HD_Station as  MH_chrome
----  MH_chrome  version installed is : 1.0
=====
qpkg for  kodi17  exist : /share/CACHEDEV1_DATA/.qpkg/myHD/myHD_qpkg/qpkg/kodi17/MH_kodi17_17.6.qpkg
search if QPKG  kodi17  is installed as  MH_kodi17
---- QPKG  kodi17  is NOT installed in HD_Station
=====
qpkg for  kodi18  exist : /share/CACHEDEV1_DATA/.qpkg/myHD/myHD_qpkg/qpkg/kodi18/MH_kodi18_18.0.qpkg
search if QPKG  kodi18  is installed as  MH_kodi18
---- QPKG  kodi18 is installed  in HD_Station as  MH_kodi18
----  MH_kodi18  version installed is : 18.0
=====
qpkg for  molotov  exist : /share/CACHEDEV1_DATA/.qpkg/myHD/myHD_qpkg/qpkg/molotov/MH_molotov_1.0.99.qpkg
search if QPKG  molotov  is installed as  MH_molotov
---- QPKG  molotov is installed  in HD_Station as  MH_molotov
----  MH_molotov  version installed is : 1.0.99
=====
qpkg for  netflix  exist : /share/CACHEDEV1_DATA/.qpkg/myHD/myHD_qpkg/qpkg/netflix/MH_netflix_1.0.qpkg
search if QPKG  netflix  is installed as  MH_netflix
---- QPKG  netflix is installed  in HD_Station as  MH_netflix
----  MH_netflix  version installed is : 1.0
=====
qpkg for  pmp  exist : /share/CACHEDEV1_DATA/.qpkg/myHD/myHD_qpkg/qpkg/pmp/MH_pmp_2.14.1.qpkg
search if QPKG  pmp  is installed as  MH_pmp
---- QPKG  pmp is installed  in HD_Station as  MH_pmp
----  MH_pmp  version installed is : 2.14.1
=====
qpkg for  primevideo  exist : /share/CACHEDEV1_DATA/.qpkg/myHD/myHD_qpkg/qpkg/primevideo/MH_primevideo_1.0.qpkg
search if QPKG  primevideo  is installed as  MH_primevideo
---- QPKG  primevideo is installed  in HD_Station as  MH_primevideo
----  MH_primevideo  version installed is : 1.0
=====
qpkg for  test  exist : /share/CACHEDEV1_DATA/.qpkg/myHD/myHD_qpkg/qpkg/test/MH_test_1.9.9.qpkg
search if QPKG  test  is installed as  MH_test
---- QPKG  test is installed  in HD_Station as  MH_test
----  MH_test  version installed is : 1.9.9
=====
[~] #
Philippe.
QNAP / Asustor package integrator
User avatar
philippe
Site Admin
Posts: 150
Joined: Mon Apr 16, 2018 3:10 pm
Has thanked: 2 times
Been thanked: 15 times

Re: [myHD 0.5] RC2 version ... Add Ubuntu 1804 Bionic

Post by philippe » Sat Oct 06, 2018 5:37 pm

Hi,

New update MAJOR so be prudent ...
[Version]
R.C. 2 : 0.5
... solve various bugs
... clean some shell scripts with potential problem in some case

... ADD support for Ubuntu 18.04 Bionic environment ALPHA ALPHA ALPHA ALPHA
... ... this environment can be installed IN PARALLEL to the actual 16.04 (or alone for a fresh install)
... HOW load / install and switch to 18.04 (16.04 is keep ... so you can switch between the two ... )
... ... first backup your personal data in myHD (no need for shared resources)
... ... first install myHD 0.5 QPKG
... ... then use myHD switch_ubuntu_env 1804
... ... this stop myHD switch to 18.04 if 18.04 is not installed ... download files (so Internet is require) ... install environment SO BE PATIENT ... WITHOUT removing 16.04
... ... same HD_Station QPKG can be used for 16.04 or 18.04 ... so if you have already kodi18 available ... click on the icon and launch 18.04 version
... ... remember that home are in different folder so you can copy your settings from 16.04 to 18.04 (take care to owner of files)
... ... in 18.04 Kodi18 is Beta3 / plexMediaPlayer is 2.2.0 / mykodi17 ported is also available
... HOW do a fresh install directly (so not update) with 18.04 version (ALPHA) or an update with switching directly to 18.04 (NOT FULLY TESTED)
... ... just BEFORE INSTALLING myHD QPKG create a file : /share/Public/.install_myHD_1804
... ... this force to get 1804 and the file .install_myHD_1804 will be delete when installed

Philippe.
These users thanked the author philippe for the post:
odo125 (Sun Oct 07, 2018 4:01 pm)
Rating: 50%
QNAP / Asustor package integrator
odo125
Posts: 1
Joined: Sun Oct 07, 2018 3:21 pm
Has thanked: 1 time
Been thanked: 0

Re: [myHD 0.5] RC2 version ... Add Ubuntu 1804 Bionic

Post by odo125 » Sun Oct 07, 2018 3:56 pm

Hi
First off all thanks for your work.
I have updated from version 0.2 to Version 0.5 RC2.
If I use the command "myHD switch_ubuntu_env 1804" to switch to ubuntu 18.04 it seems that 18.04 is not isolated. If i do the comand myHD_root I get in the console window NOT root@1804 as expected but root@harrynas were harrynas is the name of my qnap470 pro.
If I now start Kodi 18 and push the power button on my remote control it not only shuts down Kodi but the whole NAS. This is reproduceable. The shutdown of the NAS was in my case unclean so it had to resync the Raid group.
If I switch back to Ubuntu 1604 with the command "myHD switch_ubuntu_env 1604" everything works as expected.
If I use the comand myHD_root I get in the console window root@1604 and can use the power button on my remote console inside kodi18 to just shut down kodi.
Maybe I missed something or did something wrong. Anyway if it is a bug I hope the post is helpfull to you, othwerwise maybe you can tell me what I did wrong.
Greetings
madalex
Posts: 4
Joined: Sun Aug 19, 2018 3:58 pm
Has thanked: 0
Been thanked: 0

Re: [myHD 0.5] RC2 version ... Add Ubuntu 1804 Bionic

Post by madalex » Sun Oct 07, 2018 4:09 pm

Hi,

could you add which version(s) of HD station your myHD is targeted at as a companion? FoEx, I've got 3.2.7 now, is 0.5RC2 a good version to install along side 3.2.7 or should I downgrade my HD station if I were to give myHD a try? Thx!

Regards,

Alex
User avatar
philippe
Site Admin
Posts: 150
Joined: Mon Apr 16, 2018 3:10 pm
Has thanked: 2 times
Been thanked: 15 times

Re: [myHD 0.5] RC2 version ... Add Ubuntu 1804 Bionic

Post by philippe » Sun Oct 07, 2018 5:03 pm

Hi,
madalex wrote:
Sun Oct 07, 2018 4:09 pm
Hi,
could you add which version(s) of HD station your myHD is targeted at as a companion? FoEx, I've got 3.2.7 now, is 0.5RC2 a good version to install along side 3.2.7 or should I downgrade my HD station if I were to give myHD a try? Thx!
Regards,
Alex
Due to the fact that :
... my development platform are also my daily working platform
... AND the fact I always follow new Q.T.S. / HD_Station version

I have resource ONLY to test on last QTS so 4.3.5 and last HD_Station 3.2.7
... but due to the isolation ... I think it can works on QTS 4.3.4 and HD_Station 3.2.x

BUT you are true ... I will add to announcement topic the tested models and version ...
Philippe.
QNAP / Asustor package integrator
madalex
Posts: 4
Joined: Sun Aug 19, 2018 3:58 pm
Has thanked: 0
Been thanked: 0

Re: [myHD 0.5] RC2 version ... Add Ubuntu 1804 Bionic

Post by madalex » Sun Oct 07, 2018 8:07 pm

I'm also almost alway in the latest so it's all good for me, but given how poorly QNAP documents the changes in its release notes for the HD station it doesn't hurt to have a safe starting point...
Sonn
Posts: 11
Joined: Sun Sep 02, 2018 3:16 am
Has thanked: 4 times
Been thanked: 0

Re: [myHD 0.5] RC2 version ... Add Ubuntu 1804 Bionic

Post by Sonn » Sun Oct 07, 2018 8:41 pm

myHD 0.5 gets hung up here at 45% ,upgrading from 0.4.1....Had to restart NAS … Will wait to try again later..

HD Station at 3.2.7 .. Firmware Version QTS 4.3.5.0713 TVS-1282T
Last edited by Sonn on Sun Oct 07, 2018 10:00 pm, edited 1 time in total.
User avatar
philippe
Site Admin
Posts: 150
Joined: Mon Apr 16, 2018 3:10 pm
Has thanked: 2 times
Been thanked: 15 times

Re: [myHD 0.5] RC2 version ... Add Ubuntu 1804 Bionic

Post by philippe » Sun Oct 07, 2018 9:06 pm

Hi,
Sonn wrote:
Sun Oct 07, 2018 8:41 pm
myHD 0.5 gets hung up here at 45% ,upgrading from 0.4.1....Had to restart NAS … Will wait to try again later..
HD Station at 3.2.7 ..
Please try a manual install to get more information ...
cp myHD_0.5.qpkg to /share/Public (Public shared resource)
open a ssh console at admin / your_password
chmod +x myHD_0.5.qpkg
./myHD_0.5.qpkg

Philippe.
QNAP / Asustor package integrator
Sonn
Posts: 11
Joined: Sun Sep 02, 2018 3:16 am
Has thanked: 4 times
Been thanked: 0

Re: [myHD 0.5] RC2 version ... Add Ubuntu 1804 Bionic

Post by Sonn » Sun Oct 07, 2018 10:01 pm

philippe wrote:
Sun Oct 07, 2018 9:06 pm
Hi,
Sonn wrote:
Sun Oct 07, 2018 8:41 pm
myHD 0.5 gets hung up here at 45% ,upgrading from 0.4.1....Had to restart NAS … Will wait to try again later..
HD Station at 3.2.7 ..
Please try a manual install to get more information ...
cp myHD_0.5.qpkg to /share/Public (Public shared resource)
open a ssh console at admin / your_password
chmod +x myHD_0.5.qpkg
./myHD_0.5.qpkg

Philippe.


Will do when I get home :)
tarkett
Posts: 15
Joined: Tue May 29, 2018 7:19 pm
Has thanked: 2 times
Been thanked: 2 times

Re: [myHD 0.5] RC2 version ... Add Ubuntu 1804 Bionic

Post by tarkett » Tue Oct 09, 2018 10:47 pm

philippe wrote:
Sun Oct 07, 2018 9:06 pm
Please try a manual install to get more information ...
cp myHD_0.5.qpkg to /share/Public (Public shared resource)
open a ssh console at admin / your_password
chmod +x myHD_0.5.qpkg
./myHD_0.5.qpkg
Hi Philippe,

I have exactly the same problem.
Wtih the manual installation I get the following output:

Code: Select all

Install QNAP package on TS-NAS ...
myHD.tgz
8820+1 records in
8820+1 records out
3598631 bytes (3.4MB) copied, 0.027251 seconds, 125.9MB/s
qinstall.sh
qpkg.cfg
Best regards
tarkett
My environment:
* NAS Qnap TVS-682 with 4.3.5.0722 + myHD Version 0.5.1 (Ubuntu 1804) with mykodi18
* Samsung TV connected via HDMI to NAS + Samsung Soundbar is connected via Bluetooth to the TV
Post Reply