- Joined
- May 13, 2021
- Messages
- 5
- Reaction score
- 0
Hi,
We recently migrated from Google Cloud to AWS Lightsail.
However, we have been getting this error message:
Would appreciate some guidance in resolving this issue.
I suspect it has to do with a read/write permission setting but I'm not familiar with the Linux command needed to grant the access.
We recently migrated from Google Cloud to AWS Lightsail.
However, we have been getting this error message:
Your 3CX backup failed due to the following reason(s):
System.UnauthorizedAccessException: Access to the path '/var/lib/3cxpbx/Instance1/Data/Backups/3CXScheduledBackup.zip.tmp' is denied.
---> System.IO.IOException: Permission denied
--- End of inner exception stack trace ---
at Interop.ThrowExceptionForIoErrno(ErrorInfo errorInfo, String path, Boolean isDirectory, Func`2 errorRewriter)
at Microsoft.Win32.SafeHandles.SafeFileHandle.Open(String path, OpenFlags flags, Int32 mode)
at System.IO.FileStream.OpenHandle(FileMode mode, FileShare share, FileOptions options)
at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options)
at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share)
at _3cxFilesystemImplementations.Local.LocalFilesystem.CreateFile(String filename)
at _3cxBackupRestoreImpl.BackupRestoreUtils.Backup(IFilesystem filesystem, String instanceId, String cfgPath, String dbConnectionString, BackupConfig options, String fullpathFilename, Boolean sendEmail)
at BackupRestoreSchedule.BackupJob.Execute(IJobExecutionContext context)
Would appreciate some guidance in resolving this issue.
I suspect it has to do with a read/write permission setting but I'm not familiar with the Linux command needed to grant the access.