Welcome Guest.   Make a donation to an author on the site December 19, 2014, 10:32:36 AM  *

Please login or register.
Or did you miss your validation email?


Login with username and password (forgot your password?)
Why not become a lifetime supporting member of the site with a one-time donation of any amount? Your donation entitles you to a ton of additional benefits, including access to exclusive discounts and downloads, the ability to enter monthly free software drawings, and a single non-expiring license key for all of our programs.


You must sign up here before you can post and access some areas of the site. Registration is totally free and confidential.
 
Free DonationCoder.com Member Kit: Submit Request.
   
   Forum Home   Thread Marks Chat! Downloads Search Login Register  
Pages: [1]   Go Down
  Reply  |  New Topic  |  Print  
Author Topic: Upgrading the forum tonight to SMF 1.1.2 - Possibilities of minor turbulence  (Read 9019 times)
mouser
First Author
Administrator
*****
Posts: 33,775



see users location on a map View Profile WWW Read user's biography. Give some DonationCredits to this forum member
« on: February 19, 2007, 03:51:04 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..
Logged
gri
Participant
*
Posts: 105


Space Human

View Profile WWW Give some DonationCredits to this forum member
« Reply #1 on: February 19, 2007, 04:17:35 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..

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:52 PM by gri » Logged

Your Gritoadmixes to Gri | Your Gritoadmixes to App103 | ~Gri to App103~
First Human banned by Simple Machines of the Earth
mouser
First Author
Administrator
*****
Posts: 33,775



see users location on a map View Profile WWW Read user's biography. Give some DonationCredits to this forum member
« Reply #2 on: February 19, 2007, 04:25:31 AM »

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.
Logged
iphigenie
Supporting Member
**
Posts: 1,166


curiosity FTW!

see users location on a map View Profile WWW Read user's biography. Give some DonationCredits to this forum member
« Reply #3 on: February 19, 2007, 05:44:57 AM »

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
Logged
mouser
First Author
Administrator
*****
Posts: 33,775



see users location on a map View Profile WWW Read user's biography. Give some DonationCredits to this forum member
« Reply #4 on: February 19, 2007, 06:32:33 AM »

Hopefully the forum has now been upgraded successfully.
Let me know of any troubles.
Logged
f0dder
Charter Honorary Member
***
Posts: 8,774



[Well, THAT escalated quickly!]

see users location on a map View Profile WWW Read user's biography. Give some DonationCredits to this forum member
« Reply #5 on: February 19, 2007, 06:36:08 AM »

Seems to work fine from here so far Thmbsup
Logged

- carpe noctem
nudone
Cody's Creator
Columnist
***
Posts: 4,116



see users location on a map View Profile WWW Read user's biography. Give some DonationCredits to this forum member
« Reply #6 on: February 19, 2007, 06:38:19 AM »

smoooth.
Logged
gri
Participant
*
Posts: 105


Space Human

View Profile WWW Give some DonationCredits to this forum member
« Reply #7 on: March 06, 2007, 07:42:01 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.

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:12 PM by gri » Logged

Your Gritoadmixes to Gri | Your Gritoadmixes to App103 | ~Gri to App103~
First Human banned by Simple Machines of the Earth
mouser
First Author
Administrator
*****
Posts: 33,775



see users location on a map View Profile WWW Read user's biography. Give some DonationCredits to this forum member
« Reply #8 on: March 06, 2007, 08:47:32 AM »

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:23 PM by mouser » Logged
f0dder
Charter Honorary Member
***
Posts: 8,774



[Well, THAT escalated quickly!]

see users location on a map View Profile WWW Read user's biography. Give some DonationCredits to this forum member
« Reply #9 on: March 06, 2007, 08:54:34 AM »

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
Logged

- carpe noctem
gri
Participant
*
Posts: 105


Space Human

View Profile WWW Give some DonationCredits to this forum member
« Reply #10 on: March 06, 2007, 07:07:46 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.

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:35 PM by gri » Logged

Your Gritoadmixes to Gri | Your Gritoadmixes to App103 | ~Gri to App103~
First Human banned by Simple Machines of the Earth
Josh
Charter Honorary Member
***
Posts: 3,345



View Profile Give some DonationCredits to this forum member
« Reply #11 on: March 06, 2007, 07:13:29 PM »

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:43 PM by Josh » Logged

Strength in Knowledge
iphigenie
Supporting Member
**
Posts: 1,166


curiosity FTW!

see users location on a map View Profile WWW Read user's biography. Give some DonationCredits to this forum member
« Reply #12 on: March 07, 2007, 03:57:54 AM »

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!
Logged
mouser
First Author
Administrator
*****
Posts: 33,775



see users location on a map View Profile WWW Read user's biography. Give some DonationCredits to this forum member
« Reply #13 on: March 07, 2007, 04:29:16 AM »

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.
Logged
gri
Participant
*
Posts: 105


Space Human

View Profile WWW Give some DonationCredits to this forum member
« Reply #14 on: March 07, 2007, 05:47:28 AM »

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.

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 ?

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

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

Your Gritoadmixes to Gri | Your Gritoadmixes to App103 | ~Gri to App103~
First Human banned by Simple Machines of the Earth
gri
Participant
*
Posts: 105


Space Human

View Profile WWW Give some DonationCredits to this forum member
« Reply #15 on: March 18, 2007, 08:04:48 AM »

mouser,

which monkey continue removing my topics at donationcoder ?
Logged

Your Gritoadmixes to Gri | Your Gritoadmixes to App103 | ~Gri to App103~
First Human banned by Simple Machines of the Earth
Wordzilla
Forum Search Daemon
Charter Member
***
Posts: 470



Two there should be; no more, no less.

View Profile WWW Read user's biography. Give some DonationCredits to this forum member
« Reply #16 on: March 18, 2007, 08:13:53 AM »

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. smiley

« Last Edit: March 18, 2007, 08:34:45 AM by Wordzilla » Logged

mouser
First Author
Administrator
*****
Posts: 33,775



see users location on a map View Profile WWW Read user's biography. Give some DonationCredits to this forum member
« Reply #17 on: March 18, 2007, 11:25:21 PM »

Quote
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!  Grin



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.
Logged
Gothi[c]
DC Server Admin
Charter Honorary Member
***
Posts: 857



see users location on a map View Profile WWW Give some DonationCredits to this forum member
« Reply #18 on: March 19, 2007, 11:52:13 AM »

I hope they don't fart.  Wink
Logged
Pages: [1]   Go Up
  Reply  |  New Topic  |  Print  
 
Jump to:  
   Forum Home   Thread Marks Chat! Downloads Search Login Register  

DonationCoder.com | About Us
DonationCoder.com Forum | Powered by SMF
[ Page time: 0.104s | Server load: 0.16 ]