WebsiteBaker Logo
  • *
  • Templates
  • Help
  • Add-ons
  • Download
  • Home
*
Welcome, Guest. Please login or register.

Login with username, password and session length
 

News


WebsiteBaker 2.13.6 is now available!


Will it continue with WB? It goes on! | Geht es mit WB weiter? Es geht weiter!
https://forum.websitebaker.org/index.php/topic,32340.msg226702.html#msg226702


The forum email address board@websitebaker.org is working again
https://forum.websitebaker.org/index.php/topic,32358.0.html


R.I.P Dietmar (luisehahne) and thank you for all your valuable work for WB
https://forum.websitebaker.org/index.php/topic,32355.0.html


* Support WebsiteBaker

Your donations will help to:

  • Pay for our dedicated server
  • Pay for domain registration
  • and much more!

You can donate by clicking on the button below.


  • Home
  • Help
  • Search
  • Login
  • Register

  • WebsiteBaker Community Forum »
  • WebsiteBaker Support (2.12.x) »
  • General Help & Support »
  • Upgrading 2.12.1 to 2.12.2
  • Print
Pages: [1]   Go Down

Author Topic: Upgrading 2.12.1 to 2.12.2  (Read 6283 times)

Offline richwingerter

  • Posts: 69
Upgrading 2.12.1 to 2.12.2
« on: October 23, 2019, 09:42:04 PM »
I have 2.12.1 installed and it is giving me an error message when a new user tries to register. In an effort to fix this problem, I want to upgrade to 2.12.2.

I checked a bunch of the documentation:

  • https://forum.WebsiteBaker.org/index.php/topic,31528.0.html
  • https://help.WebsiteBaker.org/en/userguide/installation/prior-to-installation.php
  • DOCU/README_EN.md

This leaves me very uncertain the correct procedure to do the upgrade.

I have 2.12.1 installed in a directory, call it /home/admin/WB. That directory has subdirectories, like account, admin, etc.

I unzipped WebsiteBaker-2_12_2.zip and created WebsiteBaker-2_12_2.tar.gz from the directory structure, on my Windows system. I uploaded it to the production (Linux) server and tested. It gives me a wb directory with all the 2.12.2 files in their proper directory structure.

Should I delete the existing WB files in /home/admin/WB and then extract the files from this tar.gz file into it, so that /home/admin/WB has the new, 2.12.2 files, and then run upgrade_script.php (which would be the one coming from the 2.12.2 distribution)? If not, what's the best way to upgrade?

Thank you.

Logged

Offline dbs

  • Betatester
  • **
  • Posts: 8914
  • Gender: Male
  • tioz4ever
    • WebsiteBaker - jQuery-Plugins - Module - Droplets - Tests
Re: Upgrading 2.12.1 to 2.12.2
« Reply #1 on: October 23, 2019, 10:46:12 PM »
Hi, is the word "delete" somewhere in the upgrade instructions?
Why you want delete something?
You want delete also your images in media and also your template inclusive all changes?

Extract your tar.gz in home/admin/WB.
Login as user with id 1.
click the upgrade link.

You can help us to understand what is unclear in the upgrade instructions.
Logged
https://onkel-franky.de

Offline richwingerter

  • Posts: 69
Re: Upgrading 2.12.1 to 2.12.2
« Reply #2 on: October 24, 2019, 07:21:40 AM »
If I extract it in /home/admin/WB, it will very likely overwrite the existing files. That would surely delete some of them, and possibly leave others. Is that what's intended? It seems like that would create an enormous mess, with files for the new version intermixed with files from the old one. Is that how others are upgrading?
Logged

Offline jacobi22

  • Betatester
  • **
  • Posts: 5920
Re: Upgrading 2.12.1 to 2.12.2
« Reply #3 on: October 24, 2019, 08:17:22 AM »
Quote
Is that how others are upgrading?
Yes, it is!

Files that are no longer needed will automatically delete by the upgrade script later
Logged

Offline dbs

  • Betatester
  • **
  • Posts: 8914
  • Gender: Male
  • tioz4ever
    • WebsiteBaker - jQuery-Plugins - Module - Droplets - Tests
Re: Upgrading 2.12.1 to 2.12.2
« Reply #4 on: October 24, 2019, 08:18:50 AM »
You know now the upgrade instructions and you ask "Is that how others are upgrading?".
New WB versions have not many new files, but many changed files. The upgrade script delete some of old not needed files.

Yes, you can delete self all WB files before uploading (except config.php, your images in media, your template).
Don't forget step 1: make a backup of database and files.
Logged
https://onkel-franky.de

Online hgs

  • WebsiteBaker Org e.V.
  • **
  • Posts: 1883
    • EFG MG
Re: Upgrading 2.12.1 to 2.12.2
« Reply #5 on: October 24, 2019, 08:23:52 AM »
This method has already worked 100 times successfully.
Quote
Short version:
- make a backup of all files and the database (!important)

 +Recommanded way: (fast & safe)
 - download WB ZIP package & unzip.php.zip
 - rename unzip.php.zip to unzip.php
 - upload WB ZIP package & unzip.php to your WB root folder (where the config.php is located)
 - run unzip.php in your browser (https://yourdomain.com/unzip.php) (please replace yourdomain.com with your own domain)
 - login in your backend as Super-Admin (admin with id 1) and run upgrade-script via upgrade link or via wb-info panel (i-button)

The unzip.php and the WB ZIP delete themselves after the successful execution of the unzip.php.
Logged
LG Harald

"Fange nie an, aufzuhören - höre nie auf, anzufangen." Marcus Tullius Cicero (106-43 v.Chr.)

"Never begin to stop - never stop beginning." Marcus Tullius Cicero (106-43 BC)

Offline richwingerter

  • Posts: 69
Re: Upgrading 2.12.1 to 2.12.2
« Reply #6 on: October 31, 2019, 04:28:42 AM »
I unpacked the tar file of the 2.12.2 distribution into the directory where I had 2.12.1. Then, I logged into the back end, as Luisehahne suggested, as admin (user ID 1). This gave me a button to press to start the upgrade.

I selected options (in this case, show upgrade details and confirm back up options), and clicked the "Start upgrade script" button. It finished without any evident error. I got an error when I went to the front end, but that's because I've added some functions and they were not represented in the new files. I added those and the front end came up.

I was able to add a new user without getting an error, which was the reason I originally went through this upgrade. I have a number of other issues, but I'll put them in their own messages.
Logged

Offline dbs

  • Betatester
  • **
  • Posts: 8914
  • Gender: Male
  • tioz4ever
    • WebsiteBaker - jQuery-Plugins - Module - Droplets - Tests
Re: Upgrading 2.12.1 to 2.12.2
« Reply #7 on: October 31, 2019, 03:36:01 PM »
What do you mean with this post?
Thanks for upgrade help?
You're welcome.
Logged
https://onkel-franky.de

Offline richwingerter

  • Posts: 69
Re: Upgrading 2.12.1 to 2.12.2
« Reply #8 on: November 01, 2019, 01:32:30 AM »
I mean a little more than that, dbs. I mean not just thank you for the help but also that upgrading was successful at fixing the original problem, which was that adding a new user resulted in an error message. Now it doesn't.
Logged

  • Print
Pages: [1]   Go Up
  • WebsiteBaker Community Forum »
  • WebsiteBaker Support (2.12.x) »
  • General Help & Support »
  • Upgrading 2.12.1 to 2.12.2
 

  • SMF 2.0.19 | SMF © 2017, Simple Machines
  • XHTML
  • RSS
  • WAP2