On Sun, Mar 02, 2025 at 02:05:31PM +0100, Csaba Fekete scripsit:
> My current version is 11.1 and I'd like to upgrade to the latest.
> My gut feeling is that all it takes to overwrite the following (and leave
> everything else):
>
> *bin/etc/lib/BaseX.jar*
> ... and then restart the http server.
> Any thoughts?
As I have things set up (which is NOT in the context of a production
server), the basex directory looks like:
BaseX.jar CHANGELOG* etc/ LICENSE* repo/ webapp/
bin/ data@ lib/ readme.txt src/
BaseX is completely fine with data/ being a symlink.
So I'd be installing full latest, customizing/testing full latest, and
then doing stop-the-11.1-server, symlinking the production data dir into
the latest install directory structure, and starting the lastest server.
My usual setup puts the actual data/ dir one level up from the
full-install location, so a sibling of the BaseX versions. I've never
tried anything clever like putting the data/ dir on a NAS or another
file system so can't speak to those cases. (Though I would expect that
symlinking from more than one running BaseX instance would be entirely
unwise.)
("Fine with symlinks" works with lib/custom, too.)
-- Graydon
--
Graydon Saunders | [email protected]
Þæs oferéode, ðisses swá mæg.
-- Deor ("That passed, so may this.")