Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

undrwd's avatar

Envoyer still using Forge Console Kernel.php

I am having an issue with Envoyer where it is using this Kernel.php file:

/home/forge/project/app/Console/Kernel.php

(I discovered this when saving off a copy of the Kernel.php file and getting a Warning: Ambiguous class resolution after composer dumpautoload -o)

instead of

/home/forge/project/envoyer/current/app/Console/Kernel.php

Is there something I missed changing over from forge to envoyer or should I just delete the files out of /home/forge/project/app/Console/

Thanks in advance.

0 likes
7 replies
ejdelmonico's avatar

When I switched a few client sites over, I ran into little buggy issues so I just nuked everything related to the Forge site and deployed from Envoyer. Everything seemed to work well from then on.

undrwd's avatar

Thanks for the reply. I tried renaming the forge app directory . . . the web app appears to function properly but running php artisan shows an error.

So it's like the web app is using the envoyer/current directory but php artisan is still using the forge one.

undrwd's avatar

for envoyer should I be running php artisan from the project folder or should I be going down in to the envoyer/current folder?

my console kernel.php is running from the original folder, not the envoyer/current one though when I add a command to it or set a schedule it is only active if I add it to the kernel.php in the original forge folder not the envoyer/current one.

undrwd's avatar

ok I think I'm tracking down the issue . . . I should be running php artisan under envoyer/current so I can see the commands available and the second issue I think my crons aren't running for envoyer/current they are running for the forge install . . . so basically I was running php artisan from the forge folder and my cron was also running from there so that's why it appears envoyer app was using those.

So can you confirm I should update my schedule command in forge to run the envoyer/current one instead of what I typically enter as the command for a forge site?

ejdelmonico's avatar

Because artisan is found in the project root and its reference directories are based on the project root, you should run artisan commands from the project root. In other words, if you see it in the directory you are in, run it from there. If it gets to taking up too much more time, I would just nuke the entire VM and build a new Forge server and hook up Envoyer from the beginning. I have done that serval times. Just pay close attention to the site directory changes because of Envoyer using current.

Essentially, it ends up being less time to start over. What I do is:

  • Leave the current server and DNS as is
  • Build a new Forge server with PHP71 and MariaDB
  • Delete the default site and add new one (remember to include current)
  • Nuke your Envoyer site and create it again
  • Do the SSH dance by adding your computer key and Envoyer key
  • Test SSH from Envoyer and your computer
  • SSH in and run sudo apt update && sudo apt upgrade -y leaving the previous config file if asked about upgrading them
  • Setup the site in Envoyer again
  • add .env key/values in server tab after adding server of course...make sure you check the server to sync with (new IP)
  • After your Envoyer setup is complete, deploy
  • Add SSL
  • Change DNS to point to new server after everything checks out
  • Do your addins like BugSnag or whatever
  • Destroy old server

That is approximately the process I use to spin up a new server to replace another.

Estimated time spent: 1 hour or less

undrwd's avatar

y, I could spin up a new one . . . running artisan in envoyer/current functions properly though . . . initially I was expecting to run it in the same location as the forge site but there it seems to be interacting with the original forge install.

So I think I can just run artisan in envoyer/current and adjust the schedule command for the cron to the envoyer/current location and things will function as expected. Although I haven't seen any mention of this in the envoyer docs, or laracasts.

Anyone else have any information on where the appropriate location is for artisan commands and whether the schedule command should be adjusted for envoyer/current vs what you typically use for forge sites?

tetepoter1971's avatar

Zoloft Einnehmen. am nächsten Tag. Zuverlässige Apotheke - Klicken Sie hier === http://url-qr.tk/Zoloft === Gehen Sie zur Apotheke. Benötigen Sie zuverlässige, hochwertige Medikamente, möchten aber Ihr Haus nicht verlassen, um sie zu kaufen? Suchen Sie nicht weiter als in unserer Online-Apotheke! Genießen Sie eine große Auswahl an hochwertigen Medikamenten zu günstigen Preisen. Pluspunkte, erhalten Sie sogar Einsparungen bei den Ergänzungen. Mit unserem sicheren Checkout-System können Sie sicher sein, dass Ihre Einkäufe sicher und diskret sind. Holen Sie sich die Medikamente, die Sie heute brauchen, wenn Sie in unserer Online-Apotheke kaufen!

  • Schnelle Lieferung und absolute Privatsphäre

  • Bonuspillen und große Rabatte auf jede nächste Bestellung

  • Verschiedene Zahlungsmethoden: MasterCard / Visa / AMEX / Banküberweisung / PayPal / iDeal / BlueCard / Bitcoin

  • Bis zu 70 % günstiger als in Ihrer Apotheke vor Ort.

  • Pharmazeutische Qualität und Dosierung.

  • Absolut anonym und legal. Zoloft Einnehmen

  • Niedriger Preis für hochwertige Medikamente

  • Ihre volle Zufriedenheit garantiert oder Ihr Geld zurück Zoloft See full list on netdoktor deOct 27, 2019 · Wann und wie sollte ich Sertralin am besten einnehmen? Dr Dr T Weigl Aufgrund der antriebssteigernden Wirkung von Sertralin, wird eine morgendliche Einnahme empfohlen Das Medikament sollte mit ca 250 ml Wasser eingenommen werden May 31, 2023 · Wechselwirkungen zwischen "ZOLOFT 100 mg Filmtabletten" und Lebens- Genussmitteln Bitte verzichten Sie auf alkoholische Getränke und Speisen, solange Sie das Arzneimittel einnehmen Bitte verzichten Sie auf Grapefruit, grapefruitartige Früchte (z B Pomelo) und grapefruithaltige Lebensmittel, solange Sie das Arzneimittel einnehmen People also askWas müssen sie vor der Einnahme von Zoloft beachten?Was ist Zoloft und wie wirkt es?Sie Zoloft einnehmen Arzneimittel eignen sich nicht immer für jeden Menschen Informieren Sie Ihren Arzt vor der Einnahme von Zoloft, wenn Sie eine der folgenden Erkrankungen haben oder hatten oder einer der folgenden Punkte auf Sie zutrifft: – wenn Sie Epilepsie (Anfälle) haben oder Anfallsleiden in der Vergangenheit hatten Suchen Sie Der Wirkstoff Sertralin darf nicht gleichzeitig mit Antidepressiva aus der Gruppe der Monoaminooxidasehemmern (MAO-Hemmer wie Tranylcypromin, Moclobemid oder Selegilin) angewendet werden, da es dabei zu einer für das Gehirn schädlichen Erhöhung der Serotonin-Konzentration kommen kann Anzeichen einer solchen Vergiftung(Serotonin-Syndrom) sind Erreg Was ist die maximale Dosis von Zoloft?Bei Panikstörung, sozialer Angststörung und posttraumatischer Belastungsstörung sollte die Behandlung mit 25 mg Tag begonnen (hierfür steht Zoloft 20 mg ml Konzentrat zur Herstellung einer Lösung zum Einnehmen zur Verfügung) und dann nach 1 Woche auf 50 mg Tag erhöht werden Wie oft sollte man Zoloft einnehmen?Aug 9, 2022 · Bei Einnahme von Zoloft zusammen mit Nahrungsmitteln und Getränken Die Zoloft-Tabletten können zwischen oder zu den Mahlzeiten eingenommen werden Während der Einnahme von Zoloft sollte auf den Konsum von Alkohol verzichtet werden

Please or to participate in this conversation.