Supporting each other

Community forums

Welcome, Guest
Username: Password: Remember me
Questions on getting Xerte Toolkits installed on your server and questions about authentication and user logins.
  • Page:
  • 1
  • 2

TOPIC:

Upgrade an existing install documentation? 4 years 3 months ago #6803

  • guyver1
  • guyver1's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 5
  • Thank you received: 0
Hi I need to upgrade our current installation from 3.01 to 3.83
Server:
Centos 7
PHP 5.4.16

I did attempt it last night with the following output:
Starting from 8 Updates are being applied to toolkits_data
Current database version - 8

Updating database:

- from version: 8

   (If the update doesn't work, run setup.php?debug=1 to see the detailed error messages and SQL queries.)
Updating to version 8
Adding auto_increment to templatedetails.template_id column - ok true

Updating to version 9
Creating LRS Endpoint settings fields - ok ? true

Updating to version 10
New file MIME types added to the allowed type list: image/jpg, image/bmp, image/svg+xml, application/svg, audio/mp3, video/mpeg, application/ogg, text/rtf

Default allowed MIME type list updated - ok ? true

Updating to version 11
Creating MIME checks field - ok ? true

Updating to version 12
Creating file extension check field - ok ? true

Updating to version 13
Creating file extension blacklist field - ok ? true

Updating to version 14
Creating the ClamAV antivirus check fields - ok ? true

Updating to version 15
Tsugi directory field - ok ? true

Updating to version 16
Tsugi published field added - ok ? true

Tsugi xapi enabled field added - ok ? true

Tsugi xapi endpoint field added - ok ? true

Tsugi xapi key field added - ok ? true

Tsugi xapi secret field added - ok ? true

Tsugi xapi student id mode field added - ok ? true

Updating to version 17 1
DEBUG Query: CREATE TABLE IF NOT EXISTS `grouping` ( `grouping_id` int(11) NOT NULL AUTO_INCREMENT, `grouping_name` char(255) DEFAULT NULL, PRIMARY KEY (`grouping_id`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci , output 1

Creating grouping table - ok ? trueFilling default groupings into groupings table - ok ? true

Updating to version 18
Creating xAPI dashboard settings fields - ok ? true

Updating to version 19
Creating template_parent field in originaltemplatesdetails - ok ? true

Updating to version 20
Tsugi xapi enabled field added - ok ? true

Updating to version 21
Creating dashboard_allowed_links field in templatedetails - ok ? true

Updating to version 22 1
DEBUG Query: CREATE TABLE IF NOT EXISTS `course` ( `course_id` int(11) NOT NULL AUTO_INCREMENT, `course_name` char(255) DEFAULT NULL, PRIMARY KEY (`course_id`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci, output 1

Creating course table - ok ? true

Creating course_freetext_enabled field in sitedetails = ok ? true

Updating to version 23
Creating dashboard_display_options field in templatedetails - ok ? true

Updating to version 24
Creating template_sub_pages field in originaltemplatesdetails - ok ? true

Upgrade complete

Cleanup up files that are really in the way
Removing themes/Nottingham/blackround/responsivetext.css
Removing themes/Nottingham/btnTopPurple/responsivetext.css
Removing themes/Nottingham/darkgrey/responsivetext.css
Removing themes/Nottingham/flatblue/responsivetext.css
Removing themes/Nottingham/flatred/responsivetext.css
Removing themes/Nottingham/flatwhite/responsivetext.css
Removing themes/Nottingham/orangepurple/responsivetext.css
Removing themes/Nottingham/sketch/responsivetext.css
Done

However the user reported the following issues:
1. I can play existing learning objects but when I try to edit them it gets stuck on loading the editing screen.
2. I am unable to create a new learning object. Selecting the Create button has no response.


I have rolled the server back to its original state so its back to 3.01.

i think i may have forgotten to chown the update files to apache apache as i copied all the files to the server as root so all the files were root root. (could it be as simple as this?)

is there an upgrade an existing installation document or can someone put the process here for me please?

Please Inloggen or Create an account to join the conversation.

Upgrade an existing install documentation? 4 years 3 months ago #6804

  • tom
  • tom's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 1286
  • Thank you received: 324
The process is pretty much as you did it:

- Overwrite the files on the server
- Make sure permissions are ok
- run upgrade.php

However, at some point (and I simply don't know when that was) the authentication setting was moved from auth_config.php to the management.php configuration page, so you would need to set the correct authentication in management.php (Site->Authentication settings). Also you need to remove the auth_config.php file if it still exists.

I don't know by heart if php 5.4 is still supported. That's pretty old. Could you please check the apache logs for any php errors?
The following user(s) said Thank You: guyver1

Please Inloggen or Create an account to join the conversation.

Upgrade an existing install documentation? 4 years 3 months ago #6805

  • guyver1
  • guyver1's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 5
  • Thank you received: 0
Thanks for that, i'm attempting the upgrade again tonight so will check those things you mentioned and report back.

Please Inloggen or Create an account to join the conversation.

Upgrade an existing install documentation? 4 years 3 months ago #6806

  • guyver1
  • guyver1's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 5
  • Thank you received: 0
chown'd all the directories and files to apache apache and the upgrade output was different this time:

Starting from 25 Updates are being applied to toolkits_data
Current database version - 25

Database is up to date, nothing to do

Cleanup up files that are really in the way
Removing themes/Nottingham/blackround/responsivetext.css
Removing themes/Nottingham/btnTopPurple/responsivetext.css
Removing themes/Nottingham/darkgrey/responsivetext.css
Removing themes/Nottingham/flatblue/responsivetext.css
Removing themes/Nottingham/flatred/responsivetext.css
Removing themes/Nottingham/flatwhite/responsivetext.css
Removing themes/Nottingham/orangepurple/responsivetext.css
Removing themes/Nottingham/sketch/responsivetext.css
Done


waiting for the user to test and confirm in the morning (fingers crossed)

Please Inloggen or Create an account to join the conversation.

Upgrade an existing install documentation? 4 years 3 months ago #6807

  • tom
  • tom's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 1286
  • Thank you received: 324
Yes, because apparently you did not restore the 3.01 database (which should be fine). That means that the upgrade was already done.

Did you check auth_config.php and authentication settings in the management.php page?

If there are issues tomorrow morning, please check the apache2 log.

Please Inloggen or Create an account to join the conversation.

Upgrade an existing install documentation? 4 years 3 months ago #6808

  • guyver1
  • guyver1's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 5
  • Thank you received: 0
User reports the following:
–can’t edit previously created objects and can’t create new ones

httpd error_log:
[root@preprodxerte httpd]# cat error_log
[Sun Aug 16 06:04:21.569943 2020] [lbmethod_heartbeat:notice] [pid 950] AH02282: No slotmem from mod_heartmonitor
[Sun Aug 16 06:04:22.015546 2020] [mpm_prefork:notice] [pid 950] AH00163: Apache/2.4.6 (CentOS) OpenSSL/1.0.2k-fips PHP/5.4.16 configured -- resuming normal operations
[Sun Aug 16 06:04:22.015583 2020] [core:notice] [pid 950] AH00094: Command line: '/usr/sbin/httpd -D FOREGROUND'
[Tue Aug 18 11:56:59.073147 2020] [mpm_prefork:notice] [pid 950] AH00170: caught SIGWINCH, shutting down gracefully
[Tue Aug 18 11:57:01.223014 2020] [suexec:notice] [pid 9748] AH01232: suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Tue Aug 18 11:57:01.264909 2020] [lbmethod_heartbeat:notice] [pid 9748] AH02282: No slotmem from mod_heartmonitor
[Tue Aug 18 11:57:01.452313 2020] [mpm_prefork:notice] [pid 9748] AH00163: Apache/2.4.6 (CentOS) OpenSSL/1.0.2k-fips PHP/5.4.16 configured -- resuming normal operations
[Tue Aug 18 11:57:01.452363 2020] [core:notice] [pid 9748] AH00094: Command line: '/usr/sbin/httpd -D FOREGROUND'
[Tue Aug 18 20:25:07.825916 2020] [mpm_prefork:notice] [pid 9748] AH00170: caught SIGWINCH, shutting down gracefully
[Wed Aug 19 11:31:01.542703 2020] [suexec:notice] [pid 879] AH01232: suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Wed Aug 19 11:31:01.574067 2020] [lbmethod_heartbeat:notice] [pid 879] AH02282: No slotmem from mod_heartmonitor
[Wed Aug 19 11:31:01.931463 2020] [mpm_prefork:notice] [pid 879] AH00163: Apache/2.4.6 (CentOS) OpenSSL/1.0.2k-fips PHP/5.4.16 configured -- resuming normal operations
[Wed Aug 19 11:31:01.931494 2020] [core:notice] [pid 879] AH00094: Command line: '/usr/sbin/httpd -D FOREGROUND'
[Wed Aug 19 20:48:12.073635 2020] [mpm_prefork:notice] [pid 879] AH00170: caught SIGWINCH, shutting down gracefully
[Wed Aug 19 20:49:36.959955 2020] [suexec:notice] [pid 879] AH01232: suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Wed Aug 19 20:49:37.002286 2020] [lbmethod_heartbeat:notice] [pid 879] AH02282: No slotmem from mod_heartmonitor
[Wed Aug 19 20:49:37.240888 2020] [mpm_prefork:notice] [pid 879] AH00163: Apache/2.4.6 (CentOS) OpenSSL/1.0.2k-fips PHP/5.4.16 configured -- resuming normal operations
[Wed Aug 19 20:49:37.240918 2020] [core:notice] [pid 879] AH00094: Command line: '/usr/sbin/httpd -D FOREGROUND'
[Wed Aug 19 21:00:39.515378 2020] [mpm_prefork:notice] [pid 879] AH00170: caught SIGWINCH, shutting down gracefully
[Wed Aug 19 21:00:57.906430 2020] [suexec:notice] [pid 881] AH01232: suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Wed Aug 19 21:00:57.956896 2020] [lbmethod_heartbeat:notice] [pid 881] AH02282: No slotmem from mod_heartmonitor
[Wed Aug 19 21:00:58.312280 2020] [mpm_prefork:notice] [pid 881] AH00163: Apache/2.4.6 (CentOS) OpenSSL/1.0.2k-fips PHP/5.4.16 configured -- resuming normal operations
[Wed Aug 19 21:00:58.312321 2020] [core:notice] [pid 881] AH00094: Command line: '/usr/sbin/httpd -D FOREGROUND'
[Wed Aug 19 20:25:36.992548 2020] [mpm_prefork:notice] [pid 881] AH00170: caught SIGWINCH, shutting down gracefully
[Wed Aug 19 22:05:54.192140 2020] [suexec:notice] [pid 885] AH01232: suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Wed Aug 19 22:05:54.273230 2020] [lbmethod_heartbeat:notice] [pid 885] AH02282: No slotmem from mod_heartmonitor
[Wed Aug 19 22:05:54.709915 2020] [mpm_prefork:notice] [pid 885] AH00163: Apache/2.4.6 (CentOS) OpenSSL/1.0.2k-fips PHP/5.4.16 configured -- resuming normal operations
[Wed Aug 19 22:05:54.709944 2020] [core:notice] [pid 885] AH00094: Command line: '/usr/sbin/httpd -D FOREGROUND'
[root@preprodxerte httpd]#


Never used this software and I don't appear to have any admin rights within the software from what I can tell so not sure where to start with this

Please Inloggen or Create an account to join the conversation.

  • Page:
  • 1
  • 2
Time to create page: 0.054 seconds
Copyright © 2024 The Xerte Project.
Xerte logo Apereo logo OSI Logo

Search