Firstly, I generated SSL certs, set my reverse 80 redirect ->443 web proxy to apache localport.
Set up the sites-available, ports.conf, documentroot, www-data perms the usual web server stuff.
Set up mariaDB, created a blank user, password and database.
Some issues I noticed setting up:
I couldn't get the install.php script working as others have said in different issues, due to it looking for /install/install.
I got around this by manually importing the schema, but did get SOME functionality by simply copying the .php files to a subdirectory called 'install'. It got hung up on the next screen trying to import the database but just deleted the /install dir at that point.
From here, I imagine most of this is configured during the install process, but as I couldn't get it to function (probably could have with a bit more investigation) I had to do the rest manually:
Verification email with no verification email server
I got around this by manually setting the verification flag in the user SQL table to 1
Formatting css was not loading properly. It was reaching out to pastethis.in.
This is linked to the sitename in the SQL tables. mySQL database/site_info/baseurl was set to pastethis.in. I had to replace this with my domain name and it then properly found the js and css. I later found you're able to set this via web admin panel /admin/admin.php but this was my method.
UPDATE site_info SET baseurl = 'mydomain.tld' WHERE baseurl = 'pastethis.in'
Accessing the admin panel
I had to modify the 'admin' table with my username and password hash and then the admin panel logged in fine. Since this is a local install just for pasting info between servers and PCs, this is fine. I then turned off email verification, etc.
Site thinks it's private and disregards the setting configured in the admin panel, hence, not able to access 'Archives' list of pastes
Here was just a case of modifying /archive.php and setting
// Set site originally to private.
$privatesite = 'off';
Now, it works great for my purposes. I'm not sure on the google analytics front what it's trying to do, but I think I turned that off.
You may wish to add some of this to the readme or leave this issue here in case others find themselves in this situation.
Firstly, I generated SSL certs, set my reverse 80 redirect ->443 web proxy to apache localport. Set up the sites-available, ports.conf, documentroot, www-data perms the usual web server stuff. Set up mariaDB, created a blank user, password and database.
Some issues I noticed setting up:
From here, I imagine most of this is configured during the install process, but as I couldn't get it to function (probably could have with a bit more investigation) I had to do the rest manually:
Verification email with no verification email server I got around this by manually setting the verification flag in the user SQL table to 1
Formatting css was not loading properly. It was reaching out to pastethis.in. This is linked to the sitename in the SQL tables. mySQL database/site_info/baseurl was set to pastethis.in. I had to replace this with my domain name and it then properly found the js and css. I later found you're able to set this via web admin panel /admin/admin.php but this was my method. UPDATE site_info SET baseurl = 'mydomain.tld' WHERE baseurl = 'pastethis.in'
Accessing the admin panel I had to modify the 'admin' table with my username and password hash and then the admin panel logged in fine. Since this is a local install just for pasting info between servers and PCs, this is fine. I then turned off email verification, etc.
Site thinks it's private and disregards the setting configured in the admin panel, hence, not able to access 'Archives' list of pastes Here was just a case of modifying /archive.php and setting // Set site originally to private. $privatesite = 'off';
Now, it works great for my purposes. I'm not sure on the google analytics front what it's trying to do, but I think I turned that off.
You may wish to add some of this to the readme or leave this issue here in case others find themselves in this situation.