Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#49 2011-03-28 20:38:59

mrdale
Member
From: Walla Walla
Registered: 2004-11-19
Posts: 2,215
Website

Re: Feedback for the Textpattern 4.4.0 release

what I do to upgrade to 4.4…

svn update

Offline

#50 2011-03-28 20:45:19

maverick
Member
From: Southeastern Michigan, USA
Registered: 2005-01-14
Posts: 976
Website

Re: Feedback for the Textpattern 4.4.0 release

mrdale wrote:

svn update

+1

Offline

#51 2011-03-28 21:13:20

johnstephens
Plugin Author
From: Woodbridge, VA
Registered: 2008-06-01
Posts: 999
Website

Re: Feedback for the Textpattern 4.4.0 release

mrdale wrote:

svn update

Works if you’re using something other than SVN to version control your project, but if your project uses SVN, I imagine you couldn’t install or upgrade using SVN.

Offline

#52 2011-03-29 00:52:19

alan
Member
From: earth
Registered: 2006-04-20
Posts: 14

Re: Feedback for the Textpattern 4.4.0 release

Works fine (r3514), though the extremely verbose diagnostics gave me a start.

Some Textpattern files have been modified:
etc.
etc.
etc.

You are running a development version of Textpattern on a live server.:
etc.
etc.
etc.
etc.
etc.
etc.

Is that normal?

Offline

#53 2011-03-29 10:54:31

zero
Member
From: Lancashire
Registered: 2004-04-19
Posts: 1,470
Website

Re: Feedback for the Textpattern 4.4.0 release

I just found a very simple way to upgrade! I installed some sites with Softaculous – a one-step installer that took seconds. About 36 hours after 4.4.0 was released I received an email from Putt Hosting telling me upgrades were available. It mentioned ‘Softaculous Cron Jobs’ and I had to go to Cpanel > Softaculous > Installations where advice was to backup, so I clicked a button to backup the site and database. Then I just clicked on a little ‘recycle’ type icon next to 4.2.0 and it upgraded to 4.4.0 in seconds, with advice on what error messages I would see and that I needed to login to complete the upgrade. Diagnostics showed that Setup had been copied over and I had to remove that, otherwise a perfect and simple upgrade!


BB6 Band My band
Gud One My blog

Offline

#54 2011-03-29 13:47:44

Gocom
Developer Emeritus
From: Helsinki, Finland
Registered: 2006-07-14
Posts: 4,533
Website

Re: Feedback for the Textpattern 4.4.0 release

alan wrote:

Is that normal?

What are the files in question? Checksums are only calculated for stable releases, and same goes for version number. When using files from dev branch you will get notices about modified files, and the install will be marked as SVN version.

johnstephens wrote:

Works if you’re using something other than SVN to version control your project, but if your project uses SVN, I imagine you couldn’t install or upgrade using SVN.

Yeah, unfortunately just using svn update would just replace .svn files, destroying the working copy.

I personally use automatic-ish (actually really not that automatic) overwriting. Pretty much by just replacing working with an export. Works pretty fine. Altho, if you want actually pull in TXP’s repo (the correct way?), I imagine that the better way is by using svn:externals property, maybe — as it has its own limitations.

Last edited by Gocom (2011-03-29 13:56:38)

Offline

#55 2011-03-29 15:16:59

masa
Member
From: Asturias, Spain
Registered: 2005-11-25
Posts: 1,091

Re: Feedback for the Textpattern 4.4.0 release

I also practise the Dean Method.
My first update went remarkably smooth, no errors or obscure messages of any kind.

Good job, Devs :)

PS: just for reference this was from a 4.3 install with hardly any plugins.

Last edited by masa (2011-04-05 23:12:39)

Offline

#56 2011-03-29 15:19:12

maverick
Member
From: Southeastern Michigan, USA
Registered: 2005-01-14
Posts: 976
Website

Re: Feedback for the Textpattern 4.4.0 release

alan wrote:

Works fine (r3514)

minor note – Txp 4.4 was at 3516 when it was released

  • 3515 was the checksums
  • 3516 was just a message that development was on 4.4.0

Offline

#57 2011-03-30 02:02:58

masa
Member
From: Asturias, Spain
Registered: 2005-11-25
Posts: 1,091

Re: Feedback for the Textpattern 4.4.0 release

OK, did another one going from 4.0.8 > 4.4.0 and had a bit of a fright after login:

Warning: Unknown column 'user_name' in 'where clause' select name, val from txp_prefs where prefs_id=1 AND user_name='' in /users/home/myname/domains/mysite.com/web/public/textpattern/lib/txplib_db.php on line 89

Notice: Undefined variable: language in /users/home/myname/domains/mysite.com/web/public/textpattern/index.php on line 65

Warning: Unknown column 'user_name' in 'where clause' select name, val from txp_prefs where prefs_id=1 AND user_name='martin' in /users/home/myname/domains/mysite.com/web/public/textpattern/lib/txplib_db.php on line 89

Warning: Unknown column 'user_name' in 'where clause' select name, val from txp_prefs where prefs_id=1 AND user_name='' in /users/home/myname/domains/mysite.com/web/public/textpattern/lib/txplib_db.php on line 89

Notice: Undefined variable: gmtoffset in /users/home/myname/domains/mysite.com/web/public/textpattern/update/_to_4.2.0.php on line 41

I clicked on Diagnostics and all was fine again and the site is working as before.

Installed plugins:

  • bot_show_image
  • cbs_category_list
  • chh_if_data
  • ebl-image-edit
  • ied_hide_in_admin
  • jmd_sitemap
  • lam_browse_by
  • rss_thumbpop
  • sed_plugin_library
  • sed_section_fields
  • tame_privs tameboy
  • upm_image
  • upm_img_popper
  • wet_article_thumb
  • zem_contact_lang
  • zem_contact_reborn

Offline

#58 2011-03-30 04:02:43

Gocom
Developer Emeritus
From: Helsinki, Finland
Registered: 2006-07-14
Posts: 4,533
Website

Re: Feedback for the Textpattern 4.4.0 release

masa wrote:

OK, did another one going from 4.0.8 > 4.4.0 and had a bit of a fright after login:

Normal, nothing to worry about. Updater is ran during first log in. From README.txt:

NOTE: Upgrades from versions below 4.2.0 will present this warning upon your very first login to the admin-side: Warning: Unknown column ‘user_name’ in ‘where clause’ select name, val from txp_prefs where prefs_id=1 AND user_name=’‘ in /path/to/your/site/textpattern/lib/txplib_db.php on line xx This is expected behaviour for the very first login after an upgrade. Every further move in the admin side must not throw any error message.

Offline

#59 2011-03-30 08:17:35

gaekwad
Server grease monkey
From: People's Republic of Cornwall
Registered: 2005-11-19
Posts: 4,137
GitHub

Re: Feedback for the Textpattern 4.4.0 release

On the TXP release page, the release notes link currently points to the 4.3.0 release notes

This link:

http://textpattern.com/weblog/349/textpattern-cms-430-released

should be switched to:

http://textpattern.com/weblog/355/textpattern-cms-440-released-focus-on-security

I appreciate it’s not strictly related to the release content, but figured someone on the docs side of things might want to know.

Thanks in advance to everyone involved in 4.4.0!

Last edited by gaekwad (2011-03-30 08:18:17)

Offline

#60 2011-03-30 08:22:32

wet
Developer Emeritus
From: Schoerfling, Austria
Registered: 2005-06-06
Posts: 3,323
Website Mastodon

Re: Feedback for the Textpattern 4.4.0 release

Thanks, fixed.

Offline

Board footer

Powered by FluxBB