Error after configuring Document Server for Windows

Dear All,

We had onlyoffice document server 5.1.1.20 working in one of our old server, now we are shifting it to a new server and we follow the instructions from this li .

After successful installation when we run localhost:443 its redirecting us to welcome page but in welcome page its giving us error and the same error is coming when we configured it with port 80 and with the latest version 7.5.0


Something went wrong during installation
Make sure that you have followed the installation instructions


Document Server version: 5.1.1.20
Type of installation of the Document Server (docker, deb/rpm, exe) - EXE
OS: Windows Server 2022 Datacenter
Browser version: Google Chrome Version 118.0.5993.118

Please help us fix the issue

Regards

Hello @rahul123mer

Are you manually accessing the page that is on the screenshot? Did you change port for incoming connections during installation of ONLYOFFICE Docs, a.k.a. Document Server?

Thank you for your reply @Constantine .

Yes i am manually accessing the page, no we changed it before to use over https 443 but then we uninstall it and reinstall it with the default port.

and after running localhost in browser its still the same issue.

Thanks

If you didn’t change default 80 port, then please try accessing Document Server with localhost only. Ideally it would be to access Document Server with IP of the machine or domain name. Do you have domain name associated with your IP address?

Hello,

Thank you for your reply.
Yes we have domain connected with the server its http://bascrm.nu/.

We cleaned our server and uninstall everything then reinstall it but still its giving us the same issues.

Is there anything else you can suggest me?

Thanks

Hello,

I have been trying to fix the issue and now i have a new issue i noticed in the logs

C:\Program Files\ONLYOFFICE\DocumentServer\example\bin\www:1
#!/usr/bin/env node
 ^

SyntaxError: Invalid or unexpected token
    at internalCompileFunction (node:internal/vm:73:18)
    at wrapSafe (node:internal/modules/cjs/loader:1153:20)
    at Module._compile (node:internal/modules/cjs/loader:1205:27)
    at Module._extensions..js (node:internal/modules/cjs/loader:1295:10)
    at Module.load (node:internal/modules/cjs/loader:1091:32)
    at Module._load (node:internal/modules/cjs/loader:938:12)
    at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:83:12)
    at node:internal/main/run_main_module:23:47

Node.js v20.9.0

when i am trying to run the page

Another error i see is below in my log file

[2023-11-10 07:39:52.439] [WARN] nodeJS - Plugins watch exception (https://nodejs.org/docs/latest/api/fs.html#fs_availability).
[2023-11-10 07:39:54.502] [ERROR] nodeJS - redisClient error Error: Redis connection to localhost:6379 failed - connect ECONNREFUSED 127.0.0.1:6379
[2023-11-10 07:39:56.751] [ERROR] nodeJS - redisClient error Error: Redis connection to localhost:6379 failed - connect ECONNREFUSED 127.0.0.1:6379
[2023-11-10 07:39:59.158] [ERROR] nodeJS - redisClient error Error: Redis connection to localhost:6379 failed - connect ECONNREFUSED 127.0.0.1:6379
[2023-11-10 07:40:01.767] [ERROR] nodeJS - redisClient error Error: Redis connection to localhost:6379 failed - connect ECONNREFUSED 127.0.0.1:6379
[2023-11-10 07:40:04.783] [ERROR] nodeJS - redisClient error Error: Redis connection to localhost:6379 failed - connect ECONNREFUSED 127.0.0.1:6379
[2023-11-10 07:40:08.502] [ERROR] nodeJS - redisClient error Error: Redis connection to localhost:6379 failed - connect ECONNREFUSED 127.0.0.1:6379
[2023-11-10 07:40:13.378] [ERROR] nodeJS - redisClient error Error: Redis connection to localhost:6379 failed - connect ECONNREFUSED 127.0.0.1:6379
[2023-11-10 07:40:20.252] [ERROR] nodeJS - redisClient error Error: Redis connection to localhost:6379 failed - connect ECONNREFUSED 127.0.0.1:6379
[2023-11-10 07:40:30.502] [ERROR] nodeJS - redisClient error Error: Redis connection to localhost:6379 failed - connect ECONNREFUSED 127.0.0.1:6379
[2023-11-10 07:40:46.486] [ERROR] nodeJS - redisClient error Error: Redis connection to localhost:6379 failed - connect ECONNREFUSED 127.0.0.1:6379
[2023-11-10 07:41:12.250] [ERROR] nodeJS - redisClient error Error: Redis connection to localhost:6379 failed - connect ECONNREFUSED 127.0.0.1:6379
[2023-11-10 07:41:17.549] [ERROR] nodeJS - License Expired!!!
[2023-11-10 07:41:54.594] [ERROR] nodeJS - redisClient error Error: Redis connection to localhost:6379 failed - connect ECONNREFUSED 127.0.0.1:6379
[2023-11-10 07:43:05.178] [ERROR] nodeJS - redisClient error Error: Redis connection to localhost:6379 failed - connect ECONNREFUSED 127.0.0.1:6379
[2023-11-10 07:45:03.771] [ERROR] nodeJS - redisClient error Error: Redis connection to localhost:6379 failed - connect ECONNREFUSED 127.0.0.1:6379
[2023-11-10 07:48:23.985] [ERROR] nodeJS - redisClient error Error: Redis connection to localhost:6379 failed - connect ECONNREFUSED 127.0.0.1:6379
[2023-11-10 07:54:02.924] [ERROR] nodeJS - redisClient error Error: Redis connection to localhost:6379 failed - connect ECONNREFUSED 127.0.0.1:6379

Is this something you know how to fix that?

Regards

As I can see, you are trying to access /example page but this page must be enabled in the first place in order to test it. Please open Welcome Page (simply access Document Server via its address), there you fill find instruction on how to enable it, then try accessing example again.