Skip to main content

Questions tagged [deployment]

Use it for questions about deployment: staging content, managing and syncing sites across multiple servers.

Filter by
Sorted by
Tagged with
2 votes
0 answers
54 views

Automatically trigger Acquia pipelines job when content is updated

My team is fetching a large portion of our site's content at build time by using the i18n Gatsby plugin and downloading content from Drupal. The content we are fetching at build time rarely needs to ...
Amy's user avatar
  • 21
0 votes
0 answers
223 views

There were errors validating the config synchronization after changes to modules and config

After many hurdles, struggles, and "learning moments", I pushed my site to staging successfully. Unfortunately, I am running into numerous issues when I try to push updates to a deployed ...
GeorgeCiesinski's user avatar
0 votes
1 answer
50 views

Config split is imported only every second time of jenkins job run

I have some weird behavior with drush cim when running from a jenkins job. It seems like a config split is only imported every second time or so when the job is run. The update skript containing the ...
macbert's user avatar
  • 363
0 votes
2 answers
170 views

How can I remove test directories when deploying?

When deploying Drupal, there are a lot of files in test directories, none of which are needed in a production environment. There's an ongoing issue to Exclude test files from release packages, but how ...
Patrick Kenny's user avatar
2 votes
0 answers
353 views

Is it possible to run Drush commands during the build stage of a deployment pipeline?

Apologies in advance for the long questions. Background: We are building a 4-step AWS pipeline to deploy our site to an ECS container. The stages are as follows: Source Build Deploy Post-deploy At ...
Dynamdilshan's user avatar
-1 votes
1 answer
105 views

Azure web services does not remove index.php from URL

I have a PHP-based (drupal) website running with Azure web services. It uses NGINX, and the urls are broken. The homepage is absolutely fine, but once i go to the login link (/user/login), it gives a ...
syter's user avatar
  • 11
0 votes
1 answer
216 views

Deploying drupal 9 on a remote server [closed]

I've built my website on my local PC and I'm ready to go live and move it to the remote server. I've bought a shared hosting package (so I can't run scripts etc, but I can copy the files over and ...
spiderplant0's user avatar
-1 votes
1 answer
1k views

All pages give 404 using nginx

I am building a drupal site with drupal 9, and i want to publish it using azure devops. Only the problem is that every page, except the frontpage, gives a 404 error. I've looked around the internet, ...
syter's user avatar
  • 11
0 votes
0 answers
53 views

How do I fix these issues I get on a cloned site?

I am maintaining a Drupal site using Docksal, at work. During the weekend, I wanted to work on it at home, from my computer. I cloned the repository git clone [email protected]:user/project.git folder ...
nathan111777's user avatar
3 votes
1 answer
278 views

How do you display a version number on a footer file? [closed]

When I deploy my Drupal code, I build an artifact with BLT. I would like to write a file of some kind with the version number (tag provided to the artifact) that could then be read and displayed in ...
shelane's user avatar
  • 511
0 votes
0 answers
128 views

How to manually deploy on a shared hosting?

In my shared hosting: no git, no composer, no root folder settings. Only the folder "public_html". And my Drupal files: vendor, web, composer.json, composer.lock. How should I put it all in ...
Famaxis's user avatar
  • 21
0 votes
2 answers
420 views

How to deal with config changes in prod and by multiple developers?

I have two scenarios in configuration management that I am unsure how to deal with: Geeky user makes config changes in production. What is the best practice to import these changes in dev without ...
Extect's user avatar
  • 109
0 votes
0 answers
52 views

How do I connect Netbeans IDE to AWS Bitnami installation?

I'm hosting a Drupal 8 installation on AWS using the recommended Bitnami image. I'd like to be able to edit some of the files remotely from my computer using the NetBeans IDE. I've successfully ...
TeeVee's user avatar
  • 1
1 vote
0 answers
85 views

What is the best practice to update our internal code from Dev to Prod for multiple sites?

Details: We are not sure of the best practice to use for updating internal code, such as custom modules and theme. There seems to be two main processes to take and both look like the correct answer. ...
Mitchel Hanson's user avatar
0 votes
0 answers
57 views

Unexpected error after migration to a new host

I'm having a bit of trouble finding out what's going on with my Drupal installation. I started building a site on a test server a while ago. Now it's time to move the entire website as it is to a new ...
alex-schuster's user avatar
0 votes
0 answers
56 views

Rollbacking from Yaml based configuration to database based configuration

We recently changed the way we deploy our Drupal site on our testing environment to a docker image. The issue is that we were using a file based configuration. The current applied configuration is not ...
Gabriel's user avatar
0 votes
0 answers
60 views

