Issue in Installing DataWarrior v6.1.0 on NFS file system [message #2236] |
Fri, 12 July 2024 16:11 |
ak_dev
Messages: 7 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: 697 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: 218 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 #2302 is a reply to message #2301] |
Thu, 12 September 2024 11:12 |
ak_dev
Messages: 7 Registered: July 2024
|
Junior Member |
|
|
Hello Norwid,
I need to clarify below two queries and need your answer for that. Please help me to clarify it:-
1. We have a system in offline mode(intranet), so which url/flow we need to open for automatic update?
2. Is there any possibility to do manual update and if yes, where I can find those update files?
3. We don't have root permission where I need to install DW. So how can we deal with it while installing DW v6.1.0 because installation script needs root permission for installation.
thanks
|
|
|