Domino REST API install problems

My REST API install fails with "1 or more directories are invalid!"

I've triple checked the directory names and they are correct.

The install output says: "Checking for C:\Program Files\IBM\Domino\notes.exe"

This is a Domino server, why is it checking for notes.exe? Could this be the problem? How do I tell it it's a server, not a client?

install command:

java -jar C:\DominoInstallFiles\restapiInstall-r14.jar -d="C:\DominoData" -i="C:\DominoData\notes.ini" -p="C:\Program Files\IBM\Domino" -r="C:\Program Files\IBM\Domino\restapi" -a

full output from install:

License accepted, determining installation type
Aug 08, 2024 3:48:58 PM com.hcl.domino.keep.install.KeepVertxInstaller returnInstallationType
INFO: Installation type discovered: NOTES_WINDOWS
Check if rest API directory exists or can be created
Aug 08, 2024 3:48:58 PM com.hcl.domino.keep.install.KeepVertxInstaller checkOrCreateKeepDir
INFO: Directory is present : C:\Program Files\IBM\Domino\restapi
Check if the directories exist / create missing
Aug 08, 2024 3:48:58 PM com.hcl.domino.keep.install.KeepVertxInstaller checkNotesDirectories
INFO: Checking for C:\Program Files\IBM\Domino\notes.exe and C:\DominoData\names.nsf
Aug 08, 2024 3:48:58 PM com.hcl.domino.keep.install.KeepInstallFailure <init>
SEVERE: Installation problem 3 encountered: 1 or more directories are invalid!
Directory check failed for: Notes prg & data

Hi Glen,

Are you trying to install Domino REST API on Domino 14 on Windows?

There is an update with the documentation if you encounter an error during installation.

Win - HCL Domino REST API Documentation (hcltechsw.com)

Domino REST API and Domino 14

The Domino REST API installer starting with v1.0.9 has a workaround for an issue between Domino REST API and Domino 14.0 on Windows. For more information or if you receive an error during installation, see Create symlink for Domino 14 and Domino Rest API.

Best Regards,

Jho Ann Leanne A. Labayani
Technical Support - Application Integration Team
HCL Technologies

thanks for the reply.

Yes, I'm installing on Windows and Domino 14. I did see that note and both mklink commands ran successfully. But still getting the same error.

I tried to fool the install program by creating a notes.exe file and then deleting it after the install.

The install program ran without errors but did not add restapi to the notes.ini ServerTasks

I tried "load restapi" on the Domino console and got "Error attempting to load or run restapi.EXE:

Unable to locate program

the output from the install contains: "No notes.ini edit required on client"

This suggests again that the install thinks it's installing on a Notes client and not the Domino server.

Hi Glen,

Have you checked if there are any existing directories from the failed attempts to install it? Make sure that the following parameters are correct.

java -jar C:\DominoInstallFiles\restapiInstall-r14.jar -d="C:\DominoData" -i="C:\DominoData\notes.ini" -p="C:\Program Files\IBM\Domino" -r="C:\Program Files\IBM\Domino\restapi" -a

Can you try deleting that C:\Program Files\IBM\Domino\restapi directory from the machine and let the installer recreate it from scratch.

Best Regards,

Jho Ann Leanne A. Labayani
Technical Support - Application Integration Team
HCL Technologies

Hi,

yes, I've tried with both pre-existing restapi directory and without one. I've also gone through the uninstall procedure:

https://opensource.hcltechsw.com/Domino-rest-api/howto/install/uninstall.html

and then re-installing

Still same error occurs.

I found duplicate entries in the notes.ini which I believe may have been created by the server when another developer added blank lines to notes.ini.

Once I cleaned up the notes.ini the install successfully ran.

Thanks for your help.