Issue in Installing DataWarrior v6.1.0 on NFS file system [message #2236] |
Fri, 12 July 2024 16:11 |
ak_dev
Messages: 8 Registered: July 2024
|
Junior Member |
|
|
I am trying to install DataWarrior v6.1.0 on NFS file system which will be available across various linux workstation and users. Is there any way in which we can install it without /opt/datawarrior/ directory. Or is there any Portable version of DataWarrior for v6.1.0 or for some other versions of DataWarrior which is suitable for my used case and can be installed without /opt/datawarrior/?
Thanks
|
|
|
Re: Issue in Installing DataWarrior v6.1.0 on NFS file system [message #2237 is a reply to message #2236] |
Fri, 12 July 2024 19:27 |
thomas
Messages: 711 Registered: June 2014
|
Senior Member |
|
|
Starting DataWarrior for Linux from a remote shared drive is possible, but requires a few adaptions
that make sure that the following things are done correctly or work as intended:
- mime type registration
- application and document icon support
- automaticly launching DataWarrior when document icons are double clicked
- automaticly launching DataWarrior when custom URI in a web page is clicked
- DataWarrior needs to find the directories for example files, macros, etc.
- Update download works usually on individual machines. You probably want to
tweak the mechanism to also load update files from the server, I assume.
For proper installation I think that you still need to run a script locally to
copy the desktop file, icon files, the start script, and update the desktop database.
You can adapt the start script to launch java from you share and to load the
datawarriorlauncher from the share. You then need to add the -Drootpath=/yourshare/yourdir
option to the start script (that will work from version 6.2.2). This will
load all example files, macros, etc. from /yourshare/yourdir/<dirname>, where
dirname is 'example, macro, reference, tutorial, update', while update still needs
a special handling.
I suggest, if you are going for this, that we closely communicate and sort out
any issues that will arise. I would provide updates if needed to ensure a proper
user experience.
Thomas
|
|
|
|
|
|
|
|
|
Re: Issue in Installing DataWarrior v6.1.0 on NFS file system [message #2299 is a reply to message #2298] |
Tue, 10 September 2024 22:18 |
nbehrnd
Messages: 224 Registered: June 2019
|
Senior Member |
|
|
The typical path is to 1) select the installer suitable for the operating system,[1] 2) install the program, 3) launch the program, 4) check under help -> update mode that either a) automatic, or b) ask whether to update is selected. In case of b), if the program launched detects a delta between the version running and the one most recently available, a small notifier will show up to gracefully halt your work now (or later) to let DW collect the necessary data. The next start of the program then uses the new version.
Specific for an installation in Linux, /opt/datawarrior/ will accommodate everything necessary for DW to work, including a file datawarrior_all.jar, a datawarrior bash file to store parameters to successfully start the program, and an unistaller script. A sub folder (/opt/datawarrior/update) retains a couple of small .jar to incrementally update the program (e.g. datawarrior_v06.02.03.jar, datawarrior_v06.02.05.jar) -- DW manages this for you.
Because I did not yet install DW on a drive shared, nor on / within a NFS, there is no experience I can share with you on this one.
Regards,
Norwid
[1] https://openmolecules.org/datawarrior/download.html
[Updated on: Tue, 10 September 2024 22:19] Report message to a moderator
|
|
|
|
|
|
Re: Issue in Installing DataWarrior v6.1.0 on NFS file system [message #2303 is a reply to message #2302] |
Fri, 13 September 2024 10:59 |
nbehrnd
Messages: 224 Registered: June 2019
|
Senior Member |
|
|
Point 1) The "old way" to fetch updates for Linux/Mac, or Windows from the openmolecules page was deactivated in favor of the (optionally automated fetch) by DW itself. This was around the release of version 6.1.1 or 6.1.2. Prior to this and without a visit of the forum or/and the project's GitHub page[1], there was some "guessing" involved if there were an update.
Point 2) I filed feature request that said GitHub repository equally provides the installers, as well as the cumulative updates (e.g., for current version 6.2.5). See the issue page.[2] Applied to the current state, to me, it seems it would suffice to complement `/opt/datawarrior` by `/opt/datawarrior/updates/datawarrior_v06.02.05.jar`. The feature suggest equally contains the .zip of the .jar.
Point 3) I'm not aware if there are plans to provide DW installation-less like the tools on portableapps.com (for Windows), or as an AppImage (like for Avogadro2[3], for Linux), or Docker image which would bypass the constraint set by your colleagues of the IT department. Document how DW could improve your workflow, get backed by your supervisor, request them for a permission specific for DW. The page on GitHub provides a shell script to locally (re)build DW; possibly their reluctance is less if this route were taken by them as it allows to monitor what goes in and out.
Norwid
[1] https://github.com/thsa/datawarrior
[2] https://github.com/thsa/datawarrior/issues/32
[3] https://github.com/OpenChemistry/avogadroapp
[Updated on: Fri, 13 September 2024 11:00] Report message to a moderator
|
|
|
Re: Issue in Installing DataWarrior v6.1.0 on NFS file system [message #2345 is a reply to message #2303] |
Fri, 01 November 2024 15:27 |
frank
Messages: 1 Registered: November 2024
|
Junior Member |
|
|
I very much second the question of ak_dev .
In former times it was possible to install DataWarrior on a NFS file system, making it available to all Linux machines at once.
This worked for versions 3 and 4. Now I wanted to update to 6.1.0, but it no longer runs.
It really should be possible to install the program to other paths than /opt/ only. It would already help, if it would respect the definition of the DWJAR variable. But no matter how I define this, the program still fails with "DataWarrior application not found: /opt/datawarrior/datawarrio_all.jar" upon start.
I am willing to test new versions supporting this and to help sort out any issues.
Frank
|
|
|