Can't install Sendy on Ubuntu 14.04 + Nginx + MariaDB (all logs attached)
I cannot get Sendy getting started on my Ubuntu machine. Despite following the Get started guide
and checking all errors from Troubleshooting
, I get an nearly white screen when trying to install.
I downloaded the latest version (v1.1.9.5), extracted it to a folder, set user rights for the whole folder to sudo chmod u+x *
, set the rights for folder uploads
to 777
and made sure that there are no empty spaces before or after the first line in the config.php
file. Also, I double-checked that I did not put in wrong apostrophes in Vim.
Here is my server configuration and error logs (I changed my URL to server.com):
- Ubuntu 14.04.1 LTS
- PHP 5.5.9-1ubuntu4.5
- mysql Ver 15.1 Distrib 5.5.40-MariaDB, for debian-linux-gnu (x86_64) using readline 5.2
- nginx/1.4.6
- Nginx Settings
- Nearly white screen
- Error log
What am I doing wrong? Any help is appreciated!
This discussion has been closed.
Comments
Hi,
Sendy is not supported on Nginx. It's only supported on Apache as described in the FAQ on Sendy's website http://sendy.co/#faqs-buy.
Or try using this Nginx configuration file by another Sendy user - https://gist.github.com/refringe/6545132
Alternatively, I provide setup and installation of LAMP stack and Sendy on Amazon EC2 (http://aws.amazon.com/ec2/) for $79.
Amazon's 'micro' server with 613MB of RAM cost $0.013/hour ($9.5 per month). If you're a new AWS user, a free tier is available so you can use it free for 1 year. Also, the first 2,000 emails sent via SES each day that are invoked from an EC2 server are free as well.
Just let me know if you wish to go with this.
Thanks.
Best regards,
Ben
Thanks Ben,
I know that it's not supported by default. That's why the standard FAQs and guidelines did not help. I used the Nginx configuration you're pointed towards, but that obviously was not the problem. Maybe someone else who is using Nginx might find the problem.
As MariaDB is a dropin replacement to MySQL and the Nginx configuration working for other people, I tend towards thinking it might be either a PHP problem or a file permission problem.
Hey Ben,
would you mind posting my question to "Troubleshooting"? Maybe someone else can help me, I think the community is very helpful.
Thanks,
Martin
I feel your pain. Took me a while. Here goes:
EDIT: Bloody hell, this markup filter is a pain in the *ss. I can't get the formatting right. Make sure not to miss any lines when copying the code.
SERVERCODE
server {
listen 80 default_server;
listen [::]:80 ipv6only=on;
server_name www.domain.com;
rewrite ^ https://$server_name$request_uri? permanent;
}
ENDSERVERCODE
The rewrite line forwards non www to www and is optional
Sendy code
END SENDY CODE
For reference purposes, below is my file as it is. It is built for a https website that runs wordpress in the root and sendy in a subfolder.
MY FULL FILE
server {
listen 80 default_server;
listen [::]:80 ipv6only=on;
server_name www.skillcollector.com;
rewrite ^ https://$server_name$request_uri? permanent;
}
server {
}
END MY FULL FILE