Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[5.x] 404 on every page after upgrade to beta 1 #9987

Closed
DanielDarrenJones opened this issue May 2, 2024 · 7 comments
Closed

[5.x] 404 on every page after upgrade to beta 1 #9987

DanielDarrenJones opened this issue May 2, 2024 · 7 comments

Comments

@DanielDarrenJones
Copy link
Contributor

Bug description

After upgrading to v5 every page is now 404ing after clearing the stache.

How to reproduce

Upgrade to v5, clear stache

Logs

No response

Environment

Environment
Application Name: Pelorus
Laravel Version: 10.48.10
PHP Version: 8.3.6
Composer Version: 2.7.1
Environment: local
Debug Mode: ENABLED
URL: localhost
Maintenance Mode: OFF

Cache
Config: NOT CACHED
Events: NOT CACHED
Routes: NOT CACHED
Views: CACHED

Drivers
Broadcasting: log
Cache: statamic
Database: mysql
Logs: stack / single
Mail: log
Queue: sync
Session: file

Statamic
Addons: 7
Sites: 8 (Travel (GB), Travel (US), Aviation (GB), and 5 more)
Stache Watcher: Disabled
Static Caching: Disabled
Version: 5.0.0-beta.1 PRO

Statamic Addons
aryehraber/statamic-captcha: 1.10.0
doefom/currency-fieldtype: 1.3.0
gerttimmerman/statamic-zapier: 1.5
jacksleight/statamic-bard-texstyle: 3.2.0
ndx/statamic-bard-color-picker: 1.2.0
ryanmitchell/statamic-translation-manager: 1.5.0
statamic/eloquent-driver: 3.4.0

Statamic Eloquent Driver
Asset Containers: eloquent
Assets: eloquent
Blueprints: file
Collection Trees: file
Collections: file
Entries: file
Forms: file
Global Sets: file
Global Variables: file
Navigation Trees: file
Navigations: file
Revisions: file
Taxonomies: file
Terms: file

Installation

Fresh statamic/statamic site via CLI

Antlers Parser

Runtime (default)

Additional details

No response

@jasonvarga
Copy link
Member

Could you please confirm these for me?

  • Run artisan cache:clear, then visit your site. Does it 404?
  • Run artisan cache:clear, then please stache:warm, then visit your site. Does it 404?

@o1y
Copy link
Contributor

o1y commented May 3, 2024

Run artisan cache:clear, then visit your site. Does it 404?
Run artisan cache:clear, then please stache:warm, then visit your site. Does it 404?

Yes, it 404.

I've also been experiencing 404s on 80% of my entries since beta.1. All entries that are resolving have invalid URLs to other pages, for example, breadcrumbs are missing parent URLs. It's not super easy to create a step-by-step reproduction for you, but it's caused by PR #9844 🫤

@duncanmcclean duncanmcclean changed the title Statamic 5 - 404 on every page after upgrade to beta 1 [5.x] 404 on every page after upgrade to beta 1 May 3, 2024
@jasonvarga
Copy link
Member

Can either of you share a site where this is happening?

@jasonvarga
Copy link
Member

Should be fixed in #9998. Released in beta 3.

@o1y
Copy link
Contributor

o1y commented May 4, 2024

Cool, no more 404! Thx! 🚀

@duncanmcclean
Copy link
Member

May the 404s not be with you.

@jasonvarga
Copy link
Member

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants