Entware Randomtools are not in package list

NSA210, NSA221, NSA310, NSA310a, NSA310S, NSA320, NSA320S, NSA325, NSA325-v2
Antworten
tomtom38
Beiträge: 12
Registriert: So 2. Feb 2020, 19:13

Entware Randomtools are not in package list

Beitrag von tomtom38 »

Hello, since I have separated the hard drives, I can not install entware and random tools, for example.
The meta repository / ffp / Mc is included in the list and installed. before entware was tagged as unknown and it doesn't work via ssh / Error: comand not found
I use the Zyxel repair option, after that the opt directory was no longer found and entware for example wasn 't in the package list
Unbenannt2.PNG
Unbenannt2.PNG (11.77 KiB) 291 mal betrachtet
Unbenannt.PNG
Unbenannt.PNG (36.17 KiB) 291 mal betrachtet
Unbenannt6.PNG
Unbenannt6.PNG (168.24 KiB) 291 mal betrachtet

Mijzelf
Beiträge: 113
Registriert: Mi 14. Nov 2018, 19:50

Re: Entware Randomtools are not in package list

Beitrag von Mijzelf »

Your web_prefix file is wrong. It should *only* contain the http://localhost:59999/ url.

tomtom38
Beiträge: 12
Registriert: So 2. Feb 2020, 19:13

Re: Entware Randomtools are not in package list

Beitrag von tomtom38 »

Ok I change it, but the problem is still there.
the entware file had a filesize from 0, therefore I delete It.
Have you an idea what I can still try or check?
thanks for advice

Mijzelf
Beiträge: 113
Registriert: Mi 14. Nov 2018, 19:50

Re: Entware Randomtools are not in package list

Beitrag von Mijzelf »

When you try to refresh the list, a logfile should be created in \\NAS\admin\zy-pkgs\MetaRepository . Can't remember the name, it's something like zypkgs_info.log. That file might tell more.

tomtom38
Beiträge: 12
Registriert: So 2. Feb 2020, 19:13

Re: Entware Randomtools are not in package list

Beitrag von tomtom38 »

I tried something around, and I noticed when I put the second hard drive in the first place and leave out the other, everything is available (meta repository, entware) with the first hard drive only what is originally available from zyxel packages, if both are inside it doesn't matter which position a small part of the programs is available eg tweaks, the admin / zy-zyckgs folder differs between the two, on the hard disk that was always in slot 1 there are no folders that have the name of the url (zyxel.diskstation etc.) on the second one. If I only have the hard disk that always slot one was inserted then the web interface is not accessible, the webserver is probably not started.
Here is the log file when the second hard drive is in the first slot and the first in the second slot


