Author Topic: New Furtopia Server/Upgrade!  (Read 45811 times)

0 Members and 1 Guest are viewing this topic.

Offline Mazz

  • Hero Member
  • CAW!
  • *****
  • Female
  • Posts: 11824
Re: New Furtopia Server/Upgrade!
« Reply #50 on: August 04, 2009, 09:05:14 pm »
lol, a lot of work you must do big white one. Make sure you sleep.

My site runs great now. I'll report any bugs I find. Thank you.
http://mazz.livejournal.com/
http://www.furaffinity.net/user/mazz/
http://tornfeathers.deviantart.com
http://tornfeathers.tumblr.com
--

Rehabber by trade, conservationist by choice
Love your wildlife where it belongs, in the wild

Offline WhiteShepherd

  • furtopia.org Sysop!
  • *
  • Male
  • Posts: 4766
    • http://www.whiteshepherd.furtopia.org
Re: New Furtopia Server/Upgrade!
« Reply #51 on: August 04, 2009, 09:37:15 pm »
ObliviousAlly I looked into your linking issue and found the problem.  The new server is "case sensitive" to the web path of the file you are trying to link (this is a web standard).  The old server did not check to see if the case of a path matched exactly.

As an example a working link to your forums avatar is: http://fallenangel.furtopia.org/lj/icons/icon_ally21.png

However what is stored in your profile: http://fallenangel.furtopia.org/LJ/ICONS/icon_ally21.png  

Notice the capital letters /LJ/ICONS/ this is what is throwing off the remote linking.  It's noting you did wrong as the old server didn't care.  Just the new server is more strict on this.

I'm saying this here as following exact case applies to everyone's website now.

  WhiteShepherd
« Last Edit: August 04, 2009, 09:58:34 pm by WhiteShepherd »
IRC quotes:

[05:01] <Kai_Misou> We cats sleep when we want and where we want.
[05:01] <WhiteShep> We dogs sleep WHEN we can. :/
<!--QuoteEnd--></td></tr></table><span =''><!--Quot

Offline Moonbarker Osbourne

  • Jr. Member
  • **
  • Male
  • Posts: 96
    • http://www.cloudchasershaconage.furtopia.org
Re: New Furtopia Server/Upgrade!
« Reply #52 on: August 05, 2009, 01:46:20 am »
It's obvious that passwords being case sensitive makes them more secure, but what's the purpose of the web standard of web paths being case sensitive?

Offline McMajik

  • Hero Member
  • Species: Variable
  • Silly Majik tried to do magic, now it's a birdy.
  • *****
  • Posts: 2916
Re: New Furtopia Server/Upgrade!
« Reply #53 on: August 05, 2009, 02:12:29 am »
In linux, directories, names, e.t.c. are case sensitive.

Offline Moonbarker Osbourne

  • Jr. Member
  • **
  • Male
  • Posts: 96
    • http://www.cloudchasershaconage.furtopia.org
Re: New Furtopia Server/Upgrade!
« Reply #54 on: August 05, 2009, 03:15:52 am »
After reading this, I see why case sensitive would be the web standard.

http://en.wikipedia.org/wiki/Linux#Market_share_and_uptake

Though I do still wonder why Linux does it like that to start with.

Offline ryokox

  • Newbie
  • *
  • Posts: 29
Re: New Furtopia Server/Upgrade!
« Reply #55 on: August 05, 2009, 09:38:51 am »
Since the upgrade my cutenews isn't working. This is what I get:
Fatal error: date() [<a href='function.date'>function.date</a>]: Timezone database is corrupt - this should *never* happen! in /webpages/artwork/ryoko/cutenews/inc/editnews.mdu on line 82

Offline Mazz

  • Hero Member
  • CAW!
  • *****
  • Female
  • Posts: 11824
Re: New Furtopia Server/Upgrade!
« Reply #56 on: August 05, 2009, 10:29:17 am »
The indexer pages not being in alphabetical order confused me. I was about to be like. "bawwww my stuff is missing"

All is well in the world of Mazz now.
http://mazz.livejournal.com/
http://www.furaffinity.net/user/mazz/
http://tornfeathers.deviantart.com
http://tornfeathers.tumblr.com
--

Rehabber by trade, conservationist by choice
Love your wildlife where it belongs, in the wild

Offline ObliviousAlly

  • Hero Member
  • Ally the Sparkly
  • *****
  • Female
  • Posts: 726
    • Pipedreams
Re: New Furtopia Server/Upgrade!
« Reply #57 on: August 05, 2009, 07:52:33 pm »
Ii can view my directories now, but they're all text. :/

