Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [deployment]

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

0
votes
0answers
10 views

install script invoked after changing database

So, I'm relatively new to D8, but I've had some experience with D7. The issue I'm having is in migrating a live site to a development environment to be worked on. I have proceeded to create a new ...
0
votes
0answers
24 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 ...
2
votes
1answer
42 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 ...
0
votes
2answers
55 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 ...
0
votes
0answers
23 views

Having trouble to move site from Xampp localhost to live server with backup migrate module

This is Drupal 7 with Xampp on Windows 10. The migration is to live server with Siteground. For the sites folder, and files, it all works fine. Problems is with database, when I try to restore the ...
0
votes
0answers
17 views

After deployment media URLs points to the old server

I recently migrated my Drupal 8 from one server to another by means of exporting/importing the DB and copying the folder to the new server. It seems to be working but when the application requests ...
0
votes
0answers
37 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:/...
0
votes
1answer
31 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 ...
-1
votes
1answer
381 views

How to deploy a Drupal 8 site? [closed]

I want to deploy a Drupal 8 site from localhost (Windows OS) to a live domain (Linux). How can I do this? I tried copying over the files, updating settings.php with the new database connection, and ...
0
votes
0answers
22 views

Deploying user accounts between two sites with deploy module

Currently I am configuring two virtual machines in preparation for one project. I'm supposed to utilize deploy module in order to sync project between two machines. So far i figured out how to deploy ...
0
votes
0answers
24 views

Managing site UUID when deploying Drupal in Docker [duplicate]

I'm setting up a CI-workflow, in which my build server build and deploy my Drupal containers (actually, a container with PHP-FPM with Drupal, another one with nginx, and so forth). The issue I'm ...
0
votes
0answers
135 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-...
0
votes
1answer
183 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 ...
2
votes
1answer
42 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 ...
0
votes
0answers
14 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 "...
0
votes
0answers
41 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 ...
4
votes
1answer
63 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 ...
0
votes
1answer
37 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 ...
0
votes
1answer
224 views

Move blocks programmatically in Drupal 8

I'm migrating a Drupal 7 site to Drupal 8. The old site uses drush block_configure (available in drush_extras) to put blocks in regions while deploying, as well as drush block-disable to remove ...
3
votes
1answer
758 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 ...
1
vote
1answer
139 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 ...
0
votes
1answer
28 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 ...
0
votes
2answers
575 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,...
3
votes
1answer
107 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 ...
0
votes
1answer
573 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....
1
vote
0answers
62 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 ...
0
votes
2answers
328 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'...
0
votes
0answers
24 views

Can I use bash only instead of Drush to config revert and cache rebuild?

Installing Drush on production servers can be difficult. I'm using rsync to move my file to the server. I only need to revert the config and rebuild the cache. Can I do that with pure bash and no ...
-1
votes
1answer
38 views

How to prevent users from updating “featurized” settings via the GUI?

We have some configuration pages where it is useful for privileged users to be able to see settings that have been exported as part of a feature, but there is no indication on the admin page that ...
0
votes
0answers
21 views

Development Instance from a large site

I have a Drupal instance in production that is very large and not reasonable to copy everything for local development. Having a large database and file system is no longer a good way to develop. Is ...
3
votes
1answer
77 views

How to keep Drupal site code in version control in sync with production code when using drush updates on servers?

I have 50 D7 sites I support (none are multisite). We do local development for changes to themes and modules tied to new functionality and bug fixes. Once the update works locally, we check that into ...
1
vote
2answers
137 views

Using 2 code repos, one Acquia and one private gitlab server for Drupal code base tracking

I run a few drupal 7 sites on acquia and I also have a separate gitlab server for sites that are not on Acquia. Is it possible to push to both repositories on Acquia and Gitlab?
0
votes
1answer
77 views

How to change relative path in hyperlinks?

I have developed site on localhost in XAMPP, in the folder C:\xampp\htdocs\drupLC Then everything uploaded to the server. And now all (or many of them) hyperlinks looks like example.com/drupLC/...
2
votes
1answer
46 views

