HTML Logo by World Wide Web Consortium ( Click to learn more about our commitment to accessibility and standards.

Moving forward with Composr

ocPortal has been relaunched as Composr CMS. ocPortal 9 is superseded by Composr 10.

Head over to for our new site, and to our migration roadmap. Existing ocPortal member accounts have been mirrored.

Recent upgrade problems on v9 patch releases

Login / Search

 [ Join | More ]
 Add topic 
Item has a rating of 5 (Liked by sholzy)  
#93778 (In Topic #18728)

This last week we've had a few upgrade problems come up. This topic will document them.

1) "Connection interrupted when downloading" error

You might get this error when clicking the "Launch upgrader" button. It is referring to a failure to download a very small version-info file from the server, and is an intermittent bug that only affects some servers. It is caused by a problem in ocPortal's HTTP downloader.

You can workaround by launching the upgrader manually from the tools menu, and generating the upgrade TAR URL manually from the generation tool in the news post.

Or, this fix should solve it:
» Download: files2.php (39 Kb, 119 downloads so far)

2) Not putting in FTP info leading to confusion

If you don't put in FTP info on the login screen of the upgrader, or you put in wrong info and ignore the errors, you may have a problem during extraction. FTP info is only needed on non-"SuExec" servers, which fortunately fewer people have nowadays – so this only affects those users.

The problem manifests itself with you going to extract and thinking you did it right, but actually nothing having changed. This is because file permission errors were showing at the top of the upgrade extraction frame, but ocPortal kept automatically scrolling them out of view. If you scroll up you'll see them – and the resolution is to ensure you give FTP details correctly.

3) Addons partially reinstalling

If you upgraded originally from v8 or earlier, the imports/mods directory was renamed to imports/addons. You should ideally move imports/mods/*.tar to imports/addons/, otherwise the upgrader won't recognise that an addon was uninstalled as opposed to being new - and start putting files back. This may lead to strange errors on your site, including critical ones.

If you accidentally ran into this problem without realising the tar files need moving, the resolution for '4' below will solve it as the problem is equivalent.
View topic: What to do if you accidentally upload the contents of an upgrade TAR manually -

4) Accidentally manually uploading addon tar contents

If you upload the contents of an upgrade TAR manually, ocPortal won't be able to filter the files for you. If you've uninstalled addons you'll suddenly be restoring all the addon-registry files for all addons and files from uninstalled addons that have had bug fixes to them. This will lead to an inconsistent state, i.e. lots of partially installed addons.
A resolution is given in this topic:
View topic: What to do if you accidentally upload the contents of an upgrade TAR manually -

Become a fan of Composr on Facebook or add me as a friend. Add me on on Twitter. Support me on Patreon
Was I helpful?
  • If not, please let us know how we can do better (please try and propose any bigger ideas in such a way that they are fundable and scalable).
  • If so, please let others know about Composr whenever you see the opportunity or support me on Patreon.
  • If my reply is too Vulcan or expressed too much in business-strategy terms, and not particularly personal, I apologise. As a company & project maintainer, time is very limited to me, so usually when I write a reply I try and make it generic advice to all readers. I'm also naturally a joined-up thinker, so I always express my thoughts in combined business and technical terms. I recognise not everyone likes that, don't let my Vulcan-thinking stop you enjoying Composr on fun personal projects.
  • If my response can inspire a community tutorial, that's a great way of giving back to the project as a user.
Back to the top
There are too many online users to list.
Control functions:

Quick reply   Contract

Your name:
Your message: