brainpower22 / yousician-client-server

2 stars 2 forks source link

Yousician.app hangs when attempting to start. #1

Open harroguk opened 1 week ago

harroguk commented 1 week ago

Yousician.app hangs when attempting to start.

DB is in place.

PS C:\Users\User1> dir C:\Yousician-Standalone\Yousician.srv\src\database
    Directory: C:\Yousician-Standalone\Yousician.srv\src\database

Mode                 LastWriteTime         Length Name
----                 -------------         ------ ----
------        24/06/2024     04:23            104 README.md
------        15/06/2024     12:40        1449984 yousicianBD.db

yousician.srv is running

PS C:\WINDOWS\system32> netstat -anob | select-string 8535 -context 1
>   TCP    0.0.0.0:8535           0.0.0.0:0              LISTENING       5920
   [nginx.exe]
>   TCP    0.0.0.0:8535           0.0.0.0:0              LISTENING       3692
   [nginx.exe]
PS C:\WINDOWS\system32> netstat -anob | select-string 901 -context 1
>   TCP    127.0.0.1:9010         0.0.0.0:0              LISTENING       5508
   [php-cgi.exe]
>   TCP    127.0.0.1:9011         0.0.0.0:0              LISTENING       9092
   [php-cgi.exe]
>   TCP    127.0.0.1:9012         0.0.0.0:0              LISTENING       11516
   [php-cgi.exe]
>   TCP    127.0.0.1:9013         0.0.0.0:0              LISTENING       4220
   [php-cgi.exe]
>   TCP    127.0.0.1:9014         0.0.0.0:0              LISTENING       9408
   [php-cgi.exe]

Running yousician.bat, Yousician.exe starts

PS C:\WINDOWS\system32> Get-WmiObject Win32_Process -Filter "name = 'Yousician.exe'" | Select-Object CommandLine

CommandLine
-----------
"C:\Yousician-Standalone\Yousician.app\Yousician.exe"  --api http://localhost:8535

Yousician never moves on from this screen image

brainpower22 commented 6 days ago

If you try to open the address http://localhost:8535 in your browser when the server is running, what result will you see?

harroguk commented 6 days ago

Appears to be working as intended image

Clicking the Register Login link produces the following...

{
   "path":"\/login",
   "exception":{

   },
   "inspector":{

   },
   "run":{

   },
   "title":"Slim\\Exception\\HttpNotFoundException",
   "message":"Not found.",
   "input":"{}",
   "stack":[
      {
         "file":"C:\\Yousician-Standalone\\Yousician.srv\\src\\vendor\\slim\\slim\\Slim\\Middleware\\RoutingMiddleware.php",
         "line":44,
         "function":"performRouting",
         "class":"Slim\\Middleware\\RoutingMiddleware",
         "type":"->",
         "args":[
            {

            }
         ]
      },
      {
         "file":"C:\\Yousician-Standalone\\Yousician.srv\\src\\vendor\\slim\\slim\\Slim\\MiddlewareDispatcher.php",
         "line":121,
         "function":"process",
         "class":"Slim\\Middleware\\RoutingMiddleware",
         "type":"->",
         "args":[
            {

            },
            {

            }
         ]
      },
      {
         "file":"C:\\Yousician-Standalone\\Yousician.srv\\src\\vendor\\zeuxisoo\\slim-whoops\\src\\Zeuxisoo\\Whoops\\Slim\\WhoopsMiddleware.php",
         "line":40,
         "function":"handle",
         "class":"Psr\\Http\\Server\\RequestHandlerInterface@anonymous\u0000C:\\Yousician-Standalone\\Yousician.srv\\src\\vendor\\slim\\slim\\Slim\\MiddlewareDispatcher.php:108$20",
         "type":"->",
         "args":[
            {

            }
         ]
      },
      {
         "file":"C:\\Yousician-Standalone\\Yousician.srv\\src\\vendor\\slim\\slim\\Slim\\MiddlewareDispatcher.php",
         "line":121,
         "function":"process",
         "class":"Zeuxisoo\\Whoops\\Slim\\WhoopsMiddleware",
         "type":"->",
         "args":[
            {

            },
            {

            }
         ]
      },
      {
         "file":"C:\\Yousician-Standalone\\Yousician.srv\\src\\vendor\\slim\\slim\\Slim\\MiddlewareDispatcher.php",
         "line":65,
         "function":"handle",
         "class":"Psr\\Http\\Server\\RequestHandlerInterface@anonymous\u0000C:\\Yousician-Standalone\\Yousician.srv\\src\\vendor\\slim\\slim\\Slim\\MiddlewareDispatcher.php:108$20",
         "type":"->",
         "args":[
            {

            }
         ]
      },
      {
         "file":"C:\\Yousician-Standalone\\Yousician.srv\\src\\vendor\\slim\\slim\\Slim\\App.php",
         "line":199,
         "function":"handle",
         "class":"Slim\\MiddlewareDispatcher",
         "type":"->",
         "args":[
            {

            }
         ]
      },
      {
         "file":"C:\\Yousician-Standalone\\Yousician.srv\\src\\vendor\\slim\\slim\\Slim\\App.php",
         "line":183,
         "function":"handle",
         "class":"Slim\\App",
         "type":"->",
         "args":[
            {

            }
         ]
      },
      {
         "file":"C:\\Yousician-Standalone\\Yousician.srv\\src\\public\\index.php",
         "line":26,
         "function":"run",
         "class":"Slim\\App",
         "type":"->",
         "args":[

         ]
      }
   ]
}