cat: can't open '/HCBv2/env': No such file or directory

If your (rooted) Toon doesn't do what it's supposed to, post here. Dutch allowed / Posten in 't Nederlands toegestaan.

Moderators: marcelr, TheHogNL, Toonz

Post Reply
edwinth
Starting Member
Starting Member
Posts: 16
Joined: Mon Jun 03, 2013 9:29 pm

cat: can't open '/HCBv2/env': No such file or directory

Post by edwinth »

Hello,

I'm trying to update my Toon but it fails because some folder is missing ?
How can I fix this ?

Thanks,

Edwin

===================================================================================================================================================================
Welcome to the rooted Toon upgrade script. This script will try to upgrade your Toon using your original connection with Eneco. It will start the VPN if necessary.
Please be advised that running this script is at your own risk!

Version: 3.85 - TheHogNL & TerrorSource & yjb - 14-4-2019

If you like the update script for rooted toons you can support me. Any donation is welcome and helps me developing the script even more.
https://paypal.me/pools/c/8bU3eQp1Jt

===================================================================================================================================================================

You are currently running version 5.2.11 on a qb2 with flavour uni

Available versions: 1.0.9 1.9.10 2.1.0 2.2.24 2.3.17 2.3.29 2.3.36 2.4.7 2.4.12 2.5.11 2.5.14 2.5.18 2.6.24 2.6.33 2.8.16 2.8.21 2.8.27 2.9.15 2.9.26 2.10.15 3.0.29 3.0.32 3.1.22 3.2.14 3.2.18 3.2.21 3.3.8 3.4.2 3.4.4 3.5.4 3.6.3 3.7.8 3.7.9 4.3.20 4.4.21 4.7.23 4.8.25 4.9.23 4.9.124 4.10.6 4.11.6 4.12.0 4.13.6 4.13.7 4.15.2 4.15.6 4.16.8 4.18.8 4.19.10 4.20.7 4.22.7 5.0.4 5.2.11 5.5.7

Which version do you want to upgrade to?
5.5.7
Alright, I will try to upgrade to 5.5.7
iptables: Chain already exists.
Tunnel is alive and configured.
Upgrade script downloaded. We need to download the upgrade files first. No upgrade is done yet. Do you want me to download the files (yes) or quit (anything else)?
yes
Starting the upgrade prepare option which downloads all necessary files. No upgrade is done yet.
cat: can't open '/HCBv2/env': No such file or directory
Waiting to finish. Sometimes this takes a minute or two ..
Done preparing.
Are your sure you want to upgrade to 5.5.7 (yes)? This is the last moment you can stop the upgrade. Answer with 'yes' will start the upgrade.
yes
Starting the upgrade now! Just wait a while... It can take a few minutes.
cat: can't open '/HCBv2/env': No such file or directory
Progress: 0% .
edwinth
Starting Member
Starting Member
Posts: 16
Joined: Mon Jun 03, 2013 9:29 pm

Re: cat: can't open '/HCBv2/env': No such file or directory

Post by edwinth »

Update looks succesfull, version is now 5.5.7
TheHogNL
Forum Moderator
Forum Moderator
Posts: 2125
Joined: Sun Aug 20, 2017 8:53 pm

Re: cat: can't open '/HCBv2/env': No such file or directory

Post by TheHogNL »

Just ignore that "cat: can't open '/HCBv2/env': No such file or directory" line. It a bug in Eneco's script. Not mine :)
Member of the Toon Software Collective
bertbigb
Starting Member
Starting Member
Posts: 1
Joined: Wed Aug 30, 2017 2:53 pm

Re: cat: can't open '/HCBv2/env': No such file or directory

Post by bertbigb »

Dear All,

I try to do the update but I get the following:

Code: Select all

