← Back to team overview

mahara-contributors team mailing list archive

[Bug 1930998] [NEW] Error when starting cron or upgrade on command line .../lib.php not found

 

Public bug reported:

**History**
Yesterday I tried to upgrade from 20.04 to 21.04.1 which failed when as usual trying to run 

sudo -u www-data php cli/upgrade.php

I sadly did not manage to copy the message, it was somewhat about a
missing file named

...embedly/lib.php

leaving the upgrade non functional.
Today I ran cron on my 20.04 and got a very similar message:

[WAR] c7 (lib/mahara.php:1616) File /var/www/mahara-20.04.0/htdocs/artefact/outcome/lib.php did not exist
Call stack (most recent first):
  * safe_require(string(size 8), string(size 7)) at /var/www/mahara-20.04.0/htdocs/lib/mahara.php:4415
  * recalculate_quota() at /var/www/mahara-20.04.0/htdocs/lib/cron.php:198

A nonrecoverable error occurred. This probably means you have
encountered a bug in the system

**Problem**
Both files mentioned (...outcome/lib.php and ...embedly/lib.php) DO NOT exist. But why does the script try to get them? Did not find any hint in database or file system.

**Versions**

Mahara 20.04.0
Ubuntu 16.04.4
mariadab 10.4.18

** Affects: mahara
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: mahara-contributors
https://bugs.launchpad.net/bugs/1930998

Title:
  Error when starting cron or upgrade on command line .../lib.php not
  found

Status in Mahara:
  New

Bug description:
  **History**
  Yesterday I tried to upgrade from 20.04 to 21.04.1 which failed when as usual trying to run 

  sudo -u www-data php cli/upgrade.php

  I sadly did not manage to copy the message, it was somewhat about a
  missing file named

  ...embedly/lib.php

  leaving the upgrade non functional.
  Today I ran cron on my 20.04 and got a very similar message:

  [WAR] c7 (lib/mahara.php:1616) File /var/www/mahara-20.04.0/htdocs/artefact/outcome/lib.php did not exist
  Call stack (most recent first):
    * safe_require(string(size 8), string(size 7)) at /var/www/mahara-20.04.0/htdocs/lib/mahara.php:4415
    * recalculate_quota() at /var/www/mahara-20.04.0/htdocs/lib/cron.php:198

  A nonrecoverable error occurred. This probably means you have
  encountered a bug in the system

  **Problem**
  Both files mentioned (...outcome/lib.php and ...embedly/lib.php) DO NOT exist. But why does the script try to get them? Did not find any hint in database or file system.

  **Versions**

  Mahara 20.04.0
  Ubuntu 16.04.4
  mariadab 10.4.18

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1930998/+subscriptions


Follow ups