Notes on problems: installing 1.11 on fresh Linux InstallPosted on: 10/02/14 11:10AM
I just successfully installed Gelbooru 1.11 on a fresh Linux install. This guide (
code.google.com/p/imgbrd-grabber/wiki/Gelbooru)
was extremely helpful! There were a few problems, partly as I'm not a Linux expert. This is my attempt to document the
problems in hope to help future Gelbooru installers.
>4. If you are using linux, give the "images", "images/1" and "thumbnails" folders writable permissions.
The tmp folder also needs writing permission, according to comments elsewhere.
>5. Then, go to
localhost/phpmyadmin/. If you have to login, use "root" as username and "" as password (no password).
Login with the username and password established when MySQL was installed. See #7 below as well.
I also had to install phpmyadmin first.
>7. Then, open the file "config.php" with a plain text editor (I don’t recommend using a WYSIWYG editor such as word).
These are a little tricky for the neophyte, and have some changes in 1.11:
$mysql_user
$mysql_pass
These need to be set to the user/pass values that have admin rights to MySQL. I needed to set them
to the account details I established when I installed MySQL.
A symptom of the problems I encountered was the "db_create" during the install process DID NOT CREATE
THE DATABASE. phpMyAdmin e.g. said "no tables in database". The subsequent "ALTER TABLE" statement later
reported "table 'tag_index' doesn't exist".
>$mysql_db = "asdf"; $mysql_db = "gelbooru";
Assuming that you created your database with the name "gelbooru".
>$site_url = "
127.0.0.1/branches/0.1.10/0.1.10/"; $site_url = "
localhost/gelbooru";>$thumbnail_url
Using "
localhost" for these two URLs will only work if you're going to access Gelbooru from localhost.
I'll be accessing my Gelbooru server from my Intranet: to do so, I needed to use the ip address of the
Linux machine.
E.g. $thumbnail_url = "
192.168.111.1/gelbooru/thumbnails/"; Use the ip address of your box or the
machine name if possible. Hope the ip address doesn't change.
The symptom of this is as a poster mentioned in the Gelbooru forum: the Gelbooru page "didn't have CSS, and
looked like plain HTML". Also, the thumbnails did not appear. Looking at the page source in my browser, I
saw the thumbnail URL was "
localhost/gelbooru/thumbnails/xxxxxx.jpg".
>And finally add, just before the "?>" at the end of the file:
It is not explained what the purpose of these changes are, and how to select values to use.
I *did* find a number of error messages in the Apache error.log. These settings, at least, fixes
some of those error messages:
>$lowerlimit = 20;
>$no_cache = false;
>error_reporting(0);
Might turn off all errors?
>10. If you don’t see any errors the installation went well! As the script suggests, you can now delete the c:\wamp\www\gelbooru\install folder.
Actually, I didn't see any errors, and the installation was utterly f*cked. Don't be hasty to delete the install
folder until you validate the database tables EXIST. This is easily done by trying to perform step 11: if that is
successful, THEN you can delete the install ...