eneco-001-083821:~# sh /root/update-rooted.sh
================================================================================                                                                                                                                     ================================================================================                                                                                                                                     ===
Welcome to the rooted Toon upgrade script. This script will try to upgrade your                                                                                                                                      Toon using your original connection with Eneco. It will start the VPN if necessa                                                                                                                                     ry.
Please be advised that running this script is at your own risk!

Version: 3.992  - TheHogNL & TerrorSource & yjb - 3-9-2019

If you like the update script for rooted toons you can support me. Any donation                                                                                                                                      is welcome and helps me developing the script even more.
https://paypal.me/pools/c/8bU3eQp1Jt

================================================================================                                                                                                                                     ================================================================================                                                                                                                                     ===

You are currently running version 4.7.23 on a qb2 with flavour ene

Available versions: 1.9.10 2.1.0 2.2.24 2.3.17 2.3.29 2.3.36 2.4.7 2.4.12 2.5.11 2.5.14 2.5.18 2.6.24 2.6.33 2.8.16 2.8.21 2.8.27 2.9.15 2.9.26 2.10.                                                                15 3.0.29 3.0.32 3.1.22 3.2.14 3.2.18 3.2.21 3.3.8 3.4.2 3.4.4 3.5.4 3.6.3 3.7.8 3.7.9 4.3.20 4.4.21 4.7.23 4.8.25 4.9.23 4.9.124 4.10.6 4.11.6 4.12.                                                                0 4.13.6 4.13.7 4.15.2 4.15.6 4.16.8 4.18.8 4.19.10 4.20.7 4.22.7 5.0.4 5.0.5 5.0.6 5.2.11 5.5.7 5.9.6

Which version do you want to upgrade to?
5.9.6
You need to upgrade to 5.0.4 first due to possible disk space issues! Selecting this version for you.
Now starting the VPN tunnel and waiting for it to be alive and configured...
Tunnel is alive and configured.
Upgrade script downloaded. We need to download the upgrade files first. No upgrade is done yet. Do you want me to download the files (yes) or quit (a                                                                nything else)?
yes
Starting the upgrade prepare option which downloads all necessary files. No upgrade is done yet.
cat: can't open '/HCBv2/env': No such file or directory
Pogress: 0% ...
Then I tried to do the update at new (and now it comes to 23%):

Code: Select all

eneco-001-083821:~# sh /root/update-rooted.sh
=====================================================================================================================================================                                                                ==============
Welcome to the rooted Toon upgrade script. This script will try to upgrade your Toon using your original connection with Eneco. It will start the VPN                                                                 if necessary.
Please be advised that running this script is at your own risk!

Version: 3.992  - TheHogNL & TerrorSource & yjb - 3-9-2019

If you like the update script for rooted toons you can support me. Any donation is welcome and helps me developing the script even more.
https://paypal.me/pools/c/8bU3eQp1Jt

=====================================================================================================================================================                                                                ==============

Your Toon already tried downloading version 5.0.4 before. Need to force this version!
iptables: Chain already exists.
Tunnel is alive and configured.
Upgrade script downloaded. We need to download the upgrade files first. No upgrade is done yet. Do you want me to download the files (yes) or quit (a                                                                nything else)?
yes
Starting the upgrade prepare option which downloads all necessary files. No upgrade is done yet.
cat: can't open '/HCBv2/env': No such file or directory
Progress: 23%  ..
Prepare failed. Please check the logs at /mnt/data/update/upgrade-qb2.sh.log
Quitting the upgrade. It was a nice try tho...
Then I had a look in the log file and I see (the last lines)

Code: Select all