Also, what's with the case sensitivity on the directories? I don't want to have to go through everything and change all my links to caps. :/
 

Offline WhiteShepherd

  • furtopia.org Sysop!
  • *
  • Male
  • Posts: 4766
    • http://www.whiteshepherd.furtopia.org
Re: New Furtopia Server/Upgrade!
« Reply #58 on: August 06, 2009, 12:51:28 am »
Got mysql loaded and have started restoring users DBs.  Made some fixes to PHP.  I'll look into how the Indexer is getting it's file order.

ObliviousAlly the case it's not a choice but part of the OS. So even I need to learn to check my case on files.  Under Windows (our old server) it can't see a difference between a uppercase and lowercase letter.  A=A and a=A as both letters are the same to it.  So Any.gif is the same as amy.gif or any combination of the same ordered letters.   

However Linux can see upper and lower case letters in it's files.  For example: A=Uppercase "A" and  a=lowercase "a".  So on a Linux server you could have the filenames Amy.gif, amy.gif, and AMY.GIF in the same folder as each is a different combination of letters which is why case must be exact.  Windows treats upper/lower case the same so it don't care if your case is correct. 

I took a look at your site Ally and I noticed some pages called the folder "images" (the folder that exists) and some folders called "IMAGES".  I created a temp fix by making a additional folder called "IMAGES" (it did not replace the lowercase "images" folder) and copied the files from your "images" into the new "IMAGES". 

Your web site now seems to be working as calls to both folders works.  I'm hoping that helps as now that your site is working again you can correct paths whenever you wish. 

Let me know if there are any more problems with your site or if there are any questions.  I am always glad to help!

  WhiteShepherd
IRC quotes:

[05:01] <Kai_Misou> We cats sleep when we want and where we want.
[05:01] <WhiteShep> We dogs sleep WHEN we can. :/
<!--QuoteEnd--></td></tr></table><span =''><!--Quot

Offline McMajik

  • Hero Member
  • Species: Variable
  • Silly Majik tried to do magic, now it's a birdy.
  • *****
  • Posts: 2916
Re: New Furtopia Server/Upgrade!
« Reply #59 on: August 06, 2009, 01:22:23 am »
WS, I think you could probably set up a symbolic link to the IMAGES folder from images.

I'm not sure the specifics of setting one up on your distribution, but it can be done. Have a look into it.

Offline WhiteShepherd

  • furtopia.org Sysop!
  • *
  • Male
  • Posts: 4766
    • http://www.whiteshepherd.furtopia.org
Re: New Furtopia Server/Upgrade!
« Reply #60 on: August 06, 2009, 07:32:39 am »
I actually first set up a symbolic link.  But then after thinking it over I decided to keep it simple.  There was a chance someone could see a symbolic link thinking it a folder and delete the original folder thinking the other still held their files.
IRC quotes:

[05:01] <Kai_Misou> We cats sleep when we want and where we want.
[05:01] <WhiteShep> We dogs sleep WHEN we can. :/
<!--QuoteEnd--></td></tr></table><span =''><!--Quot

Offline ObliviousAlly

  • Hero Member
  • Ally the Sparkly
  • *****
  • Female
  • Posts: 726
    • Pipedreams
Re: New Furtopia Server/Upgrade!
« Reply #61 on: August 06, 2009, 05:03:37 pm »
Ah, that's not specifically what I was referring to. But thank you for changing over that one folder, I must have missed it while fixing my directories from lowercase to caps last night. I need to revamp my site anyhow, so this is a good reason to do so, have all my things in order and labeled properly.

What I'm referring to is this:

http://fallenangel.furtopia.org/JUNK/furtopia.png

I don't get the nice Indexer in any of my directories. I'm not sure if it's something lingering on my site or if I've just forgotten to implement something. I'd really like to have my shiny thumbnails back, though. ;_;

If it's something you haven't gotten to yet, then disregard my babbling. D:
 

Offline ToranekoStudios

  • Newbie
  • *
  • Posts: 7
Re: New Furtopia Server/Upgrade!
« Reply #62 on: August 06, 2009, 09:38:00 pm »
I can't log in to my ftp. :(

Offline NeoFur

  • Hero Member
  • Species: Wolf
  • Such is Life.
  • *****
  • Male
  • Posts: 1087
    • Furaffinity Page
Re: New Furtopia Server/Upgrade!
« Reply #63 on: August 06, 2009, 09:41:24 pm »
Got mysql loaded and have started restoring users DBs.  Made some fixes to PHP.  I'll look into how the Indexer is getting it's file order.

Let me know if there are any more problems with your site or if there are any questions.  I am always glad to help!

  WhiteShepherd

Sweet. :D Your awesome!

