ControlPanel icon indicating copy to clipboard operation
ControlPanel copied to clipboard

Backup not working

Open Ank164 opened this issue 11 months ago • 3 comments

Latest versions of onlyoffice-community and documentserverf from repo looks like controlpanel is version 3.5.4.541 Ubuntu 18.04 when I try to run a backup in controlpanel i get the following error:

ASC.Api.ApiSetup - method error: http://127.0.0.1/api/2.0/portal/getBackupProgress.json - Server error System.ServiceModel.FaultException`1[System.ServiceModel.ExceptionDetail]: Method not found: void ICSharpCode.SharpZipLib.Tar.TarOutputStream..ctor(System.IO.Stream,System.Text.Encoding) (Fault Detail is equal to Method not found: void ICSharpCode.SharpZipLib.Tar.TarOutputStream..ctor(System.IO.Stream,System.Text.Encoding)).

Ank164 avatar Jan 28 '25 13:01 Ank164

Hello @Ank164 Please provide more details:

  1. How did you install and update Onlyoffice Workspace?
  2. What version of dotnet is installed on your server?
  3. When did this error appear? Did you change any settings?

Carazyda avatar Jan 28 '25 14:01 Carazyda

using the install-debian.sh script

sudo bash install-debian.sh -u true -it workspace

dotnet 7

appeared after upgrade

025-01-28 18:42:17,815 ERROR [24] ASC - RunJob - Params: { Id = 35d5db56-b55c-4d4f-a5ec-9d1998f6680d, Tenant = 1, File = onlyoffice_2025-01-28_13-42-17.tar.gz, BasePath = }, Error = System.MissingMethodException: Method not found: void ICSharpCode.SharpZipLib.Tar.TarOutputStream..ctor(System.IO.Stream,System.Text.Encoding) at ASC.Data.Storage.DiscStorage.DiscDataStore.CreateDataWriteOperator (ASC.Core.ChunkedUploader.CommonChunkedUploadSession chunkedUploadSession, ASC.Core.ChunkedUploader.CommonChunkedUploadSessionHolder sessionHolder) [0x00000] in <4863654605ec4dbbacc72db77edc37f6>:0 at ASC.Data.Backup.Storage.ConsumerBackupStorage.GetWriteOperator (System.String storageBasePath, System.String title, System.Guid userId) [0x00027] in <1c8c8244a45c4bdca85d5d1f38baaa31>:0 at ASC.Data.Storage.ZipOperators.ZipWriteOperatorFactory.GetWriteOperator (System.String storageBasePath, System.String title, System.String tempFolder, System.Guid userId, ASC.Data.Storage.ZipOperators.IGetterWriteOperator getter) [0x00000] in <4863654605ec4dbbacc72db77edc37f6>:0 at ASC.Data.Backup.Service.BackupWorker+BackupProgressItem.RunJob () [0x000d2] in <1c8c8244a45c4bdca85d5d1f38baaa31>:0

Ank164 avatar Jan 28 '25 15:01 Ank164

I think the problem is in the outdated version of your OS. Try updating it or migrating to a new server with a new version of Ubuntu. Be sure to backup the Data folders and the database dump.

Carazyda avatar Feb 03 '25 06:02 Carazyda