net-mgmt/ocsinventory-ng

Kurt Jaeger pi at freebsd.org
Wed Aug 22 16:21:51 UTC 2018


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 at FreeBSD.org         +49 171 3101372              2 years to go !


More information about the freebsd-ports mailing list