I tried to replicate the error installing Mahara 18.04.2 in Ubuntu 16.04 with apache 2, php 7 and postgres 9.5.14 but it installed without any issues.
Looking at the logs you posted, are those the apache logs that comes from the Mahara debugging? We usually have a bit more information in each line, like the file and line where we have the exception, like this one:
[Thu Sep 27 15:01:42.845598 2018] [:error] * BlockInstance->render_viewing(false, true) at .../lib/view.php:2323, referer: http://.../view/versioning.php?view=7
If they are not, could you please check the Mahara logs so we can check which line in the code is failing?
Cheers,
Cecilia
]]>
Thanks for your reply. This is what I found in my logs:
2018-09-23 22:00:53 CEST ERROR: relation "config" does not exist at character 26
2018-09-23 22:00:53 CEST STATEMENT: SELECT field, value FROM "config"
2018-09-23 22:00:53 CEST ERROR: relation "config" does not exist at character 21
2018-09-23 22:00:53 CEST STATEMENT: SELECT "value" FROM "config" WHERE "field" = $1
2018-09-23 22:00:53 CEST ERROR: relation "config" does not exist at character 21
2018-09-23 22:00:53 CEST STATEMENT: SELECT "value" FROM "config" WHERE "field" = $1
2018-09-23 22:00:53 CEST ERROR: relation "config" does not exist at character 21
2018-09-23 22:00:53 CEST STATEMENT: SELECT "value" FROM "config" WHERE "field" = $1
2018-09-23 22:00:53 CEST ERROR: relation "config" does not exist at character 26
2018-09-23 22:00:53 CEST STATEMENT: SELECT field, value FROM "config"
2018-09-23 22:00:53 CEST ERROR: relation "config" does not exist at character 21
2018-09-23 22:00:53 CEST STATEMENT: SELECT "value" FROM "config" WHERE "field" = $1
2018-09-23 22:00:53 CEST ERROR: relation "config" does not exist at character 21
2018-09-23 22:00:53 CEST STATEMENT: SELECT "value" FROM "config" WHERE "field" = $1
2018-09-23 22:00:53 CEST ERROR: relation "config" does not exist at character 21
2018-09-23 22:00:53 CEST STATEMENT: SELECT "value" FROM "config" WHERE "field" = $1
2018-09-23 22:00:54 CEST ERROR: relation "artefact_config" does not exist at character 15
2018-09-23 22:00:54 CEST STATEMENT: SELECT * FROM "artefact_config" WHERE "plugin" = $1 ORDER BY field
2018-09-23 22:00:55 CEST ERROR: relation "blocktype_installed" does not exist at character 15
2018-09-23 22:00:55 CEST STATEMENT: SELECT * FROM "blocktype_installed" ORDER BY artefactplugin,name
2018-09-23 22:00:55 CEST ERROR: relation "blocktype_installed" does not exist at character 15
2018-09-23 22:00:55 CEST STATEMENT: SELECT * FROM "blocktype_installed" ORDER BY artefactplugin,name
2018-09-23 22:00:55 CEST ERROR: relation "blocktype_installed" does not exist at character 15
2018-09-23 22:00:55 CEST STATEMENT: SELECT * FROM "blocktype_installed" ORDER BY artefactplugin,name
2018-09-23 22:00:55 CEST ERROR: relation "blocktype_installed" does not exist at character 15
2018-09-23 22:00:55 CEST STATEMENT: SELECT * FROM "blocktype_installed" ORDER BY artefactplugin,name
2018-09-23 22:00:55 CEST ERROR: relation "blocktype_installed" does not exist at character 15
2018-09-23 22:00:55 CEST STATEMENT: SELECT * FROM "blocktype_installed" ORDER BY artefactplugin,name
2018-09-23 22:00:55 CEST ERROR: relation "blocktype_installed" does not exist at character 15
2018-09-23 22:00:55 CEST STATEMENT: SELECT * FROM "blocktype_installed" ORDER BY artefactplugin,name
2018-09-23 22:00:55 CEST ERROR: relation "blocktype_installed" does not exist at character 15
2018-09-23 22:00:55 CEST STATEMENT: SELECT * FROM "blocktype_installed" ORDER BY artefactplugin,name
2018-09-23 22:00:55 CEST ERROR: relation "blocktype_installed" does not exist at character 15
2018-09-23 22:00:55 CEST STATEMENT: SELECT * FROM "blocktype_installed" ORDER BY artefactplugin,name
2018-09-23 22:00:55 CEST ERROR: relation "blocktype_installed" does not exist at character 15
2018-09-23 22:00:55 CEST STATEMENT: SELECT * FROM "blocktype_installed" ORDER BY artefactplugin,name
2018-09-23 22:00:55 CEST ERROR: relation "blocktype_installed" does not exist at character 15
2018-09-23 22:00:55 CEST STATEMENT: SELECT * FROM "blocktype_installed" ORDER BY artefactplugin,name
2018-09-23 22:00:55 CEST ERROR: relation "blocktype_installed" does not exist at character 15
2018-09-23 22:00:55 CEST STATEMENT: SELECT * FROM "blocktype_installed" ORDER BY artefactplugin,name
2018-09-23 22:00:55 CEST ERROR: relation "blocktype_installed" does not exist at character 15
2018-09-23 22:00:55 CEST STATEMENT: SELECT * FROM "blocktype_installed" ORDER BY artefactplugin,name
2018-09-23 22:00:55 CEST ERROR: relation "blocktype_installed" does not exist at character 15
2018-09-23 22:00:55 CEST STATEMENT: SELECT * FROM "blocktype_installed" ORDER BY artefactplugin,name
2018-09-23 22:00:55 CEST ERROR: relation "blocktype_installed" does not exist at character 15
2018-09-23 22:00:55 CEST STATEMENT: SELECT * FROM "blocktype_installed" ORDER BY artefactplugin,name
2018-09-23 22:00:55 CEST ERROR: relation "blocktype_installed" does not exist at character 15
2018-09-23 22:00:55 CEST STATEMENT: SELECT * FROM "blocktype_installed" ORDER BY artefactplugin,name
2018-09-23 22:00:55 CEST ERROR: relation "blocktype_installed" does not exist at character 15
2018-09-23 22:00:55 CEST STATEMENT: SELECT * FROM "blocktype_installed" ORDER BY artefactplugin,name
2018-09-23 22:00:55 CEST ERROR: relation "blocktype_installed" does not exist at character 15
2018-09-23 22:00:55 CEST STATEMENT: SELECT * FROM "blocktype_installed" ORDER BY artefactplugin,name
2018-09-23 22:00:55 CEST ERROR: relation "blocktype_installed" does not exist at character 15
2018-09-23 22:00:55 CEST STATEMENT: SELECT * FROM "blocktype_installed" ORDER BY artefactplugin,name
2018-09-23 22:00:55 CEST ERROR: relation "artefact_installed" does not exist at character 20
2018-09-23 22:00:55 CEST STATEMENT: SELECT "name" FROM "artefact_installed" WHERE "name" = $1
2018-09-23 22:00:55 CEST ERROR: relation "blocktype_installed" does not exist at character 15
2018-09-23 22:00:55 CEST STATEMENT: SELECT * FROM "blocktype_installed" ORDER BY artefactplugin,name
2018-09-23 22:00:55 CEST ERROR: relation "blocktype_installed" does not exist at character 15
2018-09-23 22:00:55 CEST STATEMENT: SELECT * FROM "blocktype_installed" ORDER BY artefactplugin,name
2018-09-23 22:00:55 CEST ERROR: relation "blocktype_installed" does not exist at character 15
Kind regards
Glenn
]]>Usually, an error message accompanies such a message. Can you please check your error log?
Cheers
Kristina
]]>
COMPONENT OR PLUGIN | FROM VERSION | TO VERSION | INFORMATION |
---|---|---|---|
core | Not installed | 18.04.2 | Successfully installed version 18.04.2 (2018022510) |
firstcoredata | Successfully installed core data | ||
localpreinst | Successfully installed local customisations | ||
artefact.annotation | Not installed | 1.0.0 | Failed to upgrade. |
Does anybody has an idea as to what is going wrong? I've installed Mahara already before without any issues.
I'm using Ubuntu 16.04, postgresql, apache2 and php7
Thanks
Glenn
]]>