NREL / OpenStudio-PAT

The Parametric Analysis Tool (PAT) is part of the OpenStudio collection of software tools.
https://www.openstudio.net/
Other
26 stars 12 forks source link

PAT start local server error #253

Closed nixub-a closed 1 year ago

nixub-a commented 1 year ago

I am struggling to get my Windows 10 PC to start the local server in PAT. On the contrary, my weak Windows 11 laptop has no errors. I am using PAT v3.2.1. My case is identical to issue #169 (https://github.com/NREL/OpenStudio-PAT/issues/169). None of the troubleshooting steps fixed my problem. I already tried v3.5.1 and encountered the same issue. I think the problem is my PC.

image

I kindly ask for any suggestions. Thanks.

brianlball commented 1 year ago

copy the start server command to a terminal and add --verbose after openstudio_meta and post the results please.

nixub-a commented 1 year ago

I used the console in the PAT Developer tool. Was that the correct location?

image

brianlball commented 1 year ago

run the command in a power shell terminal or cmd window.

nixub-a commented 1 year ago

This was my result on PowerShell Admin.

image

nixub-a commented 1 year ago

Update: The command seems to work on Git Bash. I got an error message at the end and it refers me to the rail.log file. I included Git Bash response text file and rail log. My issue may be related to permissions being denied.

image git-bash_response.txt rails.log

nixub-a commented 1 year ago

Here is my mongo.log file as well.

image mongo.log

brianlball commented 1 year ago

do you have restricted access on your windows 10 machine?

nixub-a commented 1 year ago

I have a weak Windows 11 laptop that can start the server with no issue. In the C:\ParametricAnalysisTool-3.2.1\ of the laptop, it had four more directories that my PC with errors. I added the following folders:

C:\ParametricAnalysisTool-3.2.1\pat\OpenStudio-server\server\log C:\ParametricAnalysisTool-3.2.1\pat\OpenStudio-server\server\tmp\cache C:\ParametricAnalysisTool-3.2.1\pat\OpenStudio-server\server\tmp\pids C:\ParametricAnalysisTool-3.2.1\pat\OpenStudio-server\server\tmp\sockets

For some reason, I am now able to start a local server and run tests. I do not know why my install did not include the directories. Hopefully, this will help someone under the same predicament.