Previous Thread
Next Thread
Print Thread
Hop To
#265825 11/24/2023 4:39 AM
Joined: Jun 2006
Posts: 319
Enthusiast
Enthusiast
Joined: Jun 2006
Posts: 319
Hi All,

I am trying to move my forum to a new server which is a linux one same as the present but the new address will be www.outdoorking-forum.com.au the old one is called www.outdoorking.com/forum

Any assistance would be great I did upload the MSQL database to the new server and thought I should do a fresh install and use the old database.

The issue that I am having is that when I put into the browser the following message http://outdoorking-forum.com.au/forum/install/index.php
File not found (404 error)

Last edited by Outdoorking; 11/24/2023 4:40 AM.
Outdoorking #265826 11/24/2023 4:48 AM
Joined: Jun 2006
Posts: 16,369
Likes: 126
UBB.threads Developer
UBB.threads Developer
Joined: Jun 2006
Posts: 16,369
Likes: 126
One issue you're going to run into is CaSe SeNsItIvItY issues, Windows installs everything with no regards to upper/lowercase in the database, whereas Linux cares about things that're capitalized; so you may end up having to go in and rename all of your tables/columns in order to migrate systems (Linux being superior)

Unless you're installing a new forum you'll not need to access install.php, upgrade.php would only be accessed during an upgrade; if you're moving then you'd insert the database via the command line and then just configure the file permissions and config.inc.php accordingly.


I am a Web Development Contractor, I do not work for UBBCentral. I have provided free User to User Support since the beginning of these support forums.
Do you need Forum Install or Upgrade Services?
Forums: A Gardeners Forum, Scouters World
UBB.threads: UBBWiki, UBB Styles, UBB.Sitemaps
Longtime Supporter & Resident Post-A-Holic
VNC Web Services: Code Modifications, Upgrades, Styling, Coding Services, Disaster Recovery, and more!
Gizmo #265827 11/24/2023 5:25 AM
Joined: Jun 2006
Posts: 319
Enthusiast
Enthusiast
Joined: Jun 2006
Posts: 319
Originally Posted by Gizmo
One issue you're going to run into is CaSe SeNsItIvItY issues, Windows installs everything with no regards to upper/lowercase in the database, whereas Linux cares about things that're capitalized; so you may end up having to go in and rename all of your tables/columns in order to migrate systems (Linux being superior)

Unless you're installing a new forum you'll not need to access install.php, upgrade.php would only be accessed during an upgrade; if you're moving then you'd insert the database via the command line and then just configure the file permissions and config.inc.php accordingly.

We are already on a linux server and going to a new server which has the latest php version etc.

I have transferred the database and are about to copy all the files over to the new server. I did run a database check on the new server and everything came up ok on it.

What files will I need to change to get it running on the new server once I have uploaded all the files?

Outdoorking #265829 11/24/2023 12:03 PM
Joined: Dec 2003
Posts: 6,630
Likes: 85
Joined: Dec 2003
Posts: 6,630
Likes: 85
the path is the big issue also.as I see that you are changing the domain URL
Carefully review and edit the includes/config.inc.php file for all the paths relative and absolute to ensure they are correct, including the database info at the top of the file.
There are several lines through out the file.

You are also going to need to run some update queries to fix paths very similar to changing to https In fact you can use the guide here.
https://www.ubbcentral.com/forums/u...transition-your-forum-from-http-to-https

Instead of using the quick tool , expand it and use the actual query and retype the old and new domain.

You are moving the site not installing or upgrading so you do not use the install folder.

If you want to install a blank version first to test you need the virgin zip file for your version and it will contain the install.php to run.
But when you import the old database you need to overwrite the includes folder with your old files then you are back to editing your config.inc.php file.

Also since you are a old timer here you should already know you need to make plenty of backups of the database when making changes.

Last edited by Ruben; 11/24/2023 2:56 PM. Reason: Added comment

Blue Man Group
There is no such thing as stupid questions. Just stupid answers
Outdoorking #265835 11/24/2023 6:06 PM
Joined: Jun 2006
Posts: 16,369
Likes: 126
UBB.threads Developer
UBB.threads Developer
Joined: Jun 2006
Posts: 16,369
Likes: 126
Most of what you'll be updating in the includes/config.inc.php are:
Code
  'DATABASE_SERVER' => 'localhost',
  'DATABASE_USER' => 'example',
  'DATABASE_PASSWORD' => 'dbpassword',
  'DATABASE_NAME' => 'example_forum',
  'TABLE_PREFIX' => 'ubbt_',
  'FULL_URL' => 'https://example.com/forum',
  'BASE_URL' => 'https://example.com/forum',
  'FULL_PATH' => '/home/example.com/public_html/forum',
  'SESSION_PATH' => '/home/example.com/public_html/forum/sessions',
  'REFERERS' => 'http://example.com/|https://example.com/',
  'HOMEPAGE_URL' => 'https://example.com/',
  'ATTACHMENTS_PATH' => '/home/example.com/public_html/forum/uploads/files/',
  'ATTACHMENTS_URL' => 'https://example.com/forum/uploads/files/',
  'SQL_LOG_PATH' => '/home/example.com/ubb_logging/',
  'CONVERT_PATH' => '/usr/bin/convert',
  'MOGRIFY_PATH' => '/usr/bin/mogrify',
  'CONTACT_URL' => 'https://example.com/contact/index.html',
  'UPLOADED_AVATAR_PATH' => '/home/example.com/public_html/forum/uploads/avatars',
  'UPLOADED_AVATAR_URL' => 'https://example.com/forum/uploads/avatars',

Please note that by changing your domain name any search engine rankings your site receives will now attribute to the new domain name instead, and it'll be quite a while before these changes roll out. A sitemap is helpful for getting new entries fed to search engines which allow them.


I am a Web Development Contractor, I do not work for UBBCentral. I have provided free User to User Support since the beginning of these support forums.
Do you need Forum Install or Upgrade Services?
Forums: A Gardeners Forum, Scouters World
UBB.threads: UBBWiki, UBB Styles, UBB.Sitemaps
Longtime Supporter & Resident Post-A-Holic
VNC Web Services: Code Modifications, Upgrades, Styling, Coding Services, Disaster Recovery, and more!

Link Copied to Clipboard
ShoutChat
Comment Guidelines: Do post respectful and insightful comments. Don't flame, hate, spam.
Recent Topics
Profile avatar storage settings
by SenecaFlyer - 12/05/2024 1:24 PM
Not allowing attachment over 2m
by ehill - 12/03/2024 3:16 PM
New Admin Here
by SenecaFlyer - 12/02/2024 4:14 PM
Who's Online Now
2 members (Ruben, Gizmo), 943 guests, and 108 robots.
Key: Admin, Global Mod, Mod
Random Gallery Image
Latest Gallery Images
Los Angeles
Los Angeles
by isaac, August 6
3D Creations
3D Creations
by JAISP, December 30
Artistic structures
Artistic structures
by isaac, August 29
Stones
Stones
by isaac, August 19
Powered by UBB.threads™ PHP Forum Software 8.0.1
(Snapshot build 20240918)