Salut @thelem,
J’ai enfin une page d’accueil complète
Il me reste cependant encore un problème: Les liens pour s’authentifier, s’inscrire ou voir les fonctionnalités me retournent tous une erreur 404 Not Found . Une idée?
Pour arriver jusque là, j’ai du reconstruire le registre Drupal, avec quelques pièges sur la route.
Ci-dessous, les étapes pour arriver jusqu’à ce résultat.
# Need sudo to run commands as another user
# Need composer to install Drush
# Need wget to allow Drush to download "Register Rebuild"
sudo apt-get install sudo composer wget
# Install Drush
sudo -u www-data composer global require drush/drush:8.*
# Start postgresql
sudo /etc/init.d/postgresql start
# Clear Drupal cache in DB
for i in cache cache_block cache_field cache_form cache_libraries cache_page cache_path cache_token cache_views cache_admin_menu cache_bootstrap cache_filter cache_image cache_menu cache_panels cache_rules cache_update cache_views_data; do sudo -u postgres psql -d framaforms -c "TRUNCATE $i"; done
# Do the rest as root
sudo -i
# Move to my site's directory
cd /var/www/html
# This commands throws an error. But it is necessary as without this call, I never got the main page even with the rest of the procedure below
/var/www/.composer/vendor/bin/drush ws
# Download the "Registry Rebuild"
/var/www/.composer/vendor/bin/drush @none dl registry_rebuild-7.x
# Rebuild Drupal registry
sudo /var/www/.composer/vendor/bin/drush rr
#Clear Drupal cache
/var/www/.composer/vendor/bin/drush cc all
# Force cache rebuild
/var/www/.composer/vendor/bin/drush ws