Date: Wed, 22 Aug 2018 18:21:39 +0200 From: Kurt Jaeger <pi@freebsd.org> To: Andrea Venturoli <ml@netfence.it> Cc: Kurt Jaeger <pi@freebsd.org>, kurt.buff@gmail.com, FreeBSD Mailing List <freebsd-ports@freebsd.org>, Fernando =?iso-8859-1?Q?Apestegu=EDa?= <fernando.apesteguia@gmail.com> Subject: Re: net-mgmt/ocsinventory-ng Message-ID: <20180822162139.GT2118@home.opsec.eu> In-Reply-To: <ecb121dd-67ab-6921-0d47-36487718fd0b@netfence.it> References: <408a8527-c5a1-7b72-67a5-76fd966e5b4f@netfence.it> <CADy1Ce5NEG3fqMUZfq2PJrs9-dmLaktg41RnFBkZMHfhg2e9Ag@mail.gmail.com> <CAGwOe2YOD7bH0cueZ_Sn=DqrOYRtG8s%2B=HJ7HkwTNkr91XB1-A@mail.gmail.com> <0c72aa4f-8635-8f8a-8c56-2c621c3ec80d@netfence.it> <20180818075747.GP2118@home.opsec.eu> <ecb121dd-67ab-6921-0d47-36487718fd0b@netfence.it>
next in thread | previous in thread | raw e-mail | index | archive | help
Hi! > > https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=227550 [...] > However, even after installing this new port, my setup.sh run ends with > an error. Last lines of the logs: > > Creating PHP directory /usr/local/share/ocsinventory-reports/ocsreports > > Copying PHP files to /usr/local/share/ocsinventory-reports/ocsreports > > cp: ocsreports/*: No such file or directory > > Is setup.sh the suggested way to go? Honestly, I don't know. > Or should I install the management interface manually? > Can't I just point apache to serve files directly from > /usr/local/www/ocsreports (where the port installed them)? Should I? I guess you can do this, yes. Should you ? I guess it's time to test a few approaches. If you find a working path, would you provide a PR with some pkg-message ? > Wouldn't this make maintenance/upgrades easier? I have no idea how ocs stores its php/html/etc code. If I use phpmyadmin or roundcube, I normally copy the code from /usr/local/www/<app>/ to the virtual server directory, so that a pkg-upgrade does not clobber any changes I make. But this is just me... -- pi@FreeBSD.org +49 171 3101372 2 years to go !
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20180822162139.GT2118>