I want to report a bug/problem which connected to backup in web interface
I wanted to do backup and i have found that in Control Pannel there is a function to do backup in web interface of a program.
But after going to Control Pannel i have received that there is a problem with “Error while fetching data” on the screen.
So i tried to uderstand what is the problem and in CLI wrote command:
#systemctl list-units --type service
And i saw that service onlyofficeBackup.service failed. I tried to check what is the problem, restarted service and watched the status of it and that the error what i saw:
Aug 19 11:20:47 onlyoffice.local mono: /var/www/onlyoffice/Services/TeamLabSvc/TeamLabSvc.exe: Exception has been thrown by the target of an invocation.
Aug 19 11:20:47 onlyoffice.local mono: /var/www/onlyoffice/Services/TeamLabSvc/TeamLabSvc.exe: The type initializer for ‘System.IO.TempPath’ threw an exception.
Aug 19 11:20:47 onlyoffice.local mono: /var/www/onlyoffice/Services/TeamLabSvc/TeamLabSvc.exe: Access to the path ‘/usr/lib/Data/temp’ is denied.
Aug 19 11:20:47 onlyoffice.local mono: /var/www/onlyoffice/Services/TeamLabSvc/TeamLabSvc.exe: Permission denied
I saw Access to the path ‘/usr/lib/Data/temp’ is denied. So i decided to check what is in this directory and it was not …/Data/temp directory inside.
So i decided to change that filepath in config files to see what can be happened. I have found the file /var/www/onlyoffice/Services/TeamLabSvc/TeamLabSvc.exe, but it is .exe file (On Linux server! What?), but there is another file TeamLabSvc.exe.config, and i decided to change “temp” filepath over there.
After changing to then restarted service onlyofficeBackup.service AND it worked for me in some case. I have opened Control pannel and no error with fetching data noticed.
But when i tried to run backup there was an error on the page “Method not found: void ICSharpCode.SharpZipLib.Tar.TarOutputStream…ctor(System.IO.Stream,System.Text.Encoding)”
Can you help me with backup on Centos server? Maybe i did something wrong? As i see backup on linux server is not configured, but i can be wrong because of lack of knowlege. Maybe there is no way to do backup on Linux server? Am i right, Can i do ususal backup of mysql and files in directory /var/www/onlyoffice/? Is it enough?
Thank you in advance!
Community Server version: v11.1
Type of installation of Workspace: manual installation
OS: Centos 7
Browser version: Chrome, Firefox, Edge latest version (no matter)