Beta 6.1 Updating errors

SteveX
SteveX
@ultrajam
7 years ago
2,584 posts
I have updated to the Beta on a Jamroom hosted test site, looking forward to some of these changes - Thanks!

Updated modules to current versions then added the Beta marketplace info and updated the core. The update hung with this in the error log:
Quote:
[11-Apr-2017 19:14:18 Europe/Dublin] PHP Fatal error: Call to undefined function jrCore_db_delete_table_column() in /home/jamroom/sites/jam.ultrajam.net/public_html/modules/jrCore-release-6.1.0b1/schema.php on line 385 [1]

Reran the update and it completed quickly.

Updated all modules, but then ended up on a white screen at this url:
http://jamultrajamnet.jamroomhosting.com/marketplace/validate_modules/bundle

Errors in the log:
Quote: [11-Apr-2017 19:14:18 Europe/Dublin] PHP Fatal error: Call to undefined function jrCore_db_delete_table_column() in /home/jamroom/sites/jam.ultrajam.net/public_html/modules/jrCore-release-6.1.0b1/schema.php on line 385 [1]
[11-Apr-2017 19:21:29 Europe/Dublin] PHP Warning: rename(/home/jamroom/sites/jam.ultrajam.net/public_html/data/cache/jrMarket/jrCore,/home/jamroom/sites/jam.ultrajam.net/public_html/modules/jrCore-release-6.1.0b1): Directory not empty in /home/jamroom/sites/jam.ultrajam.net/public_html/modules/jrMarket-release-1.4.5/include.php on line 981 [1]
[11-Apr-2017 19:22:29 Europe/Dublin] PHP Fatal error: Cannot redeclare jruser_quota_config() in /home/jamroom/sites/jam.ultrajam.net/public_html/modules/jrUser-release-2.2.0b1/quota.php on line 47 [1]
[11-Apr-2017 19:22:50 Europe/Dublin] PHP Warning: rename(/home/jamroom/sites/jam.ultrajam.net/public_html/data/cache/jrMarket/jrUser,/home/jamroom/sites/jam.ultrajam.net/public_html/modules/jrUser-release-2.2.0b1): Directory not empty in /home/jamroom/sites/jam.ultrajam.net/public_html/modules/jrMarket-release-1.5.0b1/include.php on line 992 [1]
[11-Apr-2017 19:22:53 Europe/Dublin] PHP Warning: rename(/home/jamroom/sites/jam.ultrajam.net/public_html/data/cache/jrMarket/jrImage,/home/jamroom/sites/jam.ultrajam.net/public_html/modules/jrImage-release-2.0.0b1): Directory not empty in /home/jamroom/sites/jam.ultrajam.net/public_html/modules/jrMarket-release-1.5.0b1/include.php on line 992 [1]

All seems fine now that it is installed.





--
¯\_(ツ)_/¯ Education, learning resources, TEL, AR/VR/MR, CC licensed content, panoramas, interactive narrative, sectional modules (like jrDocs), lunch at Uni of Bristol. Get in touch if you share my current interests or can suggest better :)

updated by @ultrajam: 08/14/17 10:20:22AM
brian
@brian
7 years ago
10,148 posts
Did you manually update or was this through the marketplace? The function(jrCore_db_delete_table_column) is defined in the lib/mysql.php file, so this appears that the core schema upgrade was run BEFORE the file was updated, but that doesn't make sense.

I've not seen this on sites I've updated to 6.1, so I'm not sure where to look on this one, but I can probably update the schema.php file to check for that function before running it (since it is a 6.1 function).


--
Brian Johnson
Founder and Lead Developer - Jamroom
https://www.jamroom.net
SteveX
SteveX
@ultrajam
7 years ago
2,584 posts
Hi Brian

I updated via the marketplace, but hadn't updated the site for a while and didn't run the integrity check after bringing it up to date.

I'll try another site later and see if that happens again.


--
¯\_(ツ)_/¯ Education, learning resources, TEL, AR/VR/MR, CC licensed content, panoramas, interactive narrative, sectional modules (like jrDocs), lunch at Uni of Bristol. Get in touch if you share my current interests or can suggest better :)
brian
@brian
7 years ago
10,148 posts
Thanks Steve - if you can, take note of the version you're upgrading from so I can check it on this end. I would suspect an old version of the marketplace module is likely to blame.


