Hi I'm new to limesurvey. I'm trying to install Limesruvey CE on a linux VPS I own. My target is to install it with the following settings:
* Webserver: nginx
* DB: Postgres
* PHP: 7.4
I have:
* Installed PHP7.4 & PHP7.4-fpm
* Installed nginx
* Installed Postgres
* I have downloaded the limesurvey ce edition and unpacked it under /var/www/limesurvey (i.e. I have /var/www/limesurvey/index.php and /var/www/limesurvey/admin directory etc.)
* I have added a configuration to my nginx under sites-available as follows:
Code:
# file is /etc/nginx/sites-available/surveys.example.com
server {
listen 80;
listen [::]:80;
server_name surveys.example.com;
root /var/www/limesurvey/;
index index.php;
location / {
try_files $uri $uri/ /index.php?$args;
}
location ~ \.php$ {
include snippets/fastcgi-php.conf;
fastcgi_pass unix:/var/run/php/php7.4-fpm.sock;
}
}
Accessing
surveys.example.com/admin
I am shown the starting page:
When clicking on "Start installation" I get a Bad request - "The CSRF token could not be verified." error:
Does anyone know what might be the problem?
I have tried to search the forum but the only CSRF issues I have found are not related to the installation process.
Let me know if more information would be required.