PASTA-ELN / pasta-eln

PASTA-ELN with new frontend
https://pasta-eln.github.io/pasta-eln/
Other
8 stars 2 forks source link

CouchDB not installed on Windows #241

Closed HTsybenko closed 6 months ago

HTsybenko commented 6 months ago

When launching PASTA-ELN on Windows for the first time, CouchDB is not installed.

See the log file for the details. log.txt

SteffenBrinckmann commented 6 months ago

@HTsybenko Can you help me troubleshoot and try the following commands on the command line:

Notes:

HTsybenko commented 6 months ago

@SteffenBrinckmann The commands are not recognized as if the program does not exist.

The value data for the "Release" is "8234d".

The log file was generated in my User folder upon first installation (the same place where .pastaELN.json is located). However, when I later tried to initialize the CouchDB installation again, the log file was not created.

SteffenBrinckmann commented 6 months ago

https://learn.microsoft.com/de-de/dotnet/framework/migration-guide/how-to-determine-which-versions-are-installed says that the 0x8234d = 533325 version is larger than .net version 4.8.1 since the dotnet commands failed, version 5 of .net is not installed likely, somewhere where in the middle.

SteffenBrinckmann commented 6 months ago

@HTsybenko can you try to follow this instruction, and see if it solves the issue https://learn.microsoft.com/en-us/dotnet/core/install/windows?tabs=net80#install-with-windows-package-manager-winget

HTsybenko commented 6 months ago

@SteffenBrinckmann The Windows Package Manager was not installed on the PC. Therefore, I have installed .NET 8.0 via the download link. The "dotnet --info" command shows that version 8.0.3 was installed.

After that, installing CouchDB during the initial PASTA-ELN configuration was not successful. log_CDB_1.txt

Manual installation of CouchDB using the wizard also does not work due to an unknown error.

SteffenBrinckmann commented 6 months ago

@HTsybenko can you try this: https://learn.microsoft.com/en-us/dotnet/framework/install/dotnet-35-windows afterwards reboot and retry, I know this is lower than 8; but according to https://github.com/apache/couchdb/issues/2554 it might help

HTsybenko commented 6 months ago

@SteffenBrinckmann With the 3.5, CouchDB was finally installed during the first time configuration. This solution has to be added to the documentation, I guess.

SteffenBrinckmann commented 6 months ago

@HTsybenko Yes, it was added to documentation. Also, the code now checks if .NET 3.5 is installed and will stop and warn if not. TNX