Jump to content
jsantari

Upgrade from 2.6.1 to latest 2.8

Recommended Posts

I have a site that I want to update from 2.6.1 to the latest 2.8. Do I need to go to 2.7 first then 2.8?

Share this post


Link to post
Share on other sites
50 minutes ago, jsantari said:

Do I need to go to 2.7 first then 2.8?

No.

Do you have a lot of modules installed?

I would encourage you to upgrade straight to 3.0.98 instead of 2.8.62.

Do it on a dev-copy first, then test if everything still works, and update your modules if necessary.

Some modules may still be labelled as not compatible with v3 - in that case you can try to add PW3 namespaces in the .module file.

You'll maybe encounter some glitches in the update process. If that's the case, here are my usual main two remedies I'd try:

  • delete the contents of site/assets/cache/
  • in the backend: refresh modules + also scroll down to setup > modules, bottom of the page and hit the "re-create static assets" button (or whatever the exact wording is)
  • Like 3

Share this post


Link to post
Share on other sites
1 hour ago, jsantari said:

I have a site that I want to update from 2.6.1 to the latest 2.8. Do I need to go to 2.7 first then 2.8?

Here is the link to Github that tells you how to upgrade your ProcessWire installations:

https://github.com/processwire/processwire

I would follow that guidance, however it wouldn't hurt to try the update on a test/development installation first.

  • Like 1

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Recently Browsing   0 members

    No registered users viewing this page.

  • Similar Content

    • By louisstephens
      So I have been diving into hooks lately, and I am enjoying them thus far. However, I guess I am a bit stumped on how to achieve what I want too. I am trying to set up a hook that would create a new child page when the parent page is saved. However, when you save the parent page a second time, I just need to update the child page without creating multiple child pages. What would be the best way to go about this?
      So after rereading my post, I believe it is a bit vague so I will try to explain more. 
      The Goal:
      Create a page with a template "one". Once the page is created/saved => create a new child page with the template of "two" If the parent is saved anytime after, do nothing to the child page (limit the parent page to one child page) The parent page is really just being used to output content, whereas the child page is being used to pull out the some fields from the parent to be used elsewhere. I might have made this too complicated in my head.
    • By theoretic
      Hi there! And thanks for Processwire which i like very much.
      Got a problem while trying to update from 3.0.65 (with admin theme UIkit ) to 3.0.78 . Tried to do it both via ProcessWireUpgrade module and by copying/replacing the files and dirs manually. In every case i got the problem with UIKit admin theme. The first try to reload any admin page after update gives the following errors:
      Notice: Undefined variable: adminTheme in D:\work\sites\home\sea.dev\webroot\site\modules\AdminThemeUikit\init.php on line 121 Fatal error: Call to a member function get() on null in D:\work\sites\home\sea.dev\webroot\site\modules\AdminThemeUikit\init.php on line 121 It is officially recommended to reload the page several times after update to get the admin interface functional again, but it's not my case. The problem still persists. It's obvious that $adminTheme is not initialized. Reverting back to /wire dir of version 3.0.65 removes the problem. Switching to default admin theme and then updating to 3.0.78 makes the admin interface fully functional -- but switching to UIKit admin theme leads to the error again.
      Will appreciate any help. Thanks in advance!
    • By celfred
      Hello,
      I'm desperately trying to update my website to PW 3.0.62 and I'm facing issues to to module compatibility. I was stuck with Pages2Pdf which I managed to solve bu updating the module from Github, but now it's the Pages Web Service module... and this time, I don't know wht to do
      The Module is found there. But it is quite old and I can't find it in the modules catalogue... and my site is making quite a use of it (I can't think of a way to do otherwise, sorry...)
      After adding the FileCompiler=0 to the module pages, the error I'm stuck with is :
      Fatal error: Class 'WireData' not found in /home/celfred/PlanetAlert/site/modules/ServicePages/ServicePages.module on line 22
      and I have no idea on what to do... I must admit I'm not a programmer but a middle-school teacher... (for your information, here's the site I'm talking about : http://planetalert.tuxfamily.org ) but I'm struggling hard to solve the different issues I have to face and I'm wlling to understand things. I have just spent many hours trying to make 2.8 work on my localhost (and it seems ok ) but I'd like to switch to 3.x to prepare the future
      If anyone had the will to spend a few minutes to try and help me, I would greatly appreciate.
      Thanks in advance !
      If you need more information to understand my problem, feel free to ask.
    • By Salemoche
      Hello

      I've just started my first processwire project and have set the back end to my liking. Upon starting the front end of my site I encountered a very strange problem: The CSS file is not updating.
      I started off and soon the problem occured. I then simply copied the contents of main.css to a new main2.css file, changed the code in the template file, and it worked again. Thinking it was a one time thing I continued, but it didn't take long for the problem to happen again.
      Locally the files are changed and the html code of my project is updating normally, but when I inspect the page, the changes in the CSS file are nowhere to be seen.

      I'm using MAMP to create the local server and Koala to compile my SASS Code.  I'm new to processwire and am still pretty early in my web developer career, nontheless I'm very confused about what's happening, since the problem is only partially occuring in the CSS file and not in the HTML (or php) file.
      Does anyone have an idea as to what the problem could be?
      Thanks in advance
    • By cosmicsafari
      Hi all,
      I'm just trying to update a custom field value for a page but I noticed in the DB that the old value is still there?
      Rather than updating, it appears to create a new record for the updated value and increments the sort value.
      Why is this? Is it not possible to just overwrite the value within the DB using the API?
      For example:
      $pageObject->of(false); $pageObject->customField = "Updated Value"; $pageObject->save(); $pageObject->of(true);  
      I would have expected the value just to be overwritten and persisted to the field table in the database?
      Obviously I am missing something or just not grasping why it works like this?
×
×
  • Create New...