topbanner_forum
  *

avatar image

Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
  • Friday March 29, 2024, 2:23 am
  • Proudly celebrating 15+ years online.
  • Donate now to become a lifetime supporting member of the site and get a non-expiring license key for all of our programs.
  • donate

Author Topic: Upgrading the forum tonight to SMF 1.1.2 - Possibilities of minor turbulence  (Read 16023 times)

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,896
    • View Profile
    • Mouser's Software Zone on DonationCoder.com
    • Read more about this member.
    • Donate to Member
I'm upgrading the forum tonight, so please prepare for some minor turbulence and report any problems.. hopefully you won't notice any downtime but there is always the possibility of large-scale catastrophic maelstroms..

gri

  • Participant
  • Joined in 2006
  • *
  • Posts: 112
  • Space Human
    • View Profile
    • SMF2+ EDITGIFT
    • Donate to Member
Possibilities of minor turbulence
« Reply #1 on: February 19, 2007, 04:17 AM »
I'm upgrading the forum tonight,
so please prepare for some minor turbulence
and report any problems..
hopefully you won't notice any downtime
but there is always the possibility
of large-scale catastrophic maelstroms..
-[url=https://www.donationcoder.com/forum/index.php?topic=7515]mouser in ~Upgrading the forum tonight to SMF 1.1.2~[/url]

mouser,
I seriously advise you
to install all your forum mods
to the test forum 1.1.1.
Then upgrade the test forum to 1.1.2.

Then publish the list of installed mods of the test forum.

We shall see which of the mods have lost the Uninstall link.

If there will be such mods with destroyed Uninstall possibility
then you will be forced to downgrade from 1.1.2 to 1.1.1 ..
more than once -

thus encreasing large-scale catastrophic maelstroms.
« Last Edit: March 06, 2007, 07:10 PM by gri »

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,896
    • View Profile
    • Mouser's Software Zone on DonationCoder.com
    • Read more about this member.
    • Donate to Member
Thanks gri, i do understand what you are saying about this.

I actually have a test forum where i test everything first before trying it on our main forum.

Also - i do not install any mods using the package manager for these kinds of reasons - I install them all manually by manually modifying the php files, so i never do any install/uninstall of mods.

The penalty for this is that i have to always spend a lot of time when upgrading to compare my modified files to the new files and update all the new changed manually.

iphigenie

  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 1,170
    • View Profile
    • Donate to Member
I know what you mean, thank goodness for good diff tools!

I'm going to watch that one - I have a forum to upgrade on one of my sites too

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,896
    • View Profile
    • Mouser's Software Zone on DonationCoder.com
    • Read more about this member.
    • Donate to Member
Hopefully the forum has now been upgraded successfully.
Let me know of any troubles.

f0dder

  • Charter Honorary Member
  • Joined in 2005
  • ***
  • Posts: 9,153
  • [Well, THAT escalated quickly!]
    • View Profile
    • f0dder's place
    • Read more about this member.
    • Donate to Member
Seems to work fine from here so far :Thmbsup:
- carpe noctem

nudone

  • Cody's Creator
  • Columnist
  • Joined in 2005
  • ***
  • Posts: 4,119
    • View Profile
    • Donate to Member
smoooth.

gri

  • Participant
  • Joined in 2006
  • *
  • Posts: 112
  • Space Human
    • View Profile
    • SMF2+ EDITGIFT
    • Donate to Member
Possibilities of minor turbulence
« Reply #7 on: March 06, 2007, 07:42 AM »
Also - i do not install any mods using the package manager
       for these kinds of reasons -
I install them all manually by manually modifying the php files,
so i never do any install/uninstall of mods.
-[url=https://www.donationcoder.com/forum/index.php?topic=7515.msg52908#msg52908]mouser in ~Upgrading the forum tonight to SMF 1.1.2~[/url]

mouser,

Which Control Panel do you have on your server ?

What file access permissions do

          the created subdirectory,
          the uploaded files,
          the unzipped files

optain on your server

by default ?

Do the default file permissions depend on control panel

or is it the server adjustment only ?

How can a user of the hosting account
    change these server settings ?
« Last Edit: March 06, 2007, 05:35 PM by gri »

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,896
    • View Profile
    • Mouser's Software Zone on DonationCoder.com
    • Read more about this member.
    • Donate to Member
Let me give some guidelines on how i upgrade smf, since it's a bit unusual and it may help others.  And in the process i'll answer gri's questions.

First:
I keep two copies of the forum software in different places.  One is the real one we use here, and another is basically a copy of this one, that i always upgrade and test first on.  I do this because I have modified so many files that there is always something i forget.  Having the test installation lets me safely experiment first.

Second:
I always unpack the smf (and all web scripts i install) locally on my pc, where i keep a mirror image of the server account.  Then I use Beyond Compare to compare the new and old version (on my pc and moved to like smf_OLD), and see what has changed.  This is also when i merge any of my modifications into the new upgraded smf files.

Third:
After I've unpacked all the files and merged all of my changes, I ftp into the TEST server, and upload all files (or all new files).  Then i test my test forum, make sure all works well - if not i modify the files locally and reupload.

Fourth:
After I know all the files work well on the test server, i ftp into the real server and upload the new files.

So to answer gri's question about how do i set permissions and create directories - for smf installation i do it all from the FTP client.  (i've been trying SecureFX recently but any one will do).  Certain directories like the attachments directory need to be made writable by all (right click on the folder and chmod to +777 or +w for all.  I think smf will alert you if you haven't dont this properly.

You do not need anything special as far as a control panel or special database access - it can all be done through a normal ftp client.
« Last Edit: March 06, 2007, 01:37 PM by mouser »

f0dder

  • Charter Honorary Member
  • Joined in 2005
  • ***
  • Posts: 9,153
  • [Well, THAT escalated quickly!]
    • View Profile
    • f0dder's place
    • Read more about this member.
    • Donate to Member
Nice to see that you put some effort into this. Painful, but less painful than the massive breakage that can happen if an automated system fails :Thmbsup:
- carpe noctem

gri

  • Participant
  • Joined in 2006
  • *
  • Posts: 112
  • Space Human
    • View Profile
    • SMF2+ EDITGIFT
    • Donate to Member
Possibilities of minor turbulence
« Reply #10 on: March 06, 2007, 07:07 PM »
Let me give some guidelines on how i upgrade smf,
since it's a bit unusual and it may help others.
And in the process i'll answer gri's questions.

So to answer gri's question about how do i set permissions and create directories -
for smf installation i do it all from the FTP client.
(i've been trying SecureFX recently but any one will do).

Certain directories like the attachments directory need to be made writable by all
(right click on the folder and chmod to +777 or +w for all.
I think smf will alert you if you haven't done this properly.

You do not need anything special as far as a control panel or special database access -
it can all be done through a normal ftp client.
-[url=https://www.donationcoder.com/forum/index.php?topic=7515.msg54146#msg54146]mouser in ~Possibilities of minor turbulence~[/url]

I understand clearly why you have no time
to think about human modifications of smf forum..
and participate in smf forum humanization
(including the ignore mod installation).


Nobody will find Truth
if Every Body will fly around False.
False surrounds Truth.
Truth Source is inside False Stratifications.

Well, I have changed the subtitle of my previous post
      so to help you to abstract yourself
         from your false technology peculiarities..
      on this stage of short conversation.

I have located my previous post in this your topic
  because there is no other place at your forum
                            and on the planets
                   known to me
for my public posts adressed to you.

As far as I can see (from your signature)
you have neither your own toogrik
         nor the gritoadmix board
    at donationcoder forum.

Both your the first (maybe the only) toogrik
     and my toogrik..
         that one which I would like you to reply me personally to -

are located at the grivitational forum
    which was evidently suspended (together with its server as a whole)
                        (hope you guess - by whom..)

    and which i am trying to restore now at another free hosting
                   and upgrade by human set of mods..
                       unsuccessfully.

Similarly my forum gritoadmix board
is not appropriate now for the dialogues -

until i will find out (with your gracefull help including)
      how can a user of free hosting account
          overcome the obstacles of smf upgrading
          and _automatic_ modification
               through Package Manager.

Only after elimination of these obstacles
           my appeal to humanize your upgrade technology
     will become grounded.


mouser,
Can you please answer my previous post questions
               more directly ?

It will help others.
« Last Edit: March 06, 2007, 07:21 PM by gri »

Josh

  • Charter Honorary Member
  • Joined in 2005
  • ***
  • Points: 45
  • Posts: 3,411
    • View Profile
    • Donate to Member
I am unsure of the specifics, but, I think it would be a major security risk if mouser were to post the permissions to files/folders on the server. If it is just how to configure the files on your own server, there are plenty of instructions in the installation documentation for SMF.
« Last Edit: March 06, 2007, 07:34 PM by Josh »

iphigenie

  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 1,170
    • View Profile
    • Donate to Member
I have a site on smf with tiny portal and stuff updated, and the only way I seem to be able to upgrade it is through upload of the new smf - which totally breaks tinyportal - then go through all the tp manual changes again. I'm so tired of that!

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,896
    • View Profile
    • Mouser's Software Zone on DonationCoder.com
    • Read more about this member.
    • Donate to Member
When I upload using ftp it uses permisions 755 (owner rwx and group/other are +rx) by default, which is fine for all folders except the attachments and uploads folders, which need to be world writable.

gri

  • Participant
  • Joined in 2006
  • *
  • Posts: 112
  • Space Human
    • View Profile
    • SMF2+ EDITGIFT
    • Donate to Member
When I upload using ftp
it uses permisions 755 (owner rwx and group/other are r_x) by default,
which is fine for all folders except the attachments and uploads folders,
                                     which need to be world writable.
-[url=https://www.donationcoder.com/forum/index.php?topic=7515.msg54213#msg54213]mouser in ~Possibilities of minor turbulence~[/url]

Hence, probably, after i will convince you to use Package Manager..
       you will not be able to.


Which directories of SMF you name as "uploads folders" ?

Any smf modification may want to upload new files
to any subdirectory of smf forum structure.
Hence Package Manager should have been empowered
to chmod directories to 770 at least.
But it fails on a free hosting.

Particularly, /Package/temp subdirectory is being created
inside the procedure of mod installation.
In result no files can be even extracted
          from the mod packet to /temp subdirectory
                              to be executed.

On some hosting servers - Package Manager can chmod the /temp folder
                          and chmod the Uncompressed files to "770",
but on the other - can not.

What is the difference between hostings ?
Paid and free is one evident difference.

But what is the difference between server settings ?

"755" default permission is not enough for mods installation.

One can chmod /temp folder to "777" manually
and the Package Manager will proceed to..
but it is only the illusion.
The files extracted have mostly "640" permission (rw_ r__ ___ - not executable)
                             or "644"
and are not being executed.

How can a user of the hosting account
    change the default folder/files permissions settings of the server ?
-Griflecktion([url=http://https://www.donationcoder.com/forum/index.php?topic=7515.msg54141#msg54141]gri in ~Possibilities of minor turbulence~[/url])

.. so that the newly created folders/files
   were already allowed for Writing/Executing accordingly.

Anybody ?
« Last Edit: March 07, 2007, 05:55 AM by gri »

gri

  • Participant
  • Joined in 2006
  • *
  • Posts: 112
  • Space Human
    • View Profile
    • SMF2+ EDITGIFT
    • Donate to Member
mouser,

which monkey continue removing my topics at donationcoder ?

Wordzilla

  • Forum Search Daemon
  • Charter Member
  • Joined in 2005
  • ***
  • Posts: 470
  • Two there should be; no more, no less.
    • View Profile
    • FreeThesaurus.net - The Free Online Synonym Finder
    • Read more about this member.
    • Donate to Member
mouser,

which monkey continue removing my topics at donationcoder ?

I did, and I also set a ban on your username and email address, which mouser later lifted (he's always been so tolerant as we all know). Mouser had nothing to do with the deletion and banning (he was asleep at that time).

You posted obvious spam in our "Official Announcements" section with nothing comprehensible but a link to your own site.

As a part of my responsibility here - I delete spams as soon as I spot them, period. :)


mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,896
    • View Profile
    • Mouser's Software Zone on DonationCoder.com
    • Read more about this member.
    • Donate to Member
which monkey continue removing my topics at donationcoder ?

it wasn't a monkey it was a giant dinosaur and a giant bird who did it.  and they are my very good friends so please don't call them monkeys!  ;D



As Wordzilla says, you posted in "Official Announcements" section which it did not belong.  Please post such stuff in the "Announce/Advert your Product" section.

Gothi[c]

  • DC Server Admin
  • Charter Honorary Member
  • Joined in 2006
  • ***
  • Posts: 873
    • View Profile
    • linkerror
    • Donate to Member
I hope they don't fart.  ;)