Workflow Rules breaking site deployment

I'm trying to deploy a development Drupal instance to a test environment, but something is going wrong with Rules. I copied the entire site's filesystem, dumped the database with mysqldump, imported ...
Joe Miller's user avatar
1 vote
1 answer
88 views

Decoupled Drupal - Security: files structure

I am running a Drupal 8.9.2 site as a content repository accessed via an Angular 8 app. So there is one administrator who uses the Drupal interface to write content / upload files eccc.... and ...
elenat82's user avatar
1 vote
0 answers
56 views

Decoupled Drupal - Security [closed]

I am running a Drupal 8.9.2 site as a content repository accessed via an Angular 8 app. So there is one administrator who uses the Drupal interface to write content / upload files eccc.... and ...
elenat82's user avatar
2 votes
0 answers
170 views

Can entity IDs (node, taxonomy, etc.) be synchronized across environments?

It seems the content synchronization module syncs entities UUIDs, but not their entity IDs (like TID, NID, etc). Since it only does UUID, this can result in environments with mismatched IDs for the ...
fallenturtle's user avatar
1 vote
1 answer
150 views

Acquia BLT - How to put remote config_split config values back into version control

I have been using Acquia BLT and config split. I understand how to set up the config splits and deploy them using BLT. What I don't understand is - once I have a split in place, say on dev, and I've ...
dmgig's user avatar
  • 129
0 votes
0 answers
244 views

What is the correct way to 'fix' a site originally installed an developed using Composer, but deployed using FTP?

I have put together a site using the Drupal Varbase distribution. To do this I installed using composer, this is my first project using Composer. Now that I'm done in development I'm working on ...
masimba's user avatar
0 votes
2 answers
621 views

Create configuration storage programmattically for list_string

On a paragraph type, I have a field I want to migrate to a new field of type "list_string". To do that in the deployment and like our automatic deployment begin by an update of the database follow by ...
Claire D's user avatar
  • 656
0 votes
1 answer
55 views

Deployment of full database dump still causes error

