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

Unable to find row with id in ScheduledTasks table

oim37

New Pleskian
Hello.

Plesk 12.5.30 #24

User can't add task
panel.log
[2016-03-10 16:41:10] ERR [1] Unable to find row with id in ScheduledTasks table.
[2016-03-10 16:41:13] ERR [panel] Db_Table_Exception: Unable to find row with id in ScheduledTasks table.
[2016-03-10 16:56:42] ERR [1] Unable to find row with id in ScheduledTasks table.
[2016-03-10 16:56:44] ERR [panel] Db_Table_Exception: Unable to find row with id in ScheduledTasks table.

Crontab -l work
after run
plesk repair installation
plesk repair db
same error

How to fix?
Thank's
 

Attachments

  • cron.png
    cron.png
    12 KB · Views: 10
Looks like database inconsistency. Fix it with

# plesk repair db
 
plesk repair db

Checking the Plesk database using the native database server tools .. [OK]

Checking the structure of the Plesk database ........................ [OK]

Checking the consistency of the Plesk database ...................... [OK]

Error messages: 0; Warnings: 0; Errors resolved: 0

same error, may be need restart some daemon
help please
 
Make sure that your ScheduledTasks table has the same structure. Correct it if necessary.

mysql> show create table ScheduledTasks\G
*************************** 1. row ***************************
Table: ScheduledTasks
Create Table: CREATE TABLE `ScheduledTasks` (
`id` int(10) unsigned NOT NULL AUTO_INCREMENT,
`hash` varchar(255) NOT NULL,
`serviceNodeId` int(10) unsigned NOT NULL,
`sysUserId` int(10) unsigned DEFAULT NULL,
`sysUserLogin` varchar(255) DEFAULT NULL,
`isActive` int(1) NOT NULL DEFAULT '0',
`type` enum('exec','http','php') NOT NULL DEFAULT 'exec',
`phpHandlerId` varchar(255) DEFAULT NULL,
`command` text NOT NULL,
`arguments` text,
`description` text,
`notify` enum('ignore','errors','always') NOT NULL DEFAULT 'ignore',
`emailType` enum('default','owner','custom') NOT NULL DEFAULT 'owner',
`email` text,
`minute` varchar(255) NOT NULL,
`hour` varchar(255) NOT NULL,
`dayOfMonth` varchar(255) NOT NULL,
`month` varchar(255) NOT NULL,
`dayOfWeek` varchar(255) NOT NULL,
`period` int(11) unsigned NOT NULL DEFAULT '0',
PRIMARY KEY (`id`),
KEY `sysUserId` (`sysUserId`),
KEY `serviceNodeId` (`serviceNodeId`)
) ENGINE=InnoDB AUTO_INCREMENT=5 DEFAULT CHARSET=utf8
1 row in set (0.00 sec)
 
Look same
mysql> show create table ScheduledTasks\G
*************************** 1. row ***************************
Table: ScheduledTasks
Create Table: CREATE TABLE `ScheduledTasks` (
`id` int(10) unsigned NOT NULL AUTO_INCREMENT,
`hash` varchar(255) NOT NULL,
`serviceNodeId` int(10) unsigned NOT NULL,
`sysUserId` int(10) unsigned DEFAULT NULL,
`sysUserLogin` varchar(255) DEFAULT NULL,
`isActive` int(1) NOT NULL DEFAULT '0',
`type` enum('exec','http','php') NOT NULL DEFAULT 'exec',
`phpHandlerId` varchar(255) DEFAULT NULL,
`command` text NOT NULL,
`arguments` text,
`description` text,
`notify` enum('ignore','errors','always') NOT NULL DEFAULT 'ignore',
`emailType` enum('default','owner','custom') NOT NULL DEFAULT 'owner',
`email` text,
`minute` varchar(255) NOT NULL,
`hour` varchar(255) NOT NULL,
`dayOfMonth` varchar(255) NOT NULL,
`month` varchar(255) NOT NULL,
`dayOfWeek` varchar(255) NOT NULL,
`period` int(11) unsigned NOT NULL DEFAULT '0',
PRIMARY KEY (`id`),
KEY `serviceNodeId` (`serviceNodeId`),
KEY `sysUserId` (`sysUserId`)
) ENGINE=InnoDB AUTO_INCREMENT=44 DEFAULT CHARSET=utf8
1 row in set (0.00 sec)

mysql>

In :8443/admin/scheduler/tasks-list all ok, not working from client
 
Back
Top