Hmm...PhotoFrame is out.


Error: Sorry, but I couldn't find the GD 2.* functions that I need to convert images. Check the configuration of this script (imagemethod variable) or your system. Make sure that your copy of PHP has been compiled with GD support and native JPEG support eg
configure --with-gd --with-jpeg ...

Offline WhiteShepherd

  • furtopia.org Sysop!
  • *
  • Male
  • Posts: 4766
    • http://www.whiteshepherd.furtopia.org
Re: New Furtopia Server/Upgrade!
« Reply #64 on: August 07, 2009, 12:17:33 am »
Ally I checked and saw we turned off the indexer on a request.  No problem turned it back on.  You can also customize the indexer so it becomes a part of your website with a header and footer file.  http://www.furtopia.org/indexer/


NeoFur I did plan support for GD.  I'll check the setting for that after work today.  DBs should be finished loading today as well.
   
IRC quotes:

[05:01] <Kai_Misou> We cats sleep when we want and where we want.
[05:01] <WhiteShep> We dogs sleep WHEN we can. :/
<!--QuoteEnd--></td></tr></table><span =''><!--Quot

Offline ryokox

  • Newbie
  • *
  • Posts: 29
Re: New Furtopia Server/Upgrade!
« Reply #65 on: August 07, 2009, 10:14:46 am »
Is FTP shut off for everyone or am I just having problems?


also, idk how updating databases work and all that, but i'd like to note that when i went to look at my website today i noticed that recent additions to it are missing. same thing happend to a friend of mine the other day on artistsworld.

Offline Werewolfhero

  • Full Member
  • Friendly Neighborhood Werewolf
  • ***
  • Male
  • Posts: 100
    • Werewolfhero's Den
Re: New Furtopia Server/Upgrade!
« Reply #66 on: August 07, 2009, 02:29:27 pm »
Think they're working on the server ryokox,  and your not the only one, my mysql's missing in action. We just gotta keep checking the forums for updates.

Offline WhiteShepherd

  • furtopia.org Sysop!
  • *
  • Male
  • Posts: 4766
    • http://www.whiteshepherd.furtopia.org
Re: New Furtopia Server/Upgrade!
« Reply #67 on: August 07, 2009, 10:49:44 pm »
Nods..  I'm sorry for the errors but I'm fixing them as soon as you report them to me.  If you are wondering WHY we had to go through all this trouble?  Aside from needing the extra speed was security.  Over ten years ago I was hosting artists for for enjoyment and to help artists who did not have a lot of money have a nice web space free of advertisements.  Word spread and Furtopia has grown into a nice and supportive artist community.  However over the last 3-4 years the dynamic of the internet has been changing. More and more vandalism and system theft have become a popular sport for those who get their kicks at the suffering of others.  The old server was nice but we needed to rework some policies from the ground up to try and protect his home better.  Thus for example the choice to switch to Linux.  When all updates are done we will have a faster and more secure server.

Current progress.  I checked into the PHP and recompiled the gd libs as well as added several new ones.  GD in PHP should now work.  I will be spending the rest of the night loading MYSQL DBs.  If your site's mysql does not load by noon this Saturday let me know.    

ToranekoStudios I sent you a PM 2 days ago with some new login info.  Check the spelling carefully of your new login as it may differ slightly from your old login.

Ryokox PM me your FTP details so I can check them out.

Any other artist if your site is having problems due to the switch and you need help just shoot me a PM and I'll be glad to lend a paw to get it working again.

    WhiteShepherd
« Last Edit: August 07, 2009, 10:53:37 pm by WhiteShepherd »
IRC quotes:

[05:01] <Kai_Misou> We cats sleep when we want and where we want.
[05:01] <WhiteShep> We dogs sleep WHEN we can. :/
<!--QuoteEnd--></td></tr></table><span =''><!--Quot

Offline ObliviousAlly

  • Hero Member
  • Ally the Sparkly
  • *****
  • Female
  • Posts: 726
    • Pipedreams
Re: New Furtopia Server/Upgrade!
« Reply #68 on: August 07, 2009, 11:05:52 pm »
Is there any trick to getting our directories to sort by filename like they used to?
 

Offline ToranekoStudios

  • Newbie
  • *
  • Posts: 7
Re: New Furtopia Server/Upgrade!
« Reply #69 on: August 08, 2009, 01:03:11 am »
Ah, thanks White! I was waiting for a reply in the email but might have missed it. v_v

THANK YOU!

Offline WhiteShepherd

  • furtopia.org Sysop!
  • *
  • Male
  • Posts: 4766
    • http://www.whiteshepherd.furtopia.org
Re: New Furtopia Server/Upgrade!
« Reply #70 on: August 08, 2009, 02:06:05 am »
Ally I think that it is a difference between Linux and Windows.  I'll look into this after I get all the sites up.  If there is not an easy way I'll program the indexer to reorder back into alphabetical.

I'm stopping for the night/morning as it's 5AM.  I'm about half way through loading all the mysql databases.  It's a long process to do by hand.  Back when we started I created and removed everything by hand.  It doesn't work with a site this size so as I reload all the DBs I am creating a mysql install database.  This will let me automate restoring everyones DB at once.

Another point to note.  The address for using a mysql database has changed from "localhost" to "127.0.0.1".

So if your old config was:

address: localhost
db user: name
db name: name
db password: pass

Your new config should look like:

address: 127.0.0.1
db user: name
db name: name
db password: pass

As I restore DBs I am manually making this correction to users config files so back up the changes and careful on overwriting them! ;)

I've increased PHP max memory size from 16 megs to 32 megs.  Large programs like wordpress need the extra memory.

  WhiteShepherd
IRC quotes:

[05:01] <Kai_Misou> We cats sleep when we want and where we want.
[05:01] <WhiteShep> We dogs sleep WHEN we can. :/
<!--QuoteEnd--></td></tr></table><span =''><!--Quot

Offline NeoFur

  • Hero Member
  • Species: Wolf
  • Such is Life.
  • *****
  • Male
  • Posts: 1087
    • Furaffinity Page
Re: New Furtopia Server/Upgrade!
« Reply #71 on: August 09, 2009, 09:44:14 pm »
Wordpress and Fotoframe working for me. :D

Still can't login FTP.
404 Not Found on some directories.

Offline WhiteShepherd

  • furtopia.org Sysop!
  • *
  • Male
  • Posts: 4766
    • http://www.whiteshepherd.furtopia.org
Re: New Furtopia Server/Upgrade!
« Reply #72 on: August 10, 2009, 12:00:31 am »
Neofur I checked your FTP and it is working.  I have PMed you some things to try.

As far as FTP make sure it is set for "passive mode" (this often helps).

To all users who use PHP and mysql. 

Changes on the new server:
When connecting to the mysql database use 127.0.0.1 instead of localhost.

If your PHP script uses the commands include or require "directory/file.php" is not proper syntax.  Use "./directory/file.php" to define starting the search in the current directory.

If a file or directory is missing make sure that the case (uppercase AND lowercase) of the calling web path match EXACTLY.  All web paths to a file are case sensitive.

Finally if your web site has a problem and you are unable to fix it let me know and I'll be glad to help you out.

  WhiteShepherd
IRC quotes:

[05:01] <Kai_Misou> We cats sleep when we want and where we want.
[05:01] <WhiteShep> We dogs sleep WHEN we can. :/
<!--QuoteEnd--></td></tr></table><span =''><!--Quot

Offline NeoFur

  • Hero Member
  • Species: Wolf
  • Such is Life.
  • *****
  • Male
  • Posts: 1087
    • Furaffinity Page
Re: New Furtopia Server/Upgrade!
« Reply #73 on: August 10, 2009, 05:42:47 pm »
Everything is up and running now. :D

THX WhiteShepherd ;)

Case sensitive was the problem.

Oh, folks should change/redo their bookmarks.
None of my worked, due to the case sensitive.

Offline WhiteShepherd

  • furtopia.org Sysop!
  • *
  • Male
  • Posts: 4766
    • http://www.whiteshepherd.furtopia.org
Re: New Furtopia Server/Upgrade!
« Reply #74 on: August 11, 2009, 05:56:54 pm »
Glad everything is working!   After things calm down I'm going to test using gzip compression on uncompressed files and let the users vote on if it helps speed things up.

As far as e-mail I will be changing all Furtopia pages.  I will no longer be offering support over e-mail but instead through the forums only.  The reason for this is yesterday I got 32000+ spam e-mails!!!!  This is even with DBLs filtering.  The problem is that I've had this e-mail since the early 90s.  Every spammer and his dog must have it in this lists.  It takes MANY times longer to try and read through all the subject lines to find a valid support e-mail than it does to even fix the problems and it's easy to miss valid e-mails in all the junk.  Where as on the forums I can just look and if someone needs help I can PM them and take care of it.  So I'll eventually be changing all Furtopia e-mail links to forum links.

  WhiteShepherd
IRC quotes:

[05:01] <Kai_Misou> We cats sleep when we want and where we want.
[05:01] <WhiteShep> We dogs sleep WHEN we can. :/
<!--QuoteEnd--></td></tr></table><span =''><!--Quot