• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • We are looking for U.S.-based freelancer or agency working with SEO or WordPress for a quick 30-min interviews to gather feedback on XOVI, a successful German SEO tool we’re looking to launch in the U.S.
    If you qualify and participate, you’ll receive a $30 Amazon gift card as a thank-you. Please apply here. Thanks for helping shape a better SEO product for agencies!
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

Resolved Backup Manager

blackbird71

New Pleskian
Server operating system version
Ubuntu 18.04.6 LTS
Plesk version and microupdate number
Plesk Obsidian 18.0.62.2
Hello,

for some time now I have a problem with Plesk Backup Manager. All Backups fail with following Error Message for each Subscription/Domain:

JMS\Serializer\Type\Parser::getConstant(): Argument #1 ($value) must be of type int, null given, called in /opt/psa/admin/plib/vendor/jms/serializer/src/Type/Parser.php on line 69


I tried to track down the error in the backup.log an found that the problem happens while parsing /opt/psa/admin/plib/backup/Agent/Dumper/../Schema/BackupMeta/MigrationDump.MigrationDumpAType.yml

But I didn't get any further than that. Maybe someone had the same problem or any idea how to find a solution?
 
Are there any related errors in panel.log file (Tools & Settings > Log Browser > Plesk)?
 
In that case either install Log Browser extension to view the panel.log file directly from within Plesk or connect via SSH and open the file /var/log/plesk/panel.log to search for related errors to backup.

If you like support to assist with this issue, don't hesitate to open a support ticket. To sign-in to support and open a ticket go to https://support.plesk.com.

If you got your license from a reseller, your reseller should provide support for you. If the reseller does not provide support, here is an alternative to get support directly from Plesk: https://support.plesk.com/hc/en-us/articles/12388090147095-How-to-get-support-directly-from-Plesk
 
There are no related logs. Started another Backup and no logs from the same time.

Only in backup.log I get this:

Code:
[2024-08-02 13:48:09.631|39568] DEBUG [panel] Backup filename /var/lib/psa/dumps/domains/######/backup_info_2408021348.xml
[2024-08-02 13:48:09.639|39568] ERR [panel] Exception: PHP Warning: Attempt to read property "type" on array; File: /opt/psa/admin/plib/vendor/jms/serializer/src/Type/Parser.php, Line: 46
file: /opt/psa/admin/plib/Smb/Exception/Syntax.php
line: 56
code: 0
trace: #0 /opt/psa/admin/plib/vendor/jms/serializer/src/Type/Parser.php(46): Smb_Exception_Syntax::handleError(integer '2', string 'Attempt to read property "type" on array', string '/opt/psa/admin/plib/vendor/jms/serializer/src/Type/Parser.php', integer '46')
#1 /opt/psa/admin/plib/vendor/jms/serializer/src/Type/Parser.php(30): JMS\Serializer\Type\Parser->visit()
#2 /opt/psa/admin/plib/vendor/jms/serializer/src/Metadata/Driver/YamlDriver.php(206): JMS\Serializer\Type\Parser->parse(string 'string')
#3 /opt/psa/admin/plib/vendor/jms/serializer/src/Metadata/Driver/YamlDriver.php(65): JMS\Serializer\Metadata\Driver\YamlDriver->loadMetadataFromFile(object of type ReflectionClass, string '/opt/psa/admin/plib/backup/Agent/Dumper/../Schema/BackupMeta/MigrationDump.MigrationDumpAType.yml')
#4 /opt/psa/admin/plib/vendor/jms/metadata/src/Driver/DriverChain.php(32): JMS\Serializer\Metadata\Driver\YamlDriver->loadMetadataForClass(object of type ReflectionClass)
#5 /opt/psa/admin/plib/vendor/jms/serializer/src/Metadata/Driver/TypedPropertiesDriver.php(69): Metadata\Driver\DriverChain->loadMetadataForClass(object of type ReflectionClass)
#6 /opt/psa/admin/plib/vendor/jms/serializer/src/Metadata/Driver/DefaultValuePropertyDriver.php(32): JMS\Serializer\Metadata\Driver\TypedPropertiesDriver->loadMetadataForClass(object of type ReflectionClass)
#7 /opt/psa/admin/plib/vendor/jms/metadata/src/MetadataFactory.php(111): JMS\Serializer\Metadata\Driver\DefaultValuePropertyDriver->loadMetadataForClass(object of type ReflectionClass)
#8 /opt/psa/admin/plib/vendor/jms/serializer/src/GraphNavigator/SerializationGraphNavigator.php(222): Metadata\MetadataFactory->getMetadataForClass(string 'Plesk\backup\Agent\Schema\Backup\MigrationDump')
#9 /opt/psa/admin/plib/vendor/jms/serializer/src/Serializer.php(256): JMS\Serializer\GraphNavigator\SerializationGraphNavigator->accept(object of type Plesk\backup\Agent\Schema\Backup\MigrationDump, array)
#10 /opt/psa/admin/plib/vendor/jms/serializer/src/Serializer.php(163): JMS\Serializer\Serializer->visit(object of type JMS\Serializer\GraphNavigator\SerializationGraphNavigator, object of type JMS\Serializer\XmlSerializationVisitor, object of type JMS\Serializer\SerializationContext, object of type Plesk\backup\Agent\Schema\Backup\MigrationDump, string 'xml', NULL null)
#11 /opt/psa/admin/plib/backup/Agent/Dumper/DumpObject.php(74): JMS\Serializer\Serializer->serialize(object of type Plesk\backup\Agent\Schema\Backup\MigrationDump, string 'xml')
#12 /opt/psa/admin/plib/backup/Agent/Dumper/Domain.php(67): Plesk\backup\Agent\Dumper\DumpObject->save(object of type Plesk\backup\Agent\Schema\Backup\MigrationDump, array)
#13 /opt/psa/admin/plib/backup/Agent/Dumper/Domain.php(30): Plesk\backup\Agent\Dumper\Domain->createDomainDump(object of type Db_Table_Row_Domain)
#14 /opt/psa/admin/plib/backup/Agent/CallHelper.php(52): Plesk\backup\Agent\Dumper\Domain->Plesk\backup\Agent\Dumper\{closure}(object of type Db_Table_Row_Domain)
#15 /opt/psa/admin/plib/backup/Agent/Dumper/Domain.php(37): Plesk\backup\Agent\Dumper\Base->iterateSafely(object of type Generator, object of type Closure, object of type Closure, object of type Closure)
#16 /opt/psa/admin/plib/backup/Agent/Dumper/Server.php(24): Plesk\backup\Agent\Dumper\Domain->createDomainDumps()
#17 /opt/psa/admin/plib/backup/Agent/Agent.php(160): Plesk\backup\Agent\Dumper\Server->createServerDump()
#18 /opt/psa/admin/plib/backup/Agent/CallHelper.php(20): Plesk\backup\Agent\Agent->Plesk\backup\Agent\{closure}()
#19 /opt/psa/admin/plib/backup/Agent/Agent.php(155): Plesk\backup\Agent\Agent->callSafely(object of type Closure, object of type Closure, object of type Closure)
#20 /opt/psa/admin/plib/backup/Agent/Agent.php(92): Plesk\backup\Agent\Agent->createDump()
#21 /opt/psa/admin/plib/api-common/cuBackupAgent.php(307): Plesk\backup\Agent\Agent->dump()
#22 /opt/psa/admin/plib/api-common/cuApp.php(79): cuBackupAgent->_dumpCommand(string '/opt/psa/PMM/sessions/2024-08-02-134758.739', string 'bc0f5218-5736-47dd-a4e8-f684e36ecfa4', string 'server', string '', NULL null, string '', string 'fast', NULL null, NULL null, NULL null, NULL null, string 'backup', string 'script', NULL null, NULL null, NULL null, NULL null, NULL null, NULL null, NULL null, string 'manual', string '/opt/psa/PMM/sessions/2024-08-02-134758.739/dump_description', string '', string '', string '')
#23 /opt/psa/admin/plib/api-common/cuApp.php(73): cuApp->_callCommandMethod(array)
#24 /opt/psa/admin/plib/api-common/cuApp.php(53): cuApp->_executeCommand()
#25 /opt/psa/admin/plib/api-common/CuExecutor.php(69): cuApp->runFromCliGate()
#26 /opt/psa/admin/plib/api-common/CuExecutor.php(131): CuExecutor->execUtil(string 'cuBackupAgent', string 'runFromCliGate')
#27 /opt/psa/admin/plib/api-cli/CliUtilityRunner.php(28): CuExecutor->run()
#28 /opt/psa/admin/plib/api-cli/CliUtilityRunner.php(37): CliUtilityRunner->run()
#29 /opt/psa/admin/sbin/backup_agent(3): require_once(string '/opt/psa/admin/plib/api-cli/CliUtilityRunner.php')
 
I am not sure what is causing the error you are encountering. I would recommend to open a support ticker with our support team for an investigation of the issue on your server. To sign-in to support and open a ticket go to https://support.plesk.com.

If you got your license from a reseller, your reseller should provide support for you. If the reseller does not provide support, here is an alternative to get support directly from Plesk: https://support.plesk.com/hc/en-us/articles/12388090147095-How-to-get-support-directly-from-Plesk
 
After some digging, plesk support discovered the issue was due to an outdated version of a WordPress plugin.

Thanks to support, they quickly identified and resolved the problem.
 
Back
Top