Cloning a Drupal website without content

Drupal 8 ships with the new Configuration Management System. This system checks the sites UUID and only allows imports of configuration if the uuid is the same. This means, your steps to create a new ...
6
votes
0answers
935 views

How to deploy Drupal 8 to production? [closed]

I've got a Drupal 8 site in dev that was put together with composer. I think I've got a solid grasp on the dependency injection bit although the details are murky. Now I want to deploy it to ...
0
votes
2answers
60 views

Lock configurations

I have EForm module installed on my Drupal 8 website. My customer uses EForm module to create new forms. The problem is that newly created forms are storing in configurations. Every time I deploy my ...
2
votes
1answer
965 views

how to deploy from dev to staging and production?

Hello so here is my question, I have three environments for my drupal 7 installation Dev, Staging, Production, right now Dev has all the new code and well everything is setup there. The move of the ...
0
votes
0answers
914 views

Importing another drupal instance

I have developed a simple prototype in Drupal 8. It has some modules and contents. All of these are stored in Postgres database. Now I have copied all the code into another machine. I created a ...
-1
votes
1answer
373 views

Environment dependend workflow with configuration management

When using Drupal 7 with larger projects, we used a Custom module together with Features, Environment and Environment Indicator modules to keep special environment settings apart. We had at least one ...
1
vote
1answer
200 views

How do I debug connection problems while testing Deploy module while using local host?

I'm attempting to properly set up between the Deploy Module between these two by follow these instructions. I've used Drush QuickDrupal to set up two new Drupal 7 instances. $ drush qd d7-deploy-...
3
votes
4answers
951 views

Why don't I get any CSS after deploying my Drupal site?

I have deployed my Drupal 8 website, but I don't get any CSS on it. I deployed it on mydomain.com/newdrupal, maybe this needs extra configuring somewhere? When I check my logs, I have about 20 ...
0
votes
1answer
82 views

what is the use of universal unique identifier ,why its so much important in deployment?

What is the use of universal unique identifier in drupal7, why its play important role in deploy and service
1
vote
2answers
45 views

How to manage exported block configuration that site users can override?

Using core config management, we export configuration from developer's site instances and put than under version control. Eventually, this configuration is merged and ends up in production, where we ...
2
votes
2answers
64 views

How to deploy a module locally for testing?

I'm currently developing my first custom module for Drupal 7 and am having a hard time finding documentation about the available local deployment strategies. I have a custom module project, ...
15
votes
3answers
294 views

How do I deploy/manage similar sites from an unique profile, without dumps?

I do not like the "cloning website" solutions which implies dumping a database and importing this dump in another environment. This does not look like a real world way of deploying several instances ...
1
vote
0answers
28 views

How to revert a feature in hook_update programatically? [duplicate]

I've created a feature to update a menu. Then in my deploy module, I did this: function phoenix_deploy_update_7106() { $feature_list = array( 'campus_dropdown', ); features_revert($...
6
votes
4answers
8k views

Content export and import / content deployment

It's easy to deploy configuration of content types, views and so on... What are the options for deployment of content (nodes) between different environments?
0
votes
1answer
61 views

Under what circumstances should a site be placed into maintenance mode

I was recently ask to deploy a set of changes to a production server. The changes included Drupal core and contrib module updates, as well as, updated custom theme related code. In preparation for ...
2
votes
1answer
271 views

Drupal Deployment to Dev & Prod and Git Code Repository Setup

I have a dev and a prod server with 4 other developers. What is the most efficient way of setting up a development code push environment without the need to have to get too involved in the process? I ...
2
votes
1answer
2k views

Best way to backup and restore the databases of a Drupal 7 multisite using Drush?

I'm looking for an easy way to backup (and if needed restore) the databases of a Drupal multisite using Drush. Drush command I use to backup all the databases: drush @sites sql-dump --result-file --...