Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Backup not working #10

Open
Ank164 opened this issue Jan 28, 2025 · 3 comments
Open

Backup not working #10

Ank164 opened this issue Jan 28, 2025 · 3 comments

Comments

@Ank164
Copy link

Ank164 commented Jan 28, 2025

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)).

@Carazyda
Copy link
Member

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?

@Ank164
Copy link
Author

Ank164 commented Jan 28, 2025

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

@Carazyda
Copy link
Member

Carazyda commented Feb 3, 2025

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants