Previous Thread
Next Thread
Print Thread
Hop To
Joined: Jun 2006
Posts: 21
P
stranger
stranger
P Offline
Joined: Jun 2006
Posts: 21
I've been running a UBB.threads based forum for our neighborhood on a Mac Mini running Snow Leopard Server for years.

I've installed a new Mac Mini with Mountain Lion Server, configured a site for ubbthreads and gone through the install process including installing mysql on the server.

I go through the install process and pass the permissions checks, the database check, and get to the end, but I can't get the site to come up after the install. Has anyone else installed UBB.threads 7.5.7 on Mountain Lion Server and figured out how to get the install to work?

Joined: Dec 2003
Posts: 6,560
Likes: 78
Joined: Dec 2003
Posts: 6,560
Likes: 78
I know absolutely nothing about apple machines.
But without a specific error message I can't say where to start looking.

Is the page just a blank screen?


Blue Man Group
There is no such thing as stupid questions. Just stupid answers
Joined: Jun 2006
Posts: 21
P
stranger
stranger
P Offline
Joined: Jun 2006
Posts: 21
I go to (edited)

permissions are all "green"

database server set to localhost, database name set to ubbt, database user set to root, password entered, table name prefix set to ubbt_
all steps "passed"

Domain UBB.threads will be run on: (edited)
Base URL left blank

Path to UBB.threads Install set to: (edited)
cookie prefix left blank

all checks passed with full_url: (http://highviewhoa.pderby.com) PASSED
path: (/Library/Server/Web/Data/Sites/highviewhoa.pderby.com) PASSED

Is that the correct path?

Server admin info entered

Step 8 says proceed to next step which I do and the response is:
Createtable.php has already been run. Your tables already exist.

At this point there are no other prompts so I assume the Install is done.

I enter http://highviewhoa.pderby.com and get a blank screen

with the Safari web inspector I can see 2 cookies:

ubbt_myid value 0
PHPSESSID









Last edited by Ruben; 07/02/2013 6:09 PM. Reason: Edited paths for user security
Joined: Jun 2006
Posts: 21
P
stranger
stranger
P Offline
Joined: Jun 2006
Posts: 21
"mountain lion server" is based on BSD Unix

PHP version 5.3.15
Mysql 5.6.11

Server version: Apache/2.2.22 (Unix)
Server built: Dec 9 2012 18:57:18
Server's Module Magic Number: 20051115:30
Server loaded: APR 1.4.5, APR-Util 1.3.12
Compiled using: APR 1.4.5, APR-Util 1.3.12
Architecture: 64-bit
Server MPM: Prefork
threaded: no
forked: yes (variable process count)
Server compiled with....
-D APACHE_MPM_DIR="server/mpm/prefork"
-D APR_HAS_SENDFILE
-D APR_HAS_MMAP
-D APR_HAVE_IPV6 (IPv4-mapped addresses enabled)
-D APR_USE_FLOCK_SERIALIZE
-D APR_USE_PTHREAD_SERIALIZE
-D SINGLE_LISTEN_UNSERIALIZED_ACCEPT
-D APR_HAS_OTHER_CHILD
-D AP_HAVE_RELIABLE_PIPED_LOGS
-D DYNAMIC_MODULE_LIMIT=128
-D HTTPD_ROOT="/usr"
-D SUEXEC_BIN="/usr/bin/suexec"
-D DEFAULT_PIDLOG="/private/var/run/httpd.pid"
-D DEFAULT_SCOREBOARD="logs/apache_runtime_status"
-D DEFAULT_LOCKFILE="/private/var/run/accept.lock"
-D DEFAULT_ERRORLOG="logs/error_log"
-D AP_TYPES_CONFIG_FILE="/private/etc/apache2/mime.types"
-D SERVER_CONFIG_FILE="/private/etc/apache2/httpd.conf"

Joined: Jun 2006
Posts: 16,292
Likes: 116
UBB.threads Developer
UBB.threads Developer
Joined: Jun 2006
Posts: 16,292
Likes: 116
A phpinfo.php file containing:
Code
<?php phpinfo(); ?>

Will be able to tell you the paths (just for validation).


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!
Joined: Jun 2006
Posts: 21
P
stranger
stranger
P Offline
Joined: Jun 2006
Posts: 21
From the log above it looks like a directory: .../install/css/image_files is missing and causing the abort.

Joined: Dec 2003
Posts: 6,560
Likes: 78
Joined: Dec 2003
Posts: 6,560
Likes: 78
well first item is . Don't post to much public info.
I will be glad to delete the first link.
But I see that the next step fails.
Connecting to database FAILED.
Could be I did not have all the info.
But database name of ubbt is usually not complete. Usually that is the prefix of the tables.
User of root could be correct but I don't think so.
Then of course we need a password.

I see you are really interested in fixing this and I suggest you do not provide more public info so a hacker can obtain access.
You can PM me with access or open a support ticket


Blue Man Group
There is no such thing as stupid questions. Just stupid answers
Joined: Dec 2003
Posts: 6,560
Likes: 78
Joined: Dec 2003
Posts: 6,560
Likes: 78
Looking at your newer posting.
Nothing should refer to the install folder.
In fact when complete the install folder is recommended to be deleted. For security reasons.
So Gizmo may be onto something as far as paths are concerned.
I also see that the css files are related to 7.4b1. Which a beta version which is extremely old.
So somehow you have linked to it and should not have.


Blue Man Group
There is no such thing as stupid questions. Just stupid answers
Joined: Jun 2006
Posts: 21
P
stranger
stranger
P Offline
Joined: Jun 2006
Posts: 21
I believe I need to complete the install before deleting the install folder smile
Let me delete the entire contents of the directory and do the install again. Not sure where the 7.4b1 files are that are getting linked. I just downloaded 7.5.7 in the last week



Joined: Dec 2003
Posts: 6,560
Likes: 78
Joined: Dec 2003
Posts: 6,560
Likes: 78
Of course.
You need to install the software before you delete it.
LOL.

What I am not sure of is , Are you attempting a upgrade or a net new install?
Are you trying to preserve posts from a older version?


Blue Man Group
There is no such thing as stupid questions. Just stupid answers
Joined: Jun 2006
Posts: 21
P
stranger
stranger
P Offline
Joined: Jun 2006
Posts: 21
I'm trying to do a clean install on a new server with a fresh OS. Then I will try to move my existing site data and posts from the old server to the new server. WIth the path changes so different and moving from old to almost new versions of apache, php andmysql that seemed to be the safest way to me.

Joined: Dec 2003
Posts: 6,560
Likes: 78
Joined: Dec 2003
Posts: 6,560
Likes: 78
That can be very difficult to do.
Because depending on the existing UBB version you come from you may need to perform a import ,not a upgrade or install first.
Can you provide the working ubb version you are using currently and then what version you contemplate to upgrade to?
This may possibly be the issue you have.


Blue Man Group
There is no such thing as stupid questions. Just stupid answers
Joined: Jun 2006
Posts: 21
P
stranger
stranger
P Offline
Joined: Jun 2006
Posts: 21
the old server has ubb 7-5-7 on it. It's a long story, but I moved everything from the old server to the new server but ubb (forgot about the lightly used site) and brought up the new server.

So the new server is up and running. I have an "archive" disk of the old server with the site I want to move to the new server. The paths are different on the two servers, but the version of ubb is the same. mysql on the old server is version 5 but much older than on the new server.

Last edited by Paul Derby; 07/02/2013 6:37 PM.
Joined: Dec 2003
Posts: 6,560
Likes: 78
Joined: Dec 2003
Posts: 6,560
Likes: 78
If that is all true then you should just use the transfer to new server tips.
Copy the files over to the new server.
Upload the existing database to the new server.
Set the new user name and password for the database.
Then all you do is edit the includes/config.inc.php file with the new paths and user names and passwords.
Done.

You can start with:
https://www.ubbcentral.com/forums/u...izmo_s_UBB_Threads_7_x_Transf#Post178189
And or then look at http://www.ubbwiki.com


Blue Man Group
There is no such thing as stupid questions. Just stupid answers
Joined: Dec 2003
Posts: 6,560
Likes: 78
Joined: Dec 2003
Posts: 6,560
Likes: 78
Although it looks ugly now,
You have made progress since now it shows the board is closed. But the css style is missing
Could be you just need to go through all the cp settings and re save them.


Blue Man Group
There is no such thing as stupid questions. Just stupid answers
Joined: Jun 2006
Posts: 21
P
stranger
stranger
P Offline
Joined: Jun 2006
Posts: 21
Deleting the entire site directory on the new server and doing a fresh install worked. Had to change more permissions than the INSTALL permission checker step 1 caught to get the site to come up. Will work on moving the database over to complete the move from Snow Leopard Server to Mountain Lion Server.

Joined: Dec 2003
Posts: 6,560
Likes: 78
Joined: Dec 2003
Posts: 6,560
Likes: 78
well if you are dong a fresh install then you should follow the docs at:
https://www.ubbcentral.com/doc_install.php

And not rely on the installer to warn you about permissions.
I think you are doing this the hard way.

BTW,
I now see a generic database error.
Which usually means that the database path,user name and or password is not correct.


Blue Man Group
There is no such thing as stupid questions. Just stupid answers
Joined: Jun 2006
Posts: 21
P
stranger
stranger
P Offline
Joined: Jun 2006
Posts: 21
Actually, I did follow the install docs for installing on Mountain Lion Server (MLS). The installer screen is just a cross check. Even after the installer check gave all "green" there were further permission problems when PHP tried to execute the "smarty" stuff. The tact I take with installing on Mountain Lion Server is to put the site in the directory Mountain Lion Server likes which is /Library/Server/Web/Data/Sites/.… set all the permission in the directory to 777, set the owner to admin and set the group to wheel. Then I use the install docs to reduce the permissions to those documented in the install document. That saves a ton of time chasing down whatever permissions that still need changing like the "smarty" PHP stuff.

After I figured out the paths that MLS likes and got the DNS settings and apache2 settings correct for my MLS environment with a clean install I know the software will work so I'm ready to migrate the Snow Leopard Server UBBThreads over to Mountain Lion Server using the info in the link you provided a couple of replies up. I just wanted to make sure a clean install worked first instead of trying to figure out how to get a migrated site over and running on a much changed server OS. Apple changed the paths and tightened up the apache2 environment between SLS and MLS. They also generate the apache config file using a GUI utility so I didn't want too many variables going on at the same time.

Now that I know how to get UBBThreads to work on MLS, I captured the includes/config.inc.php files for both SLS and MLS so that I can compare the two. I killed the MLS site and will do the migration, dump and load the mysql database and edit the includes/config/inc.php paths to do the migration using the process you pointed me to in the earlier posting. I haven't worried about the style stuff yet. That will be the polishing effort when the migration is complete. I still have the SLS version running just fine from the backup drive which is only visible on the LAN. I'll get the WAN version up and running. I just get a little time here and there in-between my other work to do this. There is nothing time critical for our small number of users on this site. It is a repository of information for our homeowners association.

Joined: Dec 2003
Posts: 6,560
Likes: 78
Joined: Dec 2003
Posts: 6,560
Likes: 78
Otay!


Blue Man Group
There is no such thing as stupid questions. Just stupid answers
Joined: Jun 2006
Posts: 21
P
stranger
stranger
P Offline
Joined: Jun 2006
Posts: 21
I think I've moved everything over to the Mountain Lion Server. Did a lot of cleanup removing the old UBB files that were in the web site directory, upgraded MySQL, put the UBBThreads tables in their own database instead of sharing the MYSQL database, etc.

Thanks for the help along the way.

If anyone wishes to run UBBThreads on Mountain Lion Server it is pretty straight forward and seems to work well!


Link Copied to Clipboard
ShoutChat
Comment Guidelines: Do post respectful and insightful comments. Don't flame, hate, spam.
Recent Topics
spam issues
by ECNet - 03/19/2024 11:45 PM
Looking for a forum
by azr - 03/15/2024 11:26 PM
Editing Links in Post
by Outdoorking - 03/15/2024 9:31 AM
Question on barkrowler and the like
by Mors - 02/29/2024 6:51 PM
Member Permissions Help
by domspeak - 02/27/2024 6:31 PM
Who's Online Now
0 members (), 744 guests, and 147 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.0
(Preview build 20230217)