Questions tagged [drupal]

Drupal is an open-source, database-backed CMS written in PHP. It is maintained and supported by a worldwide community. Questions about installing and maintaining Drupal belong on Drupal.SE

Filter by
Sorted by
Tagged with
1
vote
1answer
66 views

Error sending email (from contact@example.com to contact@example.com with a response to (reply-to header) to undefined)

I have a Drupal 8 site installed on an Ubuntu 18.04 server with PostFix. I am able to send and receive emails, but the server cannot send notifications to itself. The email server address is contact@...
0
votes
0answers
14 views

Blocking Logins in Drupal 7 does not work

​Dear Colleagues, Good afternoon! But once, I come to enlist the help of this group. Some will certainly remember me, with the PhpMyAdmin problem that I ended up solving with the update. Now, I ...
0
votes
2answers
44 views

PHP Fatal error: tried to allocate 47264368 bytes

While running a website hosted into two app servers via load balancer, suddenly one app server stopped working and got hang. From the other app server access log found 499 status and also load average ...
0
votes
0answers
33 views

PHP docker container application running in AWS-EC2 which is using ELB shows 504 gateway error

I have a drupal application running inside a docker container which is using PHP 7.2. The docker container is running on an EC2 instance with the load balancer. The application usually shows a 504 ...
1
vote
0answers
50 views

Best Way to Achieve Solr Resilience for Drupal With Two Solr Nodes Available?

I'm trying to figure out the best way to deploy solr (6.6.6) on two nodes in conjunction with Drupal 7 to provide some kind of resilience. The first problem is that Drupal only supports the concept ...
0
votes
0answers
15 views

Cannot add a domain to existing drupal 7 site

Sorry in advance if this is a dumb question, I can't seem to figure out how to add a domain name to a D7 site, (currently using an IP). The website is hosted on digitalocean, the new domain is from ...
0
votes
0answers
51 views

How to diagnose: Ubuntu 16.04 error 403 forbidden in response to GET from updates.drupal.org

None of the 3 Drupal websites on this server are able to show available updates. Error message is: GuzzleHttp\Exception\ClientException: Client error: GET http://updates.drupal.org/release-...
-1
votes
1answer
749 views

My Nginx server is not working

I have an Apache server on Ubunu 18.04 with a Drupal 8 site that I want to migrate to Nginx and PHP7.3-FPM. This is the only site on the server. I do not know Nginx at all. The site works with Apache ...
0
votes
1answer
177 views

Varnish default.vcl to cover both Drupal and a simple regular website

I have a simple PHP index file website that changes color if refreshed on port 8080, but correctly shows the cached version of the page with the same color thanks to the following default.vcl: ...
1
vote
0answers
258 views

Drupal / nginx redirect domain without changing URL with proxy_pass

We have a Drupal 8 website which runs about 18 languages, but only the Chinese one has a separate domain. We want this domain, which for testing purposes is testchinese.com to redirect in the ...
0
votes
2answers
2k views

Client denied by server configuration on Apache 2.4

