Hi, FYI it looks like 4.2.0 worked. I am having trouble with resolution of my bundles now, but at least the problem I was seeing in 4.2.7 is not there.
I will give it a try with 4.2.1 next. Cheers, =David > On Oct 28, 2019, at 20:14, David Leangen <[email protected]> wrote: > > > The owner of the file (as well as the directory) is karaf.karaf. > > From /etc/passwd: > > karaf:x:1001:1001::/home/karaf:/bin/bash > > > From /etc/group: > > karaf:x:1001: > > > The owner of the docker process in which karaf is running is root. > > > So I don’t think it’s a permissions problem. > > The etc directory is mounted as a volume. It seems to be working fine (i.e. > files can be changed both within the container and on the host). > > > Cheers, > =David > > > >> On Oct 28, 2019, at 17:17, Jean-Baptiste Onofré <[email protected] >> <mailto:[email protected]>> wrote: >> >> Hmmm, >> >> does the user running Karaf has permission to read the file/folder ? >> >> Regards >> JB >> >> On 28/10/2019 08:11, David Leangen wrote: >>> >>> You amaze me! How are you so fast? >>> >>> Anyway… >>> >>> Again you’ll have to excuse my ignorance, but… >>> >>> [root@deimos features]# pwd >>> /home/karaf/features >>> [root@deimos features]# ls >>> 01-enroute.xml 03-base.xml 05-platform.xml 07-ddd.xml >>> 09-app.xml integral.xml ws.xml >>> 02-patches.xml 04-bucketz.xml 06-web.xml 08-application.xml >>> 10-installation.xml licensing.xml >>> [root@deimos features]# >>> >>> >>> Then: >>> >>> karaf@root()> feature:repo-addfile:/home/karaf/features/01-enroute.xml >>> Adding feature url file:/home/karaf/features/01-enroute.xml >>> Error executing command: /home/karaf/features/01-enroute.xml (No such file >>> or directory) : file:/home/karaf/features/01-enroute.xml >>> karaf@root()> >>> >>> >>> Cheers, >>> =David >>> >>> >>>> On Oct 28, 2019, at 16:04, Jean-Baptiste Onofré <[email protected] >>>> <mailto:[email protected]><mailto:[email protected] >>>> <mailto:[email protected]>>> wrote: >>>> >>>> Hi, >>>> >>>> You can do: >>>> >>>> feature:repo-add file:/path/to/your/features.xml >>>> >>>> Then >>>> >>>> feature:install -v -t enroute >>>> >>>> Regards >>>> JB >
