MyBB Community Forums

Full Version: Homeserver install issue
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2 3 4 5
Hey there.

I've spent the last few days setting up a Fedora homeserver out of my old desktop. It's all going well, I've got the domain set up on it as well as it broadcasting to the real world. I'm still new to things on it so I'm taking it slowly and learning as I go. I created a /forums/ folder and uploaded MyBB.

I'm installing it and all goes fine until the Requirements. It keeps saying that the files aren't chmodded to what they're supposed to, so I open SSH, connect to my server and do the following.

root@Iluminado: cd /var/www/html/forums
root@Iluminado: ls
[Output]
root@Iluminado: chmod 666 inc/settings.php
root@Iluminado: chmod 666 inc/config.php
root@Iluminado: chmod 777 cache/
root@Iluminado: chmod 777 cache/themes
root@Iluminado: chmod 777 uploads/
root@Iluminado: chmod 777 uploads/avatar

Hit "Recheck" and bam, still nothing. I've tried CHmodding with a GUI using WinSCP and trying again through terminal, they say that the files are how they should be but MyBB just isn't liking it...
Have you check all requirements that mybb needs to install..
What is the output of the following command in that forums folder?
ls -la

That will show the mode of the files.
Is it saying all files have the wrong permissions or only some? (sorry if you answered this in your first post. I'm extremely tired at the moment, and can't see it in the first post)
In localhost sometimes you need to close browser and reopen everything to check too...

sometimes though they get updated but doesnt comes in 1 refresh.. try refreshing 2-3 times or more and see if everything is fine. Smile
It checks if it can rename/write to the files/folders; if it can't, then PHP doesn't have permission to do that, so something won't be configured properly somewhere.
(2011-04-21, 03:36 PM)Aries-Belgium Wrote: [ -> ]What is the output of the following command in that forums folder?
ls -la

That will show the mode of the files.

Here is the output:
[root@Iluminado ~]# ls -la /var/www/html/forums
total 1000
drwxr-xr-x. 10 root root   4096 Apr 21 21:45 .
drwxr-xr-x.  5 root root   4096 Apr 21 21:43 ..
drwxr-xr-x.  7 root root   4096 Apr 21 21:45 admin
-rw-r--r--.  1 root root   2719 Apr 18 03:33 announcements.php
drwxr-xr-x.  2 root root   4096 Apr 21 21:45 archive
-rw-r--r--.  1 root root   3575 Apr 18 03:33 attachment.php
drwsrwsrwt.  3 root root   4096 Apr 21 21:45 cache
-rw-r--r--.  1 root root  66703 Apr 18 03:33 calendar.php
-rw-r--r--.  1 root root   7536 Apr 18 03:33 captcha.php
-rw-r--r--.  1 root root    636 Apr 18 03:33 css.php
-rw-r--r--.  1 root root  18908 Apr 18 03:33 editpost.php
-rw-r--r--.  1 root root  31478 Apr 18 03:33 forumdisplay.php
-rw-r--r--.  1 root root  19696 Apr 18 03:34 global.php
-rw-r--r--.  1 root root   2684 Apr 18 03:34 htaccess.txt
drwxr-xr-x. 12 root root   4096 Apr 21 21:45 images
drwxr-xr-x.  9 root root   4096 Apr 21 21:48 inc
-rw-r--r--.  1 root root   9562 Apr 18 03:34 index.php
drwxr-xr-x.  4 root root   4096 Apr 21 21:45 install
drwxr-xr-x.  3 root root   4096 Apr 21 21:45 jscripts
-rw-r--r--.  1 root root   9018 Apr 18 03:34 managegroup.php
-rw-r--r--.  1 root root  10090 Apr 18 03:34 memberlist.php
-rw-r--r--.  1 root root  58705 Apr 18 03:34 member.php
-rw-r--r--.  1 root root  20107 Apr 18 03:34 misc.php
-rw-r--r--.  1 root root 102298 Apr 18 03:34 modcp.php
-rw-r--r--.  1 root root  69231 Apr 18 03:34 moderation.php
-rw-r--r--.  1 root root  35673 Apr 18 03:34 newreply.php
-rw-r--r--.  1 root root  28716 Apr 18 03:34 newthread.php
-rw-r--r--.  1 root root   5930 Apr 18 03:34 online.php
-rw-r--r--.  1 root root  22322 Apr 18 03:34 polls.php
-rw-r--r--.  1 root root  20020 Apr 18 03:34 portal.php
-rw-r--r--.  1 root root   5612 Apr 18 03:34 printthread.php
-rw-r--r--.  1 root root  59005 Apr 18 03:34 private.php
-rw-r--r--.  1 root root   3258 Apr 18 03:34 ratethread.php
-rw-r--r--.  1 root root   5058 Apr 18 03:34 report.php
-rw-r--r--.  1 root root  23508 Apr 18 03:34 reputation.php
-rw-r--r--.  1 root root    407 Apr 18 03:34 rss.php
-rw-r--r--.  1 root root  43265 Apr 18 03:34 search.php
-rw-r--r--.  1 root root   4740 Apr 18 03:34 sendthread.php
-rw-r--r--.  1 root root   4569 Apr 18 03:34 showteam.php
-rw-r--r--.  1 root root  37878 Apr 18 03:34 showthread.php
-rw-r--r--.  1 root root   5409 Apr 18 03:34 stats.php
-rw-r--r--.  1 root root   5303 Apr 18 03:34 syndication.php
-rw-r--r--.  1 root root   1585 Apr 18 03:34 task.php
drwsrwsrwt.  3 root root   4096 Apr 21 21:45 uploads
-rw-r--r--.  1 root root   4720 Apr 18 03:34 usercp2.php
-rw-r--r--.  1 root root  98257 Apr 18 03:34 usercp.php
-rw-r--r--.  1 root root  35113 Apr 18 03:34 warnings.php
-rw-r--r--.  1 root root  22808 Apr 18 03:34 xmlhttp.php

So as you can see the right folders (and files in the other dir's) are chmodded correctly..

(2011-04-21, 04:32 PM)Joshua Mayer Wrote: [ -> ]Is it saying all files have the wrong permissions or only some? (sorry if you answered this in your first post. I'm extremely tired at the moment, and can't see it in the first post)

Only the ones on the Requirements Check when installing MyBB

(2011-04-21, 04:37 PM)grave Wrote: [ -> ]In localhost sometimes you need to close browser and reopen everything to check too...

sometimes though they get updated but doesnt comes in 1 refresh.. try refreshing 2-3 times or more and see if everything is fine. Smile

Tried that multiple times with no success

(2011-04-21, 08:25 PM)MattRogowski Wrote: [ -> ]It checks if it can rename/write to the files/folders; if it can't, then PHP doesn't have permission to do that, so something won't be configured properly somewhere.

I think it may be this, any idea as to what may not be configured properly though? The only configuration files I've touched have been the bootloader (GRUB) and the Apache file, to enable the domain and secure it a little (disabled HTTP trace and the version).
you dont really need to make directory chmod "777", "755" works and is secured method...and for files it should be "644"..

and if the requirement says "not chmod correctly", you can ignore those message, as it's not necessary to make file and directories to "666" and "777" respectively, which is not recommended either...
Nope, it says "Not Writable" next to the files and directories that it needs (config, settings, uploads, avatars, cache) and only gives me the option to "Recheck".
Ok..than these things doesnt matter if it asks you to recheck... let it be... proceed further and make your site up...thats it
Have Fun Smile
Pages: 1 2 3 4 5