> opkg_dl.download.supervisor: /tmp/opkg-RBQ9fj/busybox_1.27.2-r1_qb2.ipk: downloading
> opkg_dl.download.supervisor: /tmp/opkg-RBQ9fj/firmware-ma_1.143-master_all.ipk: downloading
> opkg_dl.download.supervisor: /tmp/opkg-RBQ9fj/happ-pwrusage_1.775-master_qb2.ipk: downloading
> opkg_dl.download.supervisor: /tmp/opkg-RBQ9fj/hcb-comm_1.199-N-master_qb2.ipk: downloading
> opkg_dl.download.supervisor: /tmp/opkg-RBQ9fj/kernel-image_2.6.36-R10-h28_qb2.ipk: downloading
> opkg_dl.download.supervisor: /tmp/opkg-RBQ9fj/libhcb-drv_1.446-master_qb2.ipk: downloading
> opkg_dl.download.supervisor: /tmp/opkg-RBQ9fj/libhcb-xml_1.136-master_qb2.ipk: downloading
> opkg_dl.download.supervisor: /tmp/opkg-RBQ9fj/libz1_1.2.8-r0_armv5e.ipk: downloading
> opkg_dl.download.supervisor: /tmp/opkg-RBQ9fj/openssl_1.0.2p-r0_armv5e.ipk: downloading
> opkg_dl.download.supervisor: /tmp/opkg-RBQ9fj/qt-gui_1.9133-master_qb2.ipk: downloading
> opkg_dl.download.supervisor: /tmp/opkg-RBQ9fj/wpa-supplicant-cli_2.6-r0_qb2.ipk: downloading
> opkg_dl.download.supervisor: /tmp/opkg-RBQ9fj/www-resources_1.38-master_qb2.ipk: downloading
The df -h gives me

Code: Select all

eneco-001-083821:~# df -h
Filesystem                Size      Used Available Use% Mounted on
ubi0:rootfs             106.4M     54.8M     51.5M  52% /
tmpfs                    61.6M      2.5M     59.1M   4% /var/volatile
eneco-001-083821:~#
What to do now? I hope someone can help me.
TerrorSource
Administrator
Administrator
Posts: 494
Joined: Thu May 04, 2017 9:28 pm

Re: cat: can't open '/HCBv2/env': No such file or directory

Post by TerrorSource »

bertbigb wrote:Dear All,

I try to do the update but I get the following:

Code: Select all

eneco-001-083821:~# sh /root/update-rooted.sh
================================================================================                                                                                                                                     ================================================================================                                                                                                                                     ===
Welcome to the rooted Toon upgrade script. This script will try to upgrade your                                                                                                                                      Toon using your original connection with Eneco. It will start the VPN if necessa                                                                                                                                     ry.
Please be advised that running this script is at your own risk!

Version: 3.992  - TheHogNL & TerrorSource & yjb - 3-9-2019

If you like the update script for rooted toons you can support me. Any donation                                                                                                                                      is welcome and helps me developing the script even more.
https://paypal.me/pools/c/8bU3eQp1Jt

================================================================================                                                                                                                                     ================================================================================                                                                                                                                     ===

You are currently running version 4.7.23 on a qb2 with flavour ene

Available versions: 1.9.10 2.1.0 2.2.24 2.3.17 2.3.29 2.3.36 2.4.7 2.4.12 2.5.11 2.5.14 2.5.18 2.6.24 2.6.33 2.8.16 2.8.21 2.8.27 2.9.15 2.9.26 2.10.                                                                15 3.0.29 3.0.32 3.1.22 3.2.14 3.2.18 3.2.21 3.3.8 3.4.2 3.4.4 3.5.4 3.6.3 3.7.8 3.7.9 4.3.20 4.4.21 4.7.23 4.8.25 4.9.23 4.9.124 4.10.6 4.11.6 4.12.                                                                0 4.13.6 4.13.7 4.15.2 4.15.6 4.16.8 4.18.8 4.19.10 4.20.7 4.22.7 5.0.4 5.0.5 5.0.6 5.2.11 5.5.7 5.9.6

Which version do you want to upgrade to?
5.9.6
You need to upgrade to 5.0.4 first due to possible disk space issues! Selecting this version for you.
Now starting the VPN tunnel and waiting for it to be alive and configured...
Tunnel is alive and configured.
Upgrade script downloaded. We need to download the upgrade files first. No upgrade is done yet. Do you want me to download the files (yes) or quit (a                                                                nything else)?
yes
Starting the upgrade prepare option which downloads all necessary files. No upgrade is done yet.
cat: can't open '/HCBv2/env': No such file or directory
Pogress: 0% ...
Then I tried to do the update at new (and now it comes to 23%):