I want to deploy my local DB to a staging server. The local DB dump was exported with all tables. Including the "cache_" prefix table structures with no data exported. After deployed to staging (...
sunfffd's user avatar
  • 13
0 votes
2 answers
2k views

How can you change the temporary directory?

I migrated the site from the local server to live server. But the images do not appear - the website logo and some PDFs. I've been seeing the problem could be here "Config" >> "file system" and my ...
Daria Vakolenko's user avatar
0 votes
3 answers
535 views

How do you deploy a change to a main menu?

We have a small D7 site. We want to deactivate a main menu item. On dev server I was able to deactivate it in /admin/structure/menu/manage/main-menu I believe The menu is stored in the DB, right. ...
whitefleaCH's user avatar
  • 1,311
0 votes
0 answers
128 views

Broken css/image links after moving

I've been trying to fix an issue with moving my drupal installation. Some first information: I am using the Open Social module; I used a localhost a DNS to connect my Xampp to the same subdomain as ...
ronald1993's user avatar
1 vote
0 answers
477 views

How can I deploy an existing local site to Pantheon?

I have an existing local site that I've developed. In most "normal" instances, I would simply FTP the everything to the external host server, upload and install the database, and life would be good. ...
sea26.2's user avatar
  • 1,014
0 votes
0 answers
177 views

ReflectionException: Class \MenuBlockKernelViewSubscriber does not exist

Doing a simple staging to production migration, copied all files, and the database,. Imported the database successfully but now when visiting homepage of the site I get the below error message/...
Michael G's user avatar
4 votes
1 answer
105 views

Host doesn't support nested folder structures for deployment. How do I adjust Composer?

So, I have to deploy a drupal 8 site to a host which doesn't provide functionality to specify an entry point for a Drupal site which is nested below the site root folder. How can I update the folder ...
nizz0k's user avatar
  • 1,172
0 votes
1 answer
348 views

Menus, drush uli link, and some images not working after moving site to localhost

I've just gotten a site I'm supposed to do some work on but I'm having trouble with migrating to a local development environment. I don't have admin access to the site itself, but I do have access to ...
nizz0k's user avatar
  • 1,172
2 votes
1 answer
435 views

Syncing Development Site with Production Site

I recently built my first Drupal 8 site. I've updated the production site since it's been launched, and I wanted to sync it with the development site before I create another content type. Could ...
Tom Nguyen's user avatar
0 votes
2 answers
201 views

Development without pulling production DB to your local machine

When you push configuration to production, any configuration that has changed in production that has not been exported into code will either be reset to the values in code or be wiped out entirely if ...
Joseph's user avatar
  • 1,598
0 votes
0 answers
134 views

Deploy Media Field Images From Staging to Production

I'm trying to find a way to copy nodes (plus associated images) and (ideally) users from a Drupal 7 staging site into production. In theory, this "Deploy - Content Staging" module is perfect: https:/...
BrettSh's user avatar
  • 109
0 votes
1 answer
78 views

How to use Docker for a drupal development site and then deploy to online provider?

I am operating a Drupal website with two installations: a development site on my local machine (dev) a live site at my ISP offering an Apache httpd, with PHP and MySQL (live) For dev, so far I have ...
George Blackburn's user avatar
0 votes
0 answers
180 views

Environment Deployment Process

Here's a quick rundown of what I've done. (Bear in mind I'm still fairly new to this whole Drupal environment): Started my site in a Dev environment using the drupal-composer project: composer create-...
ACanadianCoder's user avatar
0 votes
1 answer
1k views

How to export content from dev environment for deployment to production environment?

We have to deploy content of around 37 content types from development to production environment. Each content type is having around 10 to 12 nodes. So, we have around 360 nodes for migrating to ...
Himanshu Batra's user avatar
2 votes
1 answer
81 views

Deployment strategy for servers on internal network

I am following composer based workflow for Drupal 8, in which I commit only custom code and use composer install to install it on another environment. However, on new workflow, the dev, test, staging ...
Anish Sheela's user avatar
0 votes
0 answers
17 views

Can't enable drupal 7 membership suite module

Just installed MS core, Membership suite on drupal 7. installation is ok, I can see the new module on the admin page, but can not click on the enable box to activate/enable the new module. it says "...
mark's user avatar
  • 1
0 votes
0 answers
73 views

Continous Deployment in Drupal

I want to deploy my drupal project to higher environment - DEV -> QA --> Staging --> Production. So i understand the following moving parts 1) Drupal code - everything inside var/www/html. (this is ...
Prabhu shanmughapriyan's user avatar
4 votes
1 answer
158 views

Best practice to deploy an update which depend of a new configuration

In an entity type, I need to replace a field by another with a more complexe behavior. This new behavior can reproduce the old field and add new. Like this behavior have an impact on the design, I ...
Claire D's user avatar
  • 656
0 votes
1 answer
67 views

Running an immutable setup in production

I'm looking into using Docker to streamline my Drupal development workflow. One approach would be to locally create a Docker image for my Drupal installation (not the database, just the Drupal files ...
kenneho's user avatar
  • 101
20 votes
5 answers
8k views

Order of drush commands for automated deployment?

What order should the following drush commands be ran? config-import updatedb entity-updates Also, I see entity-updates fail a lot due to field_delete_data* tables existing. How can I delete them as ...
Paul Canning's user avatar
1 vote
0 answers
224 views

Problem in deploying Drupal 8 application

I am trying to deploy a Drupal 8 application to another folder from development. Using PGSQL as database server. I have database named xyz. I am copying that database to another one named abc. The ...
Pupil's user avatar
  • 147
0 votes
1 answer
415 views

Bulk redirect update from CSV: in code or manually?

I have a D7 question. My latest site change involves using the Path Redirect Import module and drush path-redirect-import to bulk-create a bunch of URL redirects from a CSV file. It works fine in dev ...
UTAN_dev's user avatar
  • 151
0 votes
2 answers
2k views

Clearing cache breaks site

I'm trying to load a production site in a dev environment using the site's codebase (core 8.3.7, contrib and custom modules and vendor folder) and the current database. After struggling a bit with it,...
Joum's user avatar
  • 336
2 votes
1 answer
360 views

Best method of pushing content changes that contains paragraph fields from dev to production?

I manage a very big site with over 30k nodes and these nodes have many fields in them including paragaph fields with many sub fields in them too. Currently when testing and adding in content. I have ...
Patoshi パトシ's user avatar
1 vote
1 answer
2k views

How do I deploy a local site?

I've been getting mixed messages and there is practically no solid up-to-date documentation, I just want to know the standard procedure for moving a locally developed Drupal 8 site to an online server....
user1930581's user avatar
1 vote
0 answers
145 views

How do deploy existing website on digital ocean? [closed]

I do not find appropriate instruction on how do deploy local drupal 8 website on remote server hosted on digital ocean. I found only on how to install new website but not putting existing. Does ...
user63301's user avatar
  • 231
2 votes
2 answers
647 views

How to deploy a site?

I have Drupal 8 website created with composer. I put all files to my remote server in the sitename/www/ but my page won't load. I receive such an error: Fatal error: Class 'Drupal\Core\DrupalKernel'...
user63301's user avatar
  • 231