We have migrated multiple Drupal 7 / 8 sites to a new stack, where the main changes were replacing Apache 2.2 and FastCGI with Apache 2.4 and PHP-FPM. We have the following error on multiple sites: [...
1
vote
1answer
96 views

drupal and remote database

I get error "Failed to connect to your database server. The server reports the following message: SQLSTATE[HY000] [2003] Can't connect to MySQL server on '192.168.0.20' (13)." while installing drupal. ...
0
votes
1answer
73 views

How can I configure sites like subfolder on nginx?

I want to configure 3 sites on nginx (Drupal sites) www.domain.com == served in ==> /var/www/domain.com/ www.domain.com/folder01/ == served in ==> /var/www/folder01/ www....
1
vote
0answers
249 views

leader_only is not working in Elastic Beanstalk

We are doing CI/CD for drupal site using Jenkins. Now, we need to run drush commands which we should run only in single instance. For this, we have created elastic beanstalk config script with ...
1
vote
0answers
66 views

Add a fake subdirectory to uri

When installing drupal 8 with composer, the default installation moves to the subdirectory /web. When visiting the root at http://example.com apache 2.3 serves a 403, but when visiting http://example....
0
votes
3answers
336 views

Ansible playbook errors for installing Drupal

Please help in resolving the errors for the below playbook. There are few other playbooks and all that's for setting up Drupal. The below playbook is part of that setup which is throwing error. --...
0
votes
1answer
517 views

Nginx with php-fpm url encoding

I have also posted my question in Stackoverflow but i think here is more appropriate place to ask. I use docker and i have setup a nginx container with nginx 1.12.2, a php-fpm container with 5.6.33 ...
1
vote
1answer
80 views

How to configure .htaccess to bypass specific subdirectories?

I have three directories, Dir1,Dir2 & Dir3 in the root of my Drupal installation. I want to bypass these directories. I have tried the below in .htaccess and its not working (Allowing ...
0
votes
1answer
195 views

Zabbix - monitoring version numbers of software on a server (Drupal websites)

I have a web server that is running the Zabbix Agent (3.4.x), reporting the normal stuff back to a Zabbix Server. The web server runs a number of websites based on common software (Drupal, Magento etc)...
0
votes
1answer
60 views

Site hacked, need help to look for clues about how it happened [duplicate]

i recognized a successful hacking attempt where someone managed somehow to modify a file under my drupal installation and to inject javascript code the file that was hacked was :jquery-1.9.1.min.js ...
0
votes
1answer
206 views

Is it safe to give ownership of files to “daemon”?

I was having trouble uploading files using my CMS (Drupal). When I put more restrictive file permissions on, I could not upload anything. Then I changed the owner of the upload directory and all sub-...
0
votes
1answer
182 views

MySQL account has password, but only logs in without it

I am running Windows Server 2012 R2 trying to host a Drupal site. Because it is Drupal, I am trying to connect to a MySQL server rather than a MSSQL server. I created a new schema as well as a new ...
1
vote
1answer
42 views

Civicrm - Add SPF Record, All Emails are going to spam,

All of my civicrm email's are going to spam. do i have to add SPF records for it? and if yes what it would be? For more details: https://www.screencast.com/t/hG2xCuBuE
1
vote
1answer
252 views

Apache rewrite mod breaking apache

I am setting up Drupal Open Atrium, and halfway through the configuration receive an error: Clean Urls must be available and enabled to use OpenAtrium. https://www.drupal.org/docs/7/configuring-...
0
votes
2answers
382 views

Possible SQL Injection and malformed URLs on Drupal Server

We have a Production Drupal server serving content but some pages are broken when a pager link is clicked upon. It was found that the URL's are being changed with unrecognizable keywords. For example, ...
2
votes
1answer
1k views

NGINX + Drupal installed in subfolder on linux server

I'm trying to configure the server like this have this accessible addresses: domain.com/webmail (webmail app) domain.com/app (node.js app) domain.com/mailadmin (mail administration app) domain.com/...
0
votes
1answer
144 views

Performance issue on drupal

I am running a drupal 7 website on a Linux server (with 4 cores and 12GB RAM) with LEMP (nginx+php5-fpm+mysql). The drupal installation has a large number of modules enabled(all of which are needed). ...
0
votes
0answers
442 views

Directory Index forbidden on sites/default/files - Drupal NGINX

We noticed this error when users filled up forms on our Drupal site, attached an image and saved it. To identify the root cause (I expected it to be an ownership or a directory permission issue). I ...
0
votes
1answer
810 views

Integrating Web Application Firewall into this architecture

I need some help figuring out how to implement a Web Application Firewall (WAF) in my existing architecture. Currently I have 2 HAproxy servers clustered using keepalived which are responsible for ...
0
votes
0answers
324 views

Drupal on Apache: Consecutive PHP errors “Maximum execution time of 240 seconds exeeded”

This Apache/MySQL server (Debian 8) running a Drupal site shows a strange behaviour: There's always one Apache process running with 100% CPU utilization (according to htop). Every four minutes (~240 ...
0
votes
1answer
187 views

Where to place the .htaccess file on OpenShift for Drupal?

I would like to redirect to https and add this code to a .htaccess file for Drupal. Where should I place this file? RewriteCond %{HTTPS} off [OR] RewriteCond %{HTTP_HOST} ^www.domainname\.com* ...
0
votes
1answer
244 views

Drupal 8.0.5 and FreeBSD 10.2 Issues

I am running a FreeBSD 10.2 server with Apache 2.4.18, php56-, and SQL 57. I am trying to install Drupal 8.0.5, but I am stuck. I got the PHP stuff working, as well as the clean URL things that drupal ...
0
votes
1answer
125 views

How to show/include originating domain/application in Postfix logs

I have a server which hosts a number of applications mostly built with Drupal. These applications are configured to send mails and Postfix is my MTA. Is it possible to have the applications and/or ...
0
votes
1answer
56 views

Trying to get property of non-object in advagg_font_admin_settings_form()

I enabled the module Advanced CSS/JS Aggregation (advagg) 7.x-2.17 on Drupal 7 and now in my admin page admin/config/development/performance/advagg/font I see a warning: Trying to get property of non-...
2
votes
1answer
1k views

index.php 403 in Drupal on centos 7 with SELinux enabled [duplicate]

i tried to install drupal on centos, i have configure my server (install httpd, mysql, php, etc) everything looks good until the last part: hit the url to install drupal the problem here is once i ...
0
votes
1answer
583 views

Nginx limit_conn inheritance

I am trying to protect Drupal running on Nginx from simple DDoS with limit_conn and limit_req. But I encountered some strange behavior with inheritance of limit_conn directive which I cannot explain. ...
1
vote
0answers
154 views

Drupal multi-site, virtual hosts and CloudFlare

I'm hoping that someone with some experience with CloudFlare can lend me some guidance. Background Drupal multi-site hosting 200+ sites, launching new sites on a regular basis. Single IP for all ...
0
votes
1answer
523 views

Should I use Drupal with Nginx or Apache? [closed]

I'm currently running my own built server, where I host my own coded website, as well as websites I have built for local businesses. Currently it's running Ubuntu server edition, with Nginx. I already ...
0
votes
1answer
237 views

How to resize a root persistent disk of a Drupal/Debian instance on Google Compute Engine

It's about a Drupal 7 site running on a debian 7 virtual machine instance on Google Compute Engine, deployed by this tutoriel Actually noting is running because boot/root disk full, MySQL crash ... ...
1
vote
2answers
83 views

How do I change the username nginx/PHP creates files as

Is there a way in which nginx/php can be configured so it creates files with a specific user. For example when a drupal/wordpress site uploads a file the user is assigned like: john:www-data nginx....
0
votes
0answers
26 views

Prevent Drupal modules listing

Is there any way to prevent drupal modules to be enumerated by eventual attackers accessing know file locations ie: http://mysyte.io/sites/all/modules/extlink/README.txt
0
votes
1answer
335 views

Server denied check_authentication after migration of Drupal

I just moved a drupal website from one server to another. On the original server the site was set up directly in apache. On the new server, i have a docker layer in between: The machine runs a debian ...
0
votes
0answers
69 views

apache refuses to start when apc.shm_size is greater than 76M

I'm just setting up a new faster server for our Drupal site and was setting up APC and tried to set the apc.shm_size up to 128M however after restarting apache and reloading the APC Admin page Apache ...
0
votes
0answers
214 views

How do I accomplish Drupal “double gzip” prevention in Nginx?

There is this section of the default .htaccess that Drupal ships with: # Serve correct content types, and prevent mod_deflate double gzip. RewriteRule \.css\.gz$ - [T=text/css,E=no-gzip:1] ...
4
votes
1answer
4k views

NGINX cache error: conflicts with already declared size 0 in /etc/nginx/nginx.conf

My current nginx for drupal config gives following error. Somehow, I am not able to enable nginx cache. Tried different config but overtime i get the same error. Can anyone help please? nginx: [emerg]...
1
vote
1answer
196 views

ansible cannot download git repo on centos 7

I have this in my drupal roles to download drupal git --- - name: Install git yum: name=git state=latest - name: Clone Drupal git: repo=http://git.drupal.org/project/drupal.git dest=/var/...
1
vote
1answer
48 views

Drupal application load troubleshooting

I'm receiving some sporadic high server load on a Drupal application (really high. 8 cores, load average of 50). The load is normally sitting between 5-10. The Drupal application sits behind a ...
0
votes
1answer
521 views

Should Varnish Hits Touch PHP?

I have a reasonably large Drupal site sitting being Varnish on a box with 4GB of memory. I had thought (hoped? assumed?) that standing Varnish up in front of Nginx/PHP-FPM would take the load off of ...
4
votes
1answer
8k views

nginx - deny all *.php requests except index.php for security reasons

os: CentOS 7 nginx: 1.6.2 httpd: apache 2.4.6 cms: Drupal 7 After my server was compromised I removed all from server, reinstalled OS and soft, and restored data from backup. Now I configure all ...
3
votes
1answer
984 views

Determine if possible successful probe is successful exploit?

A logwatch report outputted the following message. A total of 1 possible successful probes were detected (the following URLs contain strings that match one or more of a listing of strings that ...

1
2 3 4 5 6