Code: Select all

eneco-001-083821:~# sh /root/update-rooted.sh
=====================================================================================================================================================                                                                ==============
Welcome to the rooted Toon upgrade script. This script will try to upgrade your Toon using your original connection with Eneco. It will start the VPN                                                                 if necessary.
Please be advised that running this script is at your own risk!

Version: 3.992  - TheHogNL & TerrorSource & yjb - 3-9-2019

If you like the update script for rooted toons you can support me. Any donation is welcome and helps me developing the script even more.
https://paypal.me/pools/c/8bU3eQp1Jt

=====================================================================================================================================================                                                                ==============

Your Toon already tried downloading version 5.0.4 before. Need to force this version!
iptables: Chain already exists.
Tunnel is alive and configured.
Upgrade script downloaded. We need to download the upgrade files first. No upgrade is done yet. Do you want me to download the files (yes) or quit (a                                                                nything else)?
yes
Starting the upgrade prepare option which downloads all necessary files. No upgrade is done yet.
cat: can't open '/HCBv2/env': No such file or directory
Progress: 23%  ..
Prepare failed. Please check the logs at /mnt/data/update/upgrade-qb2.sh.log
Quitting the upgrade. It was a nice try tho...
Then I had a look in the log file and I see (the last lines)

Code: Select all

> opkg_dl.download.supervisor: /tmp/opkg-RBQ9fj/busybox_1.27.2-r1_qb2.ipk: downloading
> opkg_dl.download.supervisor: /tmp/opkg-RBQ9fj/firmware-ma_1.143-master_all.ipk: downloading
> opkg_dl.download.supervisor: /tmp/opkg-RBQ9fj/happ-pwrusage_1.775-master_qb2.ipk: downloading
> opkg_dl.download.supervisor: /tmp/opkg-RBQ9fj/hcb-comm_1.199-N-master_qb2.ipk: downloading
> opkg_dl.download.supervisor: /tmp/opkg-RBQ9fj/kernel-image_2.6.36-R10-h28_qb2.ipk: downloading
> opkg_dl.download.supervisor: /tmp/opkg-RBQ9fj/libhcb-drv_1.446-master_qb2.ipk: downloading
> opkg_dl.download.supervisor: /tmp/opkg-RBQ9fj/libhcb-xml_1.136-master_qb2.ipk: downloading
> opkg_dl.download.supervisor: /tmp/opkg-RBQ9fj/libz1_1.2.8-r0_armv5e.ipk: downloading
> opkg_dl.download.supervisor: /tmp/opkg-RBQ9fj/openssl_1.0.2p-r0_armv5e.ipk: downloading
> opkg_dl.download.supervisor: /tmp/opkg-RBQ9fj/qt-gui_1.9133-master_qb2.ipk: downloading
> opkg_dl.download.supervisor: /tmp/opkg-RBQ9fj/wpa-supplicant-cli_2.6-r0_qb2.ipk: downloading
> opkg_dl.download.supervisor: /tmp/opkg-RBQ9fj/www-resources_1.38-master_qb2.ipk: downloading
The df -h gives me

Code: Select all

eneco-001-083821:~# df -h
Filesystem                Size      Used Available Use% Mounted on
ubi0:rootfs             106.4M     54.8M     51.5M  52% /
tmpfs                    61.6M      2.5M     59.1M   4% /var/volatile
eneco-001-083821:~#
What to do now? I hope someone can help me.
Can you post the complete log of the /mnt/data/update/upgrade-qb2.sh.log as an attachment?
My guess is that the issue is not shown on the lines you posted but before in the log.
Post Reply

Return to “Toon issues and support (Nederlands toegestaan)”