openmolecules.org

 
Home » DataWarrior » Installation Issues » Issue in Installing DataWarrior v6.1.0 on NFS file system (Issue in installing DataWarrior v6.1.0 on NFS file system without /opt/datawarrior/ directory. )
Issue in Installing DataWarrior v6.1.0 on NFS file system [message #2236] Fri, 12 July 2024 16:11 Go to next message
ak_dev is currently offline  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 Go to previous messageGo to next message
thomas is currently offline  thomas
Messages: 715
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 #2240 is a reply to message #2237] Wed, 17 July 2024 11:06 Go to previous messageGo to next message
ak_dev is currently offline  ak_dev
Messages: 8
Registered: July 2024
Junior Member
Hello Thomas,
Can you please let me know when you are planning to release Datawarrior v 6.2.2 that you have mentioned in your reply?
Thanks.
Re: Issue in Installing DataWarrior v6.1.0 on NFS file system [message #2245 is a reply to message #2240] Mon, 22 July 2024 16:29 Go to previous messageGo to next message
thomas is currently offline  thomas
Messages: 715
Registered: June 2014
Senior Member
My current guess is in the first days of August. If unexpected issues arise, possibly a little later.
Re: Issue in Installing DataWarrior v6.1.0 on NFS file system [message #2273 is a reply to message #2245] Wed, 07 August 2024 10:44 Go to previous messageGo to next message
ak_dev is currently offline  ak_dev
Messages: 8
Registered: July 2024
Junior Member
Thanks for the release update for v6.2.2 . Will be waiting for the new version release.
Re: Issue in Installing DataWarrior v6.1.0 on NFS file system [message #2293 is a reply to message #2273] Wed, 04 September 2024 10:09 Go to previous messageGo to next message
ak_dev is currently offline  ak_dev
Messages: 8
Registered: July 2024
Junior Member
Hello Thomas,
DataWarrior v6.2.2 is still not released. Can you please given some update on its release?

thanks
Re: Issue in Installing DataWarrior v6.1.0 on NFS file system [message #2294 is a reply to message #2293] Thu, 05 September 2024 19:16 Go to previous messageGo to next message
nbehrnd is currently offline  nbehrnd
Messages: 224
Registered: June 2019
Senior Member
Just a note: September 4th was the release of version 06.02.05.
Re: Issue in Installing DataWarrior v6.1.0 on NFS file system [message #2298 is a reply to message #2294] Tue, 10 September 2024 16:07 Go to previous messageGo to next message
ak_dev is currently offline  ak_dev
Messages: 8
Registered: July 2024
Junior Member
Hello nbehrnd,
The release that you mentioned v06.02.05 for 4th September. Can you please provide me the download link from which I can download this version and do the installation for me?

thanks
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 Go to previous messageGo to next message
nbehrnd is currently offline  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 #2300 is a reply to message #2299] Wed, 11 September 2024 15:01 Go to previous messageGo to next message
ak_dev is currently offline  ak_dev
Messages: 8
Registered: July 2024
Junior Member
Hello Norwid,
I think you misunderstood my query, Please look at replies of Thomas, he said that DW v6.2.2 is going to br released in August 2024 which is suitable for my used case. I am asking about that but you have given me download link for DW v6.1.0. please provide me details for v6.2.2.

thanks

[Updated on: Wed, 11 September 2024 15:01]

Report message to a moderator

Re: Issue in Installing DataWarrior v6.1.0 on NFS file system [message #2301 is a reply to message #2300] Wed, 11 September 2024 19:38 Go to previous messageGo to next message
nbehrnd is currently offline  nbehrnd
Messages: 224
Registered: June 2019
Senior Member
I disagree because the installation of DW 6.1.0 is the basis for the eventual update to subsequent versions DW performs.

In my case, running `ls -l *.*` reports every file there was installed again by July 20th (which includes files `datawarrior_all.jar` and `datawarriorlauncher.jar`) in path `/opt/datawarrior`) -- this was because of a local reorganization. The *.jar updates DW subsequently collected and retained in path `/opt/datawarrior/update` were July 20th (file `datawarrior_v06.02.01.jar`), August 11th (`datawarrior_v06.02.03.jar`), and September 5th (`datawarrior_v06.02.05.jar`). Hence launching DW shows the splash screen attached about version 06.02.05.

Regards,

Norwid
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 Go to previous messageGo to next message
ak_dev is currently offline  ak_dev
Messages: 8
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
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 Go to previous messageGo to next message
nbehrnd is currently offline  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 Go to previous messageGo to next message
frank is currently offline  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
Re: Issue in Installing DataWarrior v6.1.0 on NFS file system [message #2347 is a reply to message #2345] Tue, 12 November 2024 18:20 Go to previous message
thomas is currently offline  thomas
Messages: 715
Registered: June 2014
Senior Member
Hi Frank And ak_dev,

sorry for the late answer. I believe that we could find an working solution rather quickly, if we more closely communicate. I need to understand your environment better, e.g. need of desktop file integration. You should do some testing and I might need to supply quick updates for you to test if something is not working. But I am confident that the combination of using 'rootpath' launching the datawarrior update file (currently 6.3.1) directly rather than using the launcher, which came with 6.1.0, should give us enough flexibility for a fast solution. Please contact me under my thomas at openmolecules mail that we can arrange a phone or video call...
Previous Topic: Sequoia 15.0 issues Mac (intel)- DataWarrior (6.1.0) won't open
Goto Forum:
  


Current Time: Thu Nov 21 13:51:38 CET 2024

Total time taken to generate the page: 0.03291 seconds