HandleZYPKG_INFO /NSA325-v2/4.80/zypkg
FindApp md5sum found /sbin/md5sum
ReadConfig Repositories
Start of block
ftp://ftp2.zyxel.com/+
http://downloads.zyxel.nas-central.org/ ... ypkg-repo/
http://zyxel.diskstation.eu/Users/Mijze ... -repo/fw4/
/i-data/md0/admin/MyRepo/
End of block
8 start: 05:37:47
9 start: 05:37:47
7 start: 05:37:47
6 start: 05:37:47
7: FetchZYPKG_INFO http://zyxel.diskstation.eu/Users/Mijze ... -repo/fw4/ 7
9: FetchZYPKG_INFO ftp://ftp2.zyxel.com/NSA325-v2/4.80/zypkg/ 9
8: FetchZYPKG_INFO http://downloads.zyxel.nas-central.org/ ... ypkg-repo/ 8
6: FetchZYPKG_INFO /i-data/md0/admin/MyRepo/ 6
9: FindApp curl found /usr/bin/curl
8: FindApp curl found /usr/bin/curl
7: FindApp curl found /usr/bin/curl
6: FindApp curl found /usr/bin/curl
6: Fetch /i-data/md0/admin/MyRepo/ZYPKG_INFO.tgz /i-data/md0/admin/zy-pkgs/MetaRepository/_i-data_md0_admin_MyRepo_.tmp failed
8: Fetch http://downloads.zyxel.nas-central.org/ ... G_INFO.tgz /i-data/md0/admin/zy-pkgs/MetaRepository/http___downloads.zyxel.nas-central.org_Users_Mijzelf_zypkg-repo_.tmp failed
6: Fetch /i-data/md0/admin/MyRepo/ZYPKGS /i-data/md0/admin/zy-pkgs/MetaRepository/_i-data_md0_admin_MyRepo_.tmp failed
6: Failed
6 stop: 05:37:48
8: Fetch http://downloads.zyxel.nas-central.org/ ... epo/ZYPKGS /i-data/md0/admin/zy-pkgs/MetaRepository/http___downloads.zyxel.nas-central.org_Users_Mijzelf_zypkg-repo_.tmp failed
7: Fetch http://zyxel.diskstation.eu/Users/Mijze ... G_INFO.tgz /i-data/md0/admin/zy-pkgs/MetaRepository/http___zyxel.diskstation.eu_Users_Mijzelf_zypkg-repo_fw4_.tmp failed
8: Failed
8 stop: 05:37:48
7: Fetch http://zyxel.diskstation.eu/Users/Mijze ... fw4/ZYPKGS /i-data/md0/admin/zy-pkgs/MetaRepository/http___zyxel.diskstation.eu_Users_Mijzelf_zypkg-repo_fw4_.tmp succeeded
7 stop: 05:37:48
9: Fetch ftp://ftp2.zyxel.com/NSA325-v2/4.80/zyp ... G_INFO.tgz /i-data/md0/admin/zy-pkgs/MetaRepository/ftp___ftp2.zyxel.com_NSA325-v2_4.80_zypkg_.tmp succeeded
9 stop: 05:37:51
Nothing changed
TarHeader
FindApp curl found /usr/bin/curl
Fetch /i-data/md0/admin/zy-pkgs/MetaRepository/NSA325-v2/4.80/zypkg/ZYPKG_INFO.tgz - succeeded

Mijzelf
Beiträge: 113
Registriert: Mi 14. Nov 2018, 19:50

Re: Entware Randomtools are not in package list

Beitrag von Mijzelf »

The admin directory (and the installed packages) is on the system disk, that is the disk from which some internal UID is stored in flash. If that disk is not available, the system will take another disk, create an admin directory, if it doesn't exist, and store that UID in flash.
So your box will switch from system disk when you pull that disk.

Apparently you have 2 package systems on 2 disks, and they are configured differently. On the screenshots at the start of this thread you have no trace of nas-central.org, yet the logfile in previous post mentions it. It doesn't really matter, it fails within a second.

The problem in this logfile is 'Nothing changed' at the end, I think. MR stores MD5 sums of the ZYPKG_INFO files to know when they changed. Parsing the files is expensive, and they don't change often, so this is a way to speed things up.
I think that somehow the internal database got destroyed, and it's not rebuild as long as the files upsteam don't change.

Delete the contents of \\NAS\admin\zy-pkgs\MetaRepository\ (which is the internal database) and retry.

tomtom38
Beiträge: 12
Registriert: So 2. Feb 2020, 19:13

Re: Entware Randomtools are not in package list

Beitrag von tomtom38 »

I deleted the folder and tools like tweaks are now back
However, the meta repository is unknown, the installation stops at 5 percent and the list is updated.
If I delete the Admin folder is all Meta repo files wipt and can I start completly again?

Mijzelf
Beiträge: 113
Registriert: Mi 14. Nov 2018, 19:50

Re: Entware Randomtools are not in package list

Beitrag von Mijzelf »

The MR installation consist of the package itself in /usr/local/zy-pkgs/, and the database in \\NAS\admin\zy-pkgs\MetaRepository.

If you remove the package using the package manager, and delete the database, you can start over with a web_prefix file.

Antworten