mysql> select * from xf_job;
+--------+-------------------+----------------------+--------------+----------------+--------------+---------------+
| job_id | unique_key | execute_class | execute_data | manual_execute | trigger_date | last_run_date |
+--------+-------------------+----------------------+--------------+----------------+--------------+---------------+
| 2 | cron | XF\Job\Cron | a:0:{} | 0 | 1544109578 | 1544109518 |
| 9 | xfCollectStats | XF:CollectStats | a:0:{} | 0 | 1547344734 | 1543985471 |
| 43232 | permissionRebuild | XF:PermissionRebuild | a:0:{} | 1 | 1543987106 | NULL |
+--------+-------------------+----------------------+--------------+----------------+--------------+---------------+
3 rows in set (0.00 sec)
mysql> select * from xf_job;
+--------+-------------------+----------------------+--------------+----------------+--------------+---------------+
| job_id | unique_key | execute_class | execute_data | manual_execute | trigger_date | last_run_date |
+--------+-------------------+----------------------+--------------+----------------+--------------+---------------+
| 2 | cron | XF\Job\Cron | a:0:{} | 0 | 1544109944 | 1544109890 |
| 9 | xfCollectStats | XF:CollectStats | a:0:{} | 0 | 1547344734 | 1543985471 |
| 48412 | permissionRebuild | XF:PermissionRebuild | a:0:{} | 1 | 1544109904 | NULL |
+--------+-------------------+----------------------+--------------+----------------+--------------+---------------+
3 rows in set (0.00 sec)
These permission rebuild jobs should run regardless of admin permissions. Rebuilding permissions isn't actually something you can run from the "Rebuild caches" admin CP page.One issue here is that running this permission rebuild job from the admin panel requires more than just the create node permission. My normal 'non-superuser admin' can't run it, because I think it's tied to batch jobs IIRC.
If you click that, do the jobs finish successfully (and leave the xf_job table)?There are manual rebuild jobs awaiting completion. Continue running them.
If you click that, do the jobs finish successfully (and leave the xf_job table)?
tools/run-job
is not permission controlled for exactly this reason. At this point, I can only guess that there's an add-on interfering.We use essential cookies to make this site work, and optional cookies to enhance your experience.