setting the correct path for backup
setting the correct path for backup
Hi,
I want to create a backup of our portal, but if I click the "Perform Backup" button in the Settings page, I get the error "The given path's format is not supported."
Where can I set this path?
Best,
Ali
I want to create a backup of our portal, but if I click the "Perform Backup" button in the Settings page, I get the error "The given path's format is not supported."
Where can I set this path?
Best,
Ali
Re: setting the correct path for backup
Please specify the version you use, your OS, describe your actions step by step, send us a screenshot of console at the moment when the issue appears.
Re: setting the correct path for backup
Hi,
We're using OnlyOffice 7.7 on IIS , Win 7 (professional edition) and this is the screenshot and the steps that I take. According to the help page, a link for a zip file should become available instead of this error message.
Best,
Ali

We're using OnlyOffice 7.7 on IIS , Win 7 (professional edition) and this is the screenshot and the steps that I take. According to the help page, a link for a zip file should become available instead of this error message.
Best,
Ali

Re: setting the correct path for backup
Please, provide us the file you may find here: c:\Program Files\Ascensio System SIA\ONLYOFFICE\Backup\TeamLabSvc.exe.Config via email support@onlyoffice.com and please insert the link to this thread into your email.
Re: setting the correct path for backup
Hi AnaMih,
I checked the latest log file in c:\Program Files (x86)\Ascensio System SIA\ONLYOFFICE\logs\backup :
I created this folder manually and tried the same process again, now I get this error:
I turned off the firewall and antivirus but the problem still persists.
Do you still need to review the config file?
Best,
Ali
I checked the latest log file in c:\Program Files (x86)\Ascensio System SIA\ONLYOFFICE\logs\backup :
Code: Select all
2015-01-15 04:08:45,050 ERROR [127] ASC.Backup - System.IO.DirectoryNotFoundException: Directory 'C:\Program Files (x86)\Ascensio System SIA\ONLYOFFICE\WebStudio\data\backupfiles\backup\' not found
at ASC.Data.Storage.DiscStorage.DiscDataStore.DeleteExpired(String domain, String folderPath, TimeSpan oldThreshold)
at ASC.Data.Backup.Service.BackupService.Clean(Object period)
Code: Select all
Could not connect to net.tcp://localhost:9882/teamlabBackup. The connection attempt lasted for a time span of 00:00:02.0070000. TCP error code 10061: No connection could be made because the target machine actively refused it 127.0.0.1:9882.
Do you still need to review the config file?
Best,
Ali
Re: setting the correct path for backup
Yes. it would be better to see all log-files and *.config file.
Re: setting the correct path for backup
To solve the issue, please check if all 11 ONLYOFFICE services are started, ONLYOFFICE Backup also. If ONLYOFFICE Backup service is started, please restart it, clear the browser cache, renew the page and try to create Backup once again.
Re: setting the correct path for backup
Hello AnaMih,
I made sure that all 11 services are running, I restarted the BackUp service, cleared the cache and tried different browsers. I still get the error "The given path's format is not supported."
The screenshot of this error is on this page and this is the newest entry in BackUp Log:
How can I set this path correctly?
Best,
Ali
I made sure that all 11 services are running, I restarted the BackUp service, cleared the cache and tried different browsers. I still get the error "The given path's format is not supported."
The screenshot of this error is on this page and this is the newest entry in BackUp Log:
Code: Select all
2015-01-22 09:36:58,660 ERROR [queue_worker_1] ASC.Backup - System.NotSupportedException: The given path's format is not supported.
at System.Security.Util.StringExpressionSet.CanonicalizePath(String path, Boolean needFullPath)
at System.Security.Util.StringExpressionSet.CreateListFromExpressions(String[] str, Boolean needFullPath)
at System.Security.Permissions.FileIOPermission.AddPathList(FileIOPermissionAccess access, AccessControlActions control, String[] pathListOrig, Boolean checkForDuplicates, Boolean needFullPath, Boolean copyPathList)
at System.Security.Permissions.FileIOPermission.AddPathList(FileIOPermissionAccess access, String[] pathListOrig, Boolean checkForDuplicates, Boolean needFullPath, Boolean copyPathList)
at System.Security.Permissions.FileIOPermission..ctor(FileIOPermissionAccess access, String[] pathList, Boolean checkForDuplicates, Boolean needFullPath)
at System.IO.File.InternalDelete(String path, Boolean checkHost)
at ASC.Data.Backup.Service.ProgressItems.BackupProgressItem.RunInternal()
at ASC.Data.Backup.Service.ProgressItems.BackupProgressItemBase.RunJob()
Best,
Ali
Re: setting the correct path for backup
We need the configuration file in order to analyse the problem with the paths.
Installation folders are \Data\Backup и \WebStudio\Data\Backup and backup settings specified in the *.config files.
Installation folders are \Data\Backup и \WebStudio\Data\Backup and backup settings specified in the *.config files.
Re: setting the correct path for backup
Hello AnaMih,
Thank you for the reply.
These two folders are empty: \Data\Backup и \WebStudio\Data\Backup
and I find backup settings in these config files. I am not sure which is the one to be changed:
C:\Program Files (x86)\Ascensio System SIA\ONLYOFFICE\Backup\TeamLabSvc.exe.Config
C:\Program Files (x86)\Ascensio System SIA\ONLYOFFICE\WebStudio\web.storage.config
C:\Program Files (x86)\Ascensio System SIA\ONLYOFFICE\WebStudio\Web.config
I've previously emailed you the web.config file but if you need it again or the other config files, let me know and I will email you the files again.
Best,
Ali
Thank you for the reply.
These two folders are empty: \Data\Backup и \WebStudio\Data\Backup
and I find backup settings in these config files. I am not sure which is the one to be changed:
C:\Program Files (x86)\Ascensio System SIA\ONLYOFFICE\Backup\TeamLabSvc.exe.Config
Code: Select all
...
...
<teamlab>
<services>
<add type="ASC.Data.Backup.Service.BackupServiceLauncher, ASC.Data.Backup" />
</services>
</teamlab>
...
...
<backup>
<webConfigs current="local">
<add region="local" path="..\WebStudio\" />
</webConfigs>
</backup>
...
...
<service name="ASC.Data.Backup.Service.BackupService">
<endpoint address="net.tcp://0.0.0.0:9882/teamlabBackup" binding="netTcpBinding" contract="ASC.Core.Common.Contracts.IBackupService" bindingConfiguration="backup" />
</service>
...
...
<binding name="backup" openTimeout="0:0:10" receiveTimeout="0:0:10" sendTimeout="0:0:10">
<security mode="None" />
<readerQuotas maxStringContentLength="1000000" />
</binding>
...
Code: Select all
<add name="backup" type="disc" path="..\WebStudio\data\{0}\backup" virtualpath="~/data/{0}/backup" visible="false" />
Code: Select all
<client>
<endpoint address="net.tcp://localhost:9865/teamlabJabber" binding="netTcpBinding" contract="ASC.Core.Notify.Jabber.IJabberService" bindingConfiguration="jabber" />
<endpoint address="net.tcp://localhost:9866/teamlabSearcher" binding="netTcpBinding" contract="ASC.FullTextIndex.ITextIndexService" bindingConfiguration="index" />
<endpoint address="net.tcp://localhost:9871/teamlabNotify" binding="netTcpBinding" contract="ASC.Notify.INotifyService" bindingConfiguration="notify" />
<endpoint contract="ASC.Core.Common.Contracts.IBackupService" address="net.tcp://localhost:9882/teamlabBackup" binding="netTcpBinding" bindingConfiguration="backup" />
</client>
Best,
Ali