Advertisement:

Author Topic: Download for nightly(github) smf2.1  (Read 14468 times)

Offline landyvlad

  • Sr. Member
  • ****
  • Posts: 863
  • Gender: Male
    • Michael Reed on Facebook
    • GSX1400 Owners ORG
Re: Download for nightly(github) smf2.1
« Reply #20 on: June 26, 2018, 09:07:06 AM »
Sorry for what may be a stupid question - should this just work the same way as a usual upgrade file via the package manager?
I ask because I tried that and got the error
Quote
package upload failed due to the following error:
"Although the package was downloaded to the server it appears to be empty. Please check the Packages directory, and the "temp" sub-directory are both writable."
Please do not PM, IM or Email me with questions on astrophysics or theology.  You will get better and faster responses by asking homeless people in the street. Thank you.

To paraphrase Kindred: "There are no technical solutions to social problems."

No hack nor blackhats, just persistent asshats.

Offline Illori

  • Project Manager
  • SMF Legend
  • *
  • Posts: 51,429
Re: Download for nightly(github) smf2.1
« Reply #21 on: June 26, 2018, 09:08:24 AM »
no you cannot use the package manager for this upgrade, you need to override all files and run the upgrade script.

do make sure this is NOT on your live install.

Offline landyvlad

  • Sr. Member
  • ****
  • Posts: 863
  • Gender: Male
    • Michael Reed on Facebook
    • GSX1400 Owners ORG
Re: Download for nightly(github) smf2.1
« Reply #22 on: June 26, 2018, 09:26:30 AM »
no you cannot use the package manager for this upgrade, you need to override all files and run the upgrade script.

do make sure this is NOT on your live install.

OK is there a guide for idiots step by step of what to do?

Yep definitely NOT my live (2.0.x) forum.

Please do not PM, IM or Email me with questions on astrophysics or theology.  You will get better and faster responses by asking homeless people in the street. Thank you.

To paraphrase Kindred: "There are no technical solutions to social problems."

No hack nor blackhats, just persistent asshats.

Offline shawnb61

  • Developer
  • SMF Hero
  • *
  • Posts: 1,523
    • sbulen on GitHub
Re: Download for nightly(github) smf2.1
« Reply #23 on: June 26, 2018, 10:23:36 AM »
stupid question.
I have a test install of 2.1beta3 - can I use these upgrades to go to beta4?

Beta-to-beta updates work pretty well.  Your code gets updated & your database structures are updated properly.

There is one caveat:  If you scan the upgrade code (especially in other/upgrade_2-1_mysql.sql) you'll see that parts of the code will not allow themselves to be executed twice.  If there are fixes in those areas, you will not get the benefit.   

Bottom line is that a beta-to-beta upgrade gets you 99% of the way there but you may miss out on some fixes.  Maybe I'm a little OCD on this, but I always execute the full upgrade from 2.0.x to 2.1. 
Address the process rather than the outcome.  Then, the outcome becomes more likely.   - Fripp

Offline shawnb61

  • Developer
  • SMF Hero
  • *
  • Posts: 1,523
    • sbulen on GitHub
Re: Download for nightly(github) smf2.1
« Reply #24 on: June 26, 2018, 10:29:47 AM »
OK is there a guide for idiots step by step of what to do?

I follow these steps:
 1) Back everything up...
 2) Delete all folders & files except:
        - attachments
        - avatars
        - smileys
        - custom_avatar    (<= make sure your custom avatar folder uses this name!)
        - any mod-specific folders for mods you want to keep, if you have any (e.g., /downloads)
        - Settings.php
        - (Some theme developers like keeping the Themes folder around, too...)
  3) Use the nightly upgrade .zip from the start of this thread.  Extract the files on top of your remaining files above. 
  4) Run upgrade.php in your forum root; some folks use ftp, but I simply use the browser, works fine

***  If you are using a copy of your prod database, don't forget to disable things like notification-related scheduled tasks in your test environment, or your production users might see icky test data.  *** 

Hope this helps,
Address the process rather than the outcome.  Then, the outcome becomes more likely.   - Fripp

Offline Illori

  • Project Manager
  • SMF Legend
  • *
  • Posts: 51,429
Re: Download for nightly(github) smf2.1
« Reply #25 on: June 26, 2018, 10:32:29 AM »
you should also not delete Settings_bak.php either.

Offline njtweb

  • Sr. Member
  • ****
  • Posts: 964
Re: Download for nightly(github) smf2.1
« Reply #26 on: June 26, 2018, 11:33:15 AM »
See if I understand this accurately. If I have a 2.1 install I can re-install practically every day with a new upgrade package on Github?

Offline shawnb61

  • Developer
  • SMF Hero
  • *
  • Posts: 1,523
    • sbulen on GitHub
Re: Download for nightly(github) smf2.1
« Reply #27 on: June 26, 2018, 12:11:56 PM »
See if I understand this accurately. If I have a 2.1 install I can re-install practically every day with a new upgrade package on Github?

Yes, given the minor caveat noted above.
Address the process rather than the outcome.  Then, the outcome becomes more likely.   - Fripp

Offline shawnb61

  • Developer
  • SMF Hero
  • *
  • Posts: 1,523
    • sbulen on GitHub
Re: Download for nightly(github) smf2.1
« Reply #28 on: June 26, 2018, 12:13:28 PM »
you should also not delete Settings_bak.php either.

