NAS540 cant install apps
        
            Options        
            
        
All Replies
- 
            
led_pkg_info][2408][ownCloud]strControlFile = /i-data/5c72062c/.PKG/ownCloud/zypkg_conf/info/ownCloud.control 2020-02-05 18:16:26 [ipkg][list][31845]: [zypkg_get_installed_pkg_info][2411] "ownCloud" control file does not exist.
Your package installation is broken. The package 'ownCloud; is installed in /i-data/5c72062c/.PKG/ownCloud/, and the subdirectory zypkg_conf/info/ should contain a file ownCloud.control and some other files, which are extracted from control.tar.gz in the zypkg file.This control file is used to read the version of the package, to decide if a newer one is available. When it lacks apparently the install status is 'unknown'.The infomation in the control file is redundant, the data can also be found in /etc/zyxel/pkg_conf/status which is stored on a flash partition.I *think* your /i-data/5c72062c/.PKG/ directory (which is on harddisk) is damaged.
0 - 
            so i can opy this info over from /etc/zyxel... and it should work again?
what puzzles me is that i cannot even install apps that have never been installed, or were uninstalled0 - 
            now thats crazy /i-data/sysvol/.PKG is not a directory cat shows its a php script ?!?0
 - 
            so i can opy this info over from /etc/zyxel... and it should work again?
I don't think so. As your log shows more lacking control files, I doubt that this are the only lacking files. Just the only ones that are checked/logged by the package manager.
what puzzles me is that i cannot even install apps that have never been installed, or were uninstalledDo you have a log from that?
0 - 
            ok, i backed up .PKG file (which was part of phpmyadmin) and created a directory named .PKG instead, now i was able to install NFS, thats great, even if its unconfigured now, but it still shows me phpmyadmin and owncloud as broken (obviously)
can i somehow restore their state and would i loose my owncloud data if I uninstall it?
I knew there would be some corruption in my data as I had 2 disks broken and only could put a copy made using ddrescue back in to get it working (somehow) again. I'm still on a degraded array as the second replacement disk (and another spare disk) hasn't arrived yet.0 - 
            I think the config of owncloud should be in .../.PKG/ownCloud/etc/. When you lost that directory the config is lost, else you could try to install ownCloud, and copy over the contents of .../etc/ (while ownCloud is not running).AFAIK the owncloud data is on the shares. But parts of it could also be in .../.PKG/ownCloud/var/, or something like that.
0 - 
            Luckily I had moved over the owncloud storage into one of my shares and had set a symlink to its original path, so I only lost the symlink (hadn't remembered that) so everything is fine, MySQL and owncloud are up and running again, MySQL is restoring from backups right now, I will catch the owncloud content on a client via nfs and sync it back to the new instance on the weekend.
Anyway, thanks for your useful hints, would have a few more grey hairs now otherwise.0 
Categories
- All Categories
 - 439 Beta Program
 - 2.8K Nebula
 - 200 Nebula Ideas
 - 126 Nebula Status and Incidents
 - 6.3K Security
 - 499 USG FLEX H Series
 - 323 Security Ideas
 - 1.6K Switch
 - 84 Switch Ideas
 - 1.3K Wireless
 - 49 Wireless Ideas
 - 6.8K Consumer Product
 - 287 Service & License
 - 457 News and Release
 - 89 Security Advisories
 - 31 Education Center
 - 10 [Campaign] Zyxel Network Detective
 - 4.3K FAQ
 - 34 Documents
 - 34 Nebula Monthly Express
 - 85 About Community
 - 96 Security Highlight
 
  Guru Member
         
         
         
         
  Freshman Member