Shopware Extensions
English
English
  • Shop Studio Docs
  • Extensions
    • Pixel Your Shop
      • Installation
      • Tracking
        • Google Analytics Tracking
        • Google Ads Tracking
        • Google Tag Manager
        • Facebook Tracking
        • Microsoft Advertising
        • Instagram Tracking
        • Pinterest Tracking
        • Hotjar Tracking
      • Cookie Consent
        • Shopware
        • Cookie Bot
      • Development
        • Debug
        • Change default events
      • Need help?
    • Resend order confirmation mail
      • Installation
      • Resend email
      • Need help?
    • Recipes
      • Installation
      • Setup
      • Create & publish recipes
      • Set up PDFs
      • Need help?
    • Blog/Magazine
      • Installation
      • Setup
      • Create & publish posts
      • Need help?
    • Advanced Search (Blog + Recipes)
      • Installation
      • Need help?
    • Hotjar
      • Installation
      • Setup
      • Need help?
    • Google Tag Manager
      • Installation
      • Setup
      • Events
      • Need help?
    • Personalized customer greeting
      • Installation
      • Setup
      • Change Snippets
      • Need help?
    • Google Ads
      • Installation
      • Setup
      • How to get Conversion ID and label
      • Dynamic remarketing setup
      • Conversions und events
      • Need help?
    • Back in stock notification
      • Installation
      • Setup
      • Common sources of errors
      • Need help?
    • Microsoft Advertising
      • Installation
      • Need Help?
    • Tree per order
      • Installation
      • Setup
        • TreeMates as provider
        • Custom provider
      • How it works
        • TreeMates as provider
        • Custom provider
      • Export
      • Common sources of error
      • Need help?
    • Health Check
      • Installation
      • Setup
      • Program additional checks
      • Need help?
    • Nutrition Labeling
      • Installation
      • Setup
      • Need help?
    • Product Mix Configurator
      • Installation
  • tracking
Powered by GitBook
On this page

Was this helpful?

  1. Extensions
  2. Tree per order

Common sources of error

On this page you will find common error sources, for which we get weekly requests. Most of the error sources are due to the installation and refer to the

APP_URL is wrong in the .env

On the server there is an .env file where an important URL is stored at the variable APP_URL. This URL is used so that the external app contains a URL from your Shopware store for communication back (this is an external Shopware cloud app).

Unfortunately, this URL is almost always set incorrectly for self-hosted stores - already by the installer. The URL could be similarly wrong as here:

APP_URL="http://127.0.0.1"

It is important to use the URL of the store for the correction. It is also important to note http & https. In some cases, it can also be a different URL to the admin of the store (eg Shopware PWA or multiple store domains within one installation). Correct would be e.g.

APP_URL="https://www.my-shop.com"

After the change, save the file once and clear the store cache. Now a new window will appear in the admin because the URL has changed. Here would be a way to tell all external cloud apps that the URL has changed because the store has "moved". There is a little more at this point: https://developer.shopware.com/docs/guides/plugins/apps/app-base-guide#handling-the-migration-of-shops

Finally, reinstall the app again. After that everything should work as far as possible.

PreviousExportNextNeed help?

Last updated 2 years ago

Was this helpful?