• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion
  • Inviting everyone to the UX test of a new security feature in the WP Toolkit
    For WordPress site owners, threats posed by hackers are ever-present. Because of this, we are developing a new security feature for the WP Toolkit. If the topic of WordPress website security is relevant to you, we would be grateful if you could share your experience and help us test the usability of this feature. We invite you to join us for a 1-hour online session via Google Meet. Select a convenient meeting time with our friendly UX staff here.

problems with domain backup

3a-informatique

Basic Pleskian
Hello,

im running the latest hotfixes and suddenly my domain backup stopped working for 1 domain.

the error I'm getting is:

Code:
Following error is occured during scheduled backup process:

Error in UploadToRepositoryState.doActivityRunner()
Traceback (most recent call last):
  File "/usr/local/psa/admin/share/agent_runner/agent_runner.py", line 97, in doActivityRunner
    newState = self.doActivity()
  File "/usr/local/psa/admin/share/agent_runner/agent_runner.py", line 411, in doActivity
    remotefh = remoteBackupFile.fh('wb')
AttributeError: 'NoneType' object has no attribute 'fh'

how I can solve it?
thank you.

plesk 8.1
suse 9.3 64 bits
 
Guys, check FTP account credentials. May be FTP account password has been lost during upgrade or smth..
 
Try to reconfigure settings at all. Not only password, but host, login etc. This trick works for me.
 
Check that you have write permissions to the given directory/file.
 
This is what I got

backup VEID#510 failed: No tag for VE#510 : hostname: Unknown hostssh: xxxxxxx.xxxxxxxx.com: Name or service not known 2006-12-04T23:29:34-0800
vzbackup(31613): Starting backup. Nodes - .2006-12-04T23:29:34-0800 vzbackup(31613): Cleaning up...
 
I am unable to get the backup service to backup any of my domains.
When i attempt to backup i recieve the following error:
Error: Unable to create backup session: Specified file is not accessible

their is no explanation of which file or where.

is their a backup error log i should be looking for?

P.S: I am able to restore domains. just not backup
 
I got this error first, too. You have to change the owner of the folder

/var/lib/psa/dumps

and all subfolders to

psaadm (user) and psaadm (group).

After that at least the backup should be working fine.

But with the restore-function I get the same error messages as posted above...
 
THANK YOU SO MUCH!!!
this was such a help!
I looked at the folder and noticed that the owners where corrent however i added that the group and owner read and write and fixed everything!

Thank you so much!
 
For the original problem: I may say only it's because of Backup Manager can't write the resulting file (lack of disk space, wrong credentials, lack of permissions etc..)
 
SOme of my domains (client) working fine both backup methods (locan and ftp) but some doesnt...

Itry to change domain owner etc etc and it doesnt help still im geting this error. So can some1 please help me ti fix this.

The error is :

Error in BackupState.doActivityRunner()
Traceback (most recent call last):
File "/usr/local/psa/admin/share/agent_runner/agent_runner.py", line 97, in doActivityRunner
newState = self.doActivity()
File "/usr/local/psa/admin/share/agent_runner/agent_runner.py", line 381, in doActivity
errtxt = runAgent(self, self.session)
File "/usr/local/psa/admin/share/agent_runner/agent_runner.py", line 249, in runAgent
cmd.spawn()
File "/usr/local/psa/admin/lib/python/subproc.py", line 235, in spawn
proc.run()
File "/usr/local/psa/admin/lib/python/subproc.py", line 191, in run
BaseSubprocess.run(self)
File "/usr/local/psa/admin/lib/python/subproc.py", line 175, in run
self.wait()
File "/usr/local/psa/admin/lib/python/subproc.py", line 195, in wait
BaseSubprocess.wait(self)
File "/usr/local/psa/admin/lib/python/subproc.py", line 185, in wait
raise NonzeroExitException(self, os.WEXITSTATUS(status))
NonzeroExitException: was finished with exit code 255
 
Originally posted by 0031
For the original problem: I may say only it's because of Backup Manager can't write the resulting file (lack of disk space, wrong credentials, lack of permissions etc..)

It's definitely NO lack of diskspace...

I tried some things in changing permissions to the folders where the sripts that caused the errors are located in... But without success...

What about the guys from swsoft? Shuldn't it be their buisiness to provide a solution?

I think I won't wait too long an will be reinititializing my server with version 8.0...

It's not too funny being a tester for beta-releases:mad:
 
Originally posted by 0031
Check that you have write permissions to the given directory/file.

I have write permission.

The error:
Following error is occured during scheduled backup process:

Error in UploadToRepositoryState.doActivityRunner()
Traceback (most recent call last):
File "/usr/local/psa/admin/share/agent_runner/agent_runner.py", line 97, in doActivityRunner
newState = self.doActivity()
File "/usr/local/psa/admin/share/agent_runner/agent_runner.py", line 411, in doActivity
remotefh = remoteBackupFile.fh('wb')
AttributeError: 'NoneType' object has no attribute 'fh'


On line 97 i have:
newState = self.doActivity()

On line 411 i have:
remotefh = remoteBackupFile.fh('wb')
 
Originally posted by Pancho37491
I got this error first, too. You have to change the owner of the folder

/var/lib/psa/dumps

and all subfolders to

psaadm (user) and psaadm (group).

After that at least the backup should be working fine.

But with the restore-function I get the same error messages as posted above...

Ive done that and for some reason im getting:
Unable to create backup session: filemng failed: mkdir: cannot create directory `//var/lib/psa/dumps': Permission denied
filemng: Error occured during /bin/mkdir command.
ive tried all combernations of rights ive even chmod 777'd the whole folder and subs but still dont change :(
 
All I can say is, that performing a chown on fol der dumps as posted above works fine for backup on my system (Suse 9.3, 64 Bit, Plesk 8.1)...

Im still unable to restore a domain form a dump:

Traceback (most recent call last):
File "/usr/local/psa/admin/share/supervisor/processor.py", line 110, in doActivityRunner
newState = self.doActivity()
File "/usr/local/psa/admin/share/supervisor/processor.py", line 785, in doActivity
cmd.spawn(os.environ.has_key("PLESKRESTORE_MODE"))
File "/usr/local/psa/admin/lib/python/subproc.py", line 235, in spawn
proc.run()
File "/usr/local/psa/admin/lib/python/subproc.py", line 191, in run
BaseSubprocess.run(self)
File "/usr/local/psa/admin/lib/python/subproc.py", line 175, in run
self.wait()
File "/usr/local/psa/admin/lib/python/subproc.py", line 195, in wait
BaseSubprocess.wait(self)
File "/usr/local/psa/admin/lib/python/subproc.py", line 183, in wait
raise SignalException(self, os.WTERMSIG(status))
SignalException: <unprintable instance object>

This is what I get there...:confused:
 
Is this domain big in size? I see similar problem when there are 4GB files in backups...
 
Back
Top