--
Brian Johnson
Founder and Lead Developer - Jamroom
https://www.jamroom.net
SteveX
SteveX
@ultrajam
7 years ago
2,584 posts
On another site ( http://ultrabubblecom.jamroomhosting.com) I updated to the lastest stable (from 6.0.0b7), then ran the integrity check, then added the new beta marketplace credentials.

Ran the marketplace update for the core, but the core reappeared.

Quote: [11-Apr-2017 19:07:18 UTC] PHP Fatal error: require_once(): Failed opening required '/home/jamroom/sites/ultrabubble.com/public_html/modules/jrCore/lib/form_session.php' (include_path='.:/usr/share/php:/usr/share/pear') in /home/jamroom/sites/ultrabubble.com/public_html/modules/jrCore-release-6.1.0b1/include.php on line 597 [1]
[11-Apr-2017 20:07:23 Europe/Dublin] PHP Fatal error: Cannot redeclare jrcore_dashboard_panels() in /home/jamroom/sites/ultrabubble.com/public_html/modules/jrCore-release-6.1.0b1/lib/view.php on line 4158 [7]

Ran the update again but the site now errors with a white page.


--
¯\_(ツ)_/¯ Education, learning resources, TEL, AR/VR/MR, CC licensed content, panoramas, interactive narrative, sectional modules (like jrDocs), lunch at Uni of Bristol. Get in touch if you share my current interests or can suggest better :)
SteveX
SteveX
@ultrajam
7 years ago
2,584 posts
Also these in the logs via sftp
Quote: [11-Apr-2017 19:08:32 UTC] PHP Fatal error: Cannot redeclare jrcore_item_order_button() in /home/jamroom/sites/ultrabubble.com/public_html/modules/jrCore/lib/skin.php on line 1243
[11-Apr-2017 19:08:32 UTC] PHP Fatal error: Cannot redeclare jrcore_form_create_session() in /home/jamroom/sites/ultrabubble.com/public_html/modules/jrCore-release-6.1.0b1/lib/form_session.php on line 74



--
¯\_(ツ)_/¯ Education, learning resources, TEL, AR/VR/MR, CC licensed content, panoramas, interactive narrative, sectional modules (like jrDocs), lunch at Uni of Bristol. Get in touch if you share my current interests or can suggest better :)
brian
@brian
7 years ago
10,148 posts
That looks like the upgrade was only partial - the jrCore_form_create_session function was moved into a separate form_session.php library. Is this on your hosted server? I will log in and check it out.


--
Brian Johnson
Founder and Lead Developer - Jamroom
https://www.jamroom.net
SteveX
SteveX
@ultrajam
7 years ago
2,584 posts
It is on my hosted server: http://ultrabubblecom.jamroomhosting.com

It's only a test site, nothing which can't be deleted, so feel free to try whatever you like.


--
¯\_(ツ)_/¯ Education, learning resources, TEL, AR/VR/MR, CC licensed content, panoramas, interactive narrative, sectional modules (like jrDocs), lunch at Uni of Bristol. Get in touch if you share my current interests or can suggest better :)
brian
@brian
7 years ago
10,148 posts
OK I have that fixed on your site - just needed caches to be reset. I've pushed an updated Core 6.1.0b1 that should be a bit smoother upgrade going forward. Let me know if you see any more issues.

Thanks!


--
Brian Johnson
Founder and Lead Developer - Jamroom
https://www.jamroom.net
SteveX
SteveX
@ultrajam
7 years ago
2,584 posts
I just upgraded a similar test site, emptied the caches before running the integrity check and it worked fine. :)


--
¯\_(ツ)_/¯ Education, learning resources, TEL, AR/VR/MR, CC licensed content, panoramas, interactive narrative, sectional modules (like jrDocs), lunch at Uni of Bristol. Get in touch if you share my current interests or can suggest better :)
SteveX
SteveX
@ultrajam
7 years ago
2,584 posts
I have another similar test site running 5.3.6.

