From: Jo C. <Jo....@ha...> - 2021-02-15 14:21:17
|
Hi all, I don't know if others have encountered this problem. I have a minor patch to a package to take it from, say, version 1.7 to version 1.8, stored in XAR files such as package_1.8.xar. If I do, for example, import module namespace repo="http://exist-db.org/xquery/repo" <http://exist-db.org/xquery/repo>; repo:install-and-deploy-from-db("/db/install/package_1.8.xar") the files stored at data/expathrepo/package_1.7 are not removed. I tried undeploying both packages, removing the hierarchies under data/expathrepo/package_1.* and redeploying package_1.8. eXist then fails to restart with an error that the relevant packages cannot be found under data/expathrepo/package_1.7 (i.e. the old version). I located references to the old version in data/expathrepo/.expath-pkg/packages.{txt,xml}. If I delete the reference to the older package from those two files, I can get a clean start of eXist. Is that a safe workaround? System details eXist Version: 5.0.0 eXist Build: 20190902160649 Operating System: Linux 3.10.0-1062.12.1.el7.x86_64 amd64 (Red Hat) Java Version: 1.8.0_242 Default Encoding: UTF8 Best regards, -- Jo |