ONLYOFFICE / CommunityServer

Free open source office suite with business productivity tools: document and project management, CRM, mail aggregator.
http://www.onlyoffice.com
Apache License 2.0
2.75k stars 621 forks source link

community server compilation issue #202

Open fouratbh1 opened 4 years ago

fouratbh1 commented 4 years ago

hello, I just downloaded version 10.5.1 of onlyoffice community server on windows server 2019, then i downloaded the source code present here at github, I compiled the code and it works well and the deploy folder was created , but when I try to create a website with the path C: / webStudio I have an internal server error 500, what can I do? and thank you

andreysavihin commented 4 years ago

Hi, @fouratbh1 ! Check the database connection settings in the web.connections.config file. And check log files for errors

fouratbh1 commented 4 years ago

I checked those files : web\studio\ASC.Web.Studio\web.connections.config build\config\TeamLabSvc.exe.config module\ASC.Mail.Aggregator\ASC.Mail.Aggregator.CollectionService\App.config module\ASC.Mail.Aggregator\ASC.Mail.Watchdog.Service\App.config and figured out that the password field was empty so i filled it with the onlyoffice password and then rebuild it again ; the build and deploy succeded but the 500 error shows up again

andreysavihin commented 4 years ago

What are the errors in the logs?

fouratbh1 commented 4 years ago

what file should i open to see those errors please ?

andreysavihin commented 4 years ago

web.log, web.api.log, web.sql.log

fouratbh1 commented 4 years ago

thank you , this is the content of web.log file : 2020-02-19 10:11:29,547 WARN [8] ASC.Common - core.machinekey: WIN-LDHC0K3SQTH 2020-02-19 12:03:19,179 WARN [8] ASC.Common - core.machinekey: WIN-LDHC0K3SQTH 2020-02-19 14:45:37,637 WARN [120] ASC.Common - core.machinekey: WIN-LDHC0K3SQTH

and the web.sql.log file show no error, but i dont find the web.api.log file its missed :(

andreysavihin commented 4 years ago

Please describe in detail all the steps you have taken to reproduce this problem.

Did you use the instruction https://helpcenter.onlyoffice.com/server/windows/community/compile-source-code.aspx?

fouratbh1 commented 4 years ago

i followed this link step by step and i did take all the steps , but i have installed the onlyoffice community-edition v20.02.407 from source forge and the database was created automatically by it, can this be the origin of the problem ?

Carazyda commented 4 years ago

The instruction at the moment is not quite up to date. Please check URL Rewrite rules in IIS after install Community Edition, and setup this on opensource. We update the instruction.

But we strongly recommend use installer, in particular - Community Edition exe.