Shall I try upgrading that now or save it for the 6.5 beta :)


--
¯\_(ツ)_/¯ Education, learning resources, TEL, AR/VR/MR, CC licensed content, panoramas, interactive narrative, sectional modules (like jrDocs), lunch at Uni of Bristol. Get in touch if you share my current interests or can suggest better :)
brian
@brian
7 years ago
10,148 posts
SteveX:
I have another similar test site running 5.3.6.

Shall I try upgrading that now or save it for the 6.5 beta :)

Is it a "live" site? If not - go for it and let me know. It should be good :)


--
Brian Johnson
Founder and Lead Developer - Jamroom
https://www.jamroom.net
SteveX
SteveX
@ultrajam
7 years ago
2,584 posts
Did it and it seemed fine, but ended up with a white page at the end of the procedure.

This is the hosted site: http://ultrajamnet.jamroomhosting.com/

I screencaptured it. 4.5 minutes long (319MB) but no amusing commentary and no surprise ending cos I just told you what happened. Do you still want to see it? I can sftp it up to a hosted site if you want.


--
¯\_(ツ)_/¯ Education, learning resources, TEL, AR/VR/MR, CC licensed content, panoramas, interactive narrative, sectional modules (like jrDocs), lunch at Uni of Bristol. Get in touch if you share my current interests or can suggest better :)
SteveX
SteveX
@ultrajam
7 years ago
2,584 posts
You'll probably jsut ffwd to the end though :(


--
¯\_(ツ)_/¯ Education, learning resources, TEL, AR/VR/MR, CC licensed content, panoramas, interactive narrative, sectional modules (like jrDocs), lunch at Uni of Bristol. Get in touch if you share my current interests or can suggest better :)
brian
@brian
7 years ago
10,148 posts
Same thing there - had to reset the cache in the jr_jrcore_cache table. Note that newer versions of the Marketplace module are better at doing that, so you should be good going forward. Note that you also could run the "repair.php" file (renamed from repair.php.html) and that would have fixed this up as well.

Thanks!


--
Brian Johnson
Founder and Lead Developer - Jamroom
https://www.jamroom.net
SteveX
SteveX
@ultrajam
7 years ago
2,584 posts
I'll do that next time then, although I think I've run out of v5 sites to upgrade now... or maybe not...

I'll put that Voila_capture masterpiece into the trash ;)


--
¯\_(ツ)_/¯ Education, learning resources, TEL, AR/VR/MR, CC licensed content, panoramas, interactive narrative, sectional modules (like jrDocs), lunch at Uni of Bristol. Get in touch if you share my current interests or can suggest better :)

updated by @ultrajam: 04/11/17 02:01:35PM
gary.moncrieff
gary.moncrieff
@garymoncrieff
7 years ago
865 posts
Just thought I'd add this I have noticed updates getting hung up if I click update all, would make it's way though some and then hang, refreshing still shows all updates to be installed, however installing individually updates one by one works fine, everything is updated to latest version including all beta releases.

Error log for today shows the following.

on line 112 [1]
[15-May-2017 22:26:24 Europe/Dublin] PHP Fatal error: Cannot redeclare jrprivatenote_quota_config() in /home/jamroom/sites/domain/public_html/modules/jrPrivateNote-release-1.4.10/quota.php on line 44 [1]
[15-May-2017 22:42:45 Europe/Dublin] PHP Warning: rename(/home/jamroom/sites/domain/public_html/data/cache/jrMarket/jrPrivateNote,/home/jamroom/sites/domain/public_html/modules/jrPrivateNote-release-1.4.10): Directory not empty in /home/jamroom/sites/domain/public_html/modules/jrMarket-release-1.5.0b1/include.php on line 992 [1]
[15-May-2017 22:42:51 Europe/Dublin] PHP Warning: rename(/home/jamroom/sites/domain/public_html/data/cache/jrMarket/jrImage,/home/jamroom/sites/domain/public_html/modules/jrImage-release-2.0.0b2): Directory not empty in /home/jamroom/sites/domain/public_html/modules/jrMarket-release-1.5.0b1/include.php on line 992 [1]

updated by @garymoncrieff: 05/15/17 02:52:31PM

Tags