Illori - Requiring the backup around was an old bug that has been fixed.   See PR #4180 up on Github. 
Address the process rather than the outcome.  Then, the outcome becomes more likely.   - Fripp

Offline Illori

  • Project Manager
  • SMF Legend
  • *
  • Posts: 51,429
Re: Download for nightly(github) smf2.1
« Reply #29 on: June 26, 2018, 12:15:35 PM »
ah nice, but does not hurt to leave it behind if you have it.

Offline landyvlad

  • Sr. Member
  • ****
  • Posts: 863
  • Gender: Male
    • Michael Reed on Facebook
    • GSX1400 Owners ORG
Re: Download for nightly(github) smf2.1
« Reply #30 on: June 26, 2018, 10:01:05 PM »
OK thanks. I'll give it a try over the weekend.
Please do not PM, IM or Email me with questions on astrophysics or theology.  You will get better and faster responses by asking homeless people in the street. Thank you.

To paraphrase Kindred: "There are no technical solutions to social problems."

No hack nor blackhats, just persistent asshats.

Offline landyvlad

  • Sr. Member
  • ****
  • Posts: 863
  • Gender: Male
    • Michael Reed on Facebook
    • GSX1400 Owners ORG
Re: Download for nightly(github) smf2.1
« Reply #31 on: June 29, 2018, 07:47:06 AM »
Upgrade 2.1 B3 to 2.1B4 succesful - thanks all !
Please do not PM, IM or Email me with questions on astrophysics or theology.  You will get better and faster responses by asking homeless people in the street. Thank you.

To paraphrase Kindred: "There are no technical solutions to social problems."

No hack nor blackhats, just persistent asshats.

Offline albertlast

  • Development Contributor
  • Full Member
  • *
  • Posts: 589
Re: Download for nightly(github) smf2.1
« Reply #32 on: September 26, 2018, 01:13:25 PM »
From my pov would be nice,
when smf provide no nightly download,
that this topic get sticky.

Offline albertlast

  • Development Contributor
  • Full Member
  • *
  • Posts: 589
Re: Download for nightly(github) smf2.1
« Reply #33 on: September 27, 2018, 12:17:05 PM »
Https access got fixed.

Offline albertlast

  • Development Contributor
  • Full Member
  • *
  • Posts: 589
Re: Download for nightly(github) smf2.1
« Reply #34 on: October 13, 2018, 02:16:43 AM »
The nightly download got somehow "stuck" on an old version,
this issue fixed now.

Offline albertlast

  • Development Contributor
  • Full Member
  • *
  • Posts: 589
Re: Download for nightly(github) smf2.1
« Reply #35 on: December 31, 2018, 09:25:09 AM »
Added db_last_error.php to install and upgrade zip

Offline landyvlad

  • Sr. Member
  • ****
  • Posts: 863
  • Gender: Male
    • Michael Reed on Facebook
    • GSX1400 Owners ORG
Re: Download for nightly(github) smf2.1
« Reply #36 on: January 21, 2019, 05:17:22 AM »
Quick question - I have a very small test forum for 2.1 and am trying to upgrade to latest version exactly as per provided instructions earlier in this thread.
Running upgrade.php
Time elapsed has 'stopped' at 0 mins, 37 seconds.
The green bar for "Overall Progress" seems to have stopped at 63%
The orange bar for 'Step' progress is sitting at 100%
Progress is showing as Step 4. Database changes.

it's been sitting like this for about 5 minutes so far....

Obviously a large database would take a long time but in this instance my database is only 6.36 MB. Yep, megabytes.

EDIT:  I just ran it again and selected continue, this time it went almost straight away to success. :)  Cheers
Please do not PM, IM or Email me with questions on astrophysics or theology.  You will get better and faster responses by asking homeless people in the street. Thank you.

To paraphrase Kindred: "There are no technical solutions to social problems."

No hack nor blackhats, just persistent asshats.

Offline plintus

  • Newbie
  • *
  • Posts: 4
Re: Download for nightly(github) smf2.1
« Reply #37 on: February 07, 2019, 09:04:10 AM »
Please tell me whether I should upgrade to the official version 2.1RC or the latest nightly build posted here is the same?

Offline Aleksi "Lex" Kilpinen

  • A Peculiar Finn
  • Lead Support Specialist
  • SMF Super Hero
  • *
  • Posts: 18,695
  • Gender: Male
  • Don't worry, I'm n00b friendly
    • Aleksi.Kilpinen on Facebook
    • LexArma on GitHub
    • aleksi-kilpinen on LinkedIn
    • There's No Place Like 127.0.0.1
Re: Download for nightly(github) smf2.1
« Reply #38 on: February 07, 2019, 09:15:45 AM »
Please tell me whether I should upgrade to the official version 2.1RC or the latest nightly build posted here is the same?
Depends on you really, they may not be the same. The official RC1 is the public release, concidered stable enough to use, while the nightly may change and/or temporarily break stuff.
A Finnish Support Specialist
 Happily running multiple SMF 2.0 installations.
  Fooling around with an i7 990X @ 3,47Ghz / 12Gb / Win 10 x64 / 3840x2160


How you can help SMF

"Before you allow people access to your forum, especially in an administrative position, you must be aware that that person can seriously damage your forum.
 Therefore, you should only allow people that you trust, implicitly, to have such access." -Douglas

Offline plintus

  • Newbie
  • *
  • Posts: 4
Re: Download for nightly(github) smf2.1
« Reply #39 on: February 07, 2019, 09:25:59 AM »
thank