DocSpace icon indicating copy to clipboard operation
DocSpace copied to clipboard

Unable to log in after data restoration.

Open Tom-xiao1 opened this issue 10 months ago • 5 comments

"Hello, I have deployed two OnlyOffice DocSpace Community Editions on Windows Server 2019 and want to migrate data from one server to another. I first used the local backup feature and then restored the data, but after the restoration, I am unable to log in." "Of course, I saw the message: 'Due to the new mechanism of the password encryption, there is no possibility to restore the password from the backup using the core.machinekey key which differs from the original one. To ensure correct portal operation, specify the old server key in the web.appsettings.config, TeamlabSvc.exe.Config files, and in the Control Panel production.json config file before restoring the backup on a new server.' Should I modify the core.machinekey first before restoring the data? However, I couldn’t find the TeamlabSvc.exe.Config file. Could you please explain again how I should proceed with data restoration in my situation?"

Tom-xiao1 avatar Feb 19 '25 03:02 Tom-xiao1

Hello @Tom-xiao1, if you installed Docspace Community Edition on Windows Server - you can change the machinekey value in this config: C:\Program Files (x86)\Ascensio System SIA\DocSpace\config

You can also reset the password via "Forgot password".

We will update our documentation in HelpCenter.

Carazyda avatar Feb 19 '25 22:02 Carazyda

"Hello, after my attempts, both methods encountered issues. I will organize and provide feedback later. Is it possible to run the installation package of the new version (DocSpace Community 8.3) on my previous server (the old version of DocSpace) to achieve an automatic upgrade, while ensuring that no data is lost?"

Tom-xiao1 avatar Feb 20 '25 08:02 Tom-xiao1

Of course, you can update your server with a separate document server installer or a common dockspace. In the near future, we will release hotfix 3.0.4, which will also contain an updated document server version 8.3.0. You can find them on our website.

Carazyda avatar Feb 20 '25 10:02 Carazyda

Image Hello. 1.After creating a backup and downloading it locally, then performing data recovery on another service, I changed the two machineKey values on the new service to match those of the old service. However, I still cannot log in. What could be the issue? Can it be solved?

2.About "Forgot Password": My SMTP service has not been able to work properly, and after clicking the "Forgot Password" option, I am not receiving any email.

Tom-xiao1 avatar Feb 21 '25 00:02 Tom-xiao1

  1. Did you restart Docspace services after changing appsettings.config?
  2. Are there any errors in Notify.log? Alternatively, change the smtp server to default.

Carazyda avatar Feb 24 '25 11:02 Carazyda