Comments (6)
donc pour information détaillée
il faut modifier le fichier /var/www/mercator/config/trustedproxy.php et modifier la ligne
'headers' => Illuminate\Http\Request::HEADER_X_FORWARDED_ALL,
en
'headers' => Illuminate\Http\Request::HEADER_X_FORWARDED_FOR | Illuminate\Http\Request::HEADER_X_FORWARDED_HOST | Illuminate\Http\Request::HEADER_X_FORWARDED_PORT | Illuminate\Http\Request::HEADER_X_FORWARDED_PROTO | Illuminate\Http\Request::HEADER_X_FORWARDED_AWS_ELB,
puis réaliser la mise a jour:
cd /var/www/mercator
git pull
php artisan migrate
composer update
php artisan config:clear && php artisan view:clear
désormais plus d'erreurs
merci
from mercator.
Cela ne se produit pas sur ma version.
As-tu bien la dernière version du code ?
As-tu effacer le cache ?
Peux-tu m'envoyer une capture d'écran des données envoyées ?
from mercator.
Bonjour Didier
alors étapes de ce jour:
réalisation d'un snapshot
j'ai relancé la mise a jour (je l'avais faite il y a environ 15 jours) en suivant ceci:
cd /var/www/mercator
git pull
php artisan migrate
composer update
puis voici le message:
5 package suggestions were added by new dependencies, use composer suggest
to see details.
Generating optimized autoload files
Illuminate\Foundation\ComposerScripts::postAutoloadDump
@php artisan package:discover --ansi
In trustedproxy.php line 48:
Undefined constant Illuminate\Http\Request::HEADER_X_FORWARDED_ALL
Script @php artisan package:discover --ansi handling the post-autoload-dump event returned with error code 1
du coup l'accès a mercator HS et je suis revenu en arriere sur mon snapshot
merci de ton aide
from mercator.
from mercator.
desole mais concretement je ne sais pas ce qu'il faut faire
from mercator.
C'est décrit ici : #381
from mercator.
Related Issues (20)
- BUG : Consultation de la vue logical_infrastructure HOT 1
- BUG : Consultation de la vue logical_infrastructure HOT 1
- Login page in French HOT 8
- Mauvais lien vers les processus, sur la page de descriptif d'une activité HOT 1
- Flux manquants dans la fonction Exploration HOT 2
- insertion d'image HOT 1
- Certificat CSS - HTTPS HOT 8
- Mise a jour base CVE HOT 2
- Connexion à une base de donnée externe - Connexion en SSL/TLS HOT 2
- Applications : Search CPE Common Plateforme Enumeration HOT 2
- [Docker] Impossibilité d'utiliser l'extension PHP LDAP dans l'image docker par défaut HOT 4
- Bug Flux HOT 6
- Erreur 500 Menu Serveurs Logiques HOT 7
- Impossible de démarrer la stack docker-compose HOT 4
- Chiffrement base de données HOT 2
- Serveurs DNS et DHCP en double-pile HOT 1
- Problèmes rencontrés avec les API Mercator HOT 14
- Ajout d'adresses IP de routeurs impossible (champ de base de données trop court) HOT 3
- probleme mise a jour HOT 8
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mercator.