Shopware 6 Update Dilemma: How to Stay on LTS When the Web Installer Suggests a Newer Version
Navigating Shopware 6 Updates: Staying on LTS While the Web Installer Pushes Newer Versions
A common challenge faced by Shopware 6 users is managing updates, especially when aiming for specific security patches within a Long Term Support (LTS) branch. This community discussion highlights a user's experience attempting to update their Shopware 6.6.10.5 installation to the security-focused 6.6.10.23 version. The core issue: the Shopware web installer unexpectedly offered only the much newer 6.7.13.1, leaving the user unsure how to proceed with their desired targeted update.
The Problem: Web Installer Defaults to Latest
The user, 'finsti', downloaded the shopware-installer.phar.php specifically for 6.6.10.23 from the Shopware changelog. However, upon running it, the installer presented:
Current version: 6.6.10.5
Update version: 6.7.13.1This behavior raised questions about the intended update path for LTS versions and why the installer didn't provide an option to select 6.6.10.23. The user preferred the official web installer route over manual Composer updates, despite having SSH/Composer access.
Immediate Solutions and User Error Correction
Community member 'Max_Shop' quickly identified the likely culprits and provided actionable advice:
- Browser Cache: The installer might be displaying outdated version information due to browser cache. Opening the installer in a private browsing tab (incognito mode) was suggested to ensure the latest version data (the JSON file with available versions) is fetched.
- Version Selection: Crucially, the web installer *does* offer version selection. While it defaults to showing the newest available version, the 'Update version' field (e.g., 6.7.13.1 in this case) is clickable and expands into a dropdown list, allowing users to choose their desired target version, including specific LTS releases.
Following this advice, 'finsti' confirmed that the update to 6.6.10.23 proceeded without issues, suggesting that either a cache clear or simply discovering the dropdown functionality resolved the immediate problem.
Strategic Advice for Shopware 6 LTS Users
'raymond-de' offered valuable strategic insights beyond the immediate technical fix, particularly relevant for those considering their Shopware 6 update roadmap:
- Shopware 6 Security Plugin: For immediate security concerns, the Shopware 6 Security Plugin can be used to address vulnerabilities without a full platform update.
- LTS Version Benefits: Shopware 6.6.10.x is an LTS (Long Term Support) version, meaning it will continue to receive security updates and even new features (e.g., support for warranty and guarantee labels) for an extended period. This makes staying on an LTS branch a viable and often recommended strategy for stability.
- Upgrade Considerations: Upgrading to a major new branch like 6.7 can entail significant effort, including adjustments to plugins, themes, and custom code. It's not a decision to be taken lightly.
- Future Planning: 'raymond-de' recommended staying on the 6.6.10.x branch for a while, possibly upgrading to a later 6.6.10.x version that includes new features. A major upgrade to 6.7 could be postponed until early 2027, potentially even skipping 6.7 to jump directly to Shopware 6.8 when it's released.
Conclusion
This forum thread serves as a valuable guide for Shopware users. It clarifies that the web installer *does* support specific version selection, often hidden behind a clickable version number, and that browser caching can interfere with update options. Furthermore, it provides excellent strategic advice on managing Shopware 6 LTS versions, emphasizing the benefits of staying on a stable branch while planning future major upgrades carefully. Understanding these nuances is crucial for maintaining a secure and stable Shopware environment.