Forums | Mahara Community
Support
/
Upgrade hickup
12 August 2016, 6:05
My upgrade to 16.04.3 from 16.04.2 went flawlessly (as usual) except when it comes time to update artifact.blog I get this error:
Artefact with id 53136 not found
- artefact_instance_from_id(string(size 5)) at /var/www/htdocs/lib/embeddedimage.php:79
- EmbeddedImage::prepare_embedded_images(string(size 1625), string(size 8), string(size 5), null, string(size 4)) at/var/www/htdocs/artefact/blog/db/upgrade.php:76
- xmldb_artefact_blog_upgrade(string(size 10)) at /var/www/htdocs/lib/upgrade.php:418
- upgrade_plugin(object(stdClass)) at /var/www/htdocs/admin/upgrade.json.php:87
Thanks for your great community support!
12 August 2016, 10:54
Hi Patric,
Thank you for reporting this issue - it is indeed a bug.
It occurs when a Journal post (blogpost) has an embedded image <img> tag in it but the underlying image has been deleted.
I've made a bug report for that and will get a fix done
https://bugs.launchpad.net/mahara/15.10/+bug/1612451
In the meantime you can find the offending row in the db and tidy it up
eg:
select * from artefact where description like '%artefact/file/download.php%53136%';
And remove the <img> tag with that id in it from the description text.
Cheers
Robert
29 August 2016, 4:39
Is this the same problem?
Clicking on upgrade the following message appears:
Das Artefakt mit der ID 1606 wurde nicht gefunden Call stack (most recent first):
|
29 August 2016, 9:38
Hi Andreas,
Yes this does look to be the same problem.
Either of the 2 fix options should work for you. Let me know if the do not
Cheers
Robert