grav icon indicating copy to clipboard operation
grav copied to clipboard

Cannot update from 1.7.49.1 to 1.7.49.2

Open ltguillaume opened this issue 4 months ago • 6 comments

There is no feedback after clicking "Update Grav now", only a single error in the browser's developer console:

Uncaught TypeError: can't access property "size", updates_Instance.payload.grav.assets['grav-update'] is undefined
    64848 https://......./user/plugins/admin/themes/grav/js/admin.min.js?fef8111b95:1695
    jQuery 2
        dispatch
        handle

ltguillaume avatar Aug 28 '25 18:08 ltguillaume

Moreover, updated to 1.7.49.1 now on localhost, the admin area became unavailable - Not Found

The requested URL was not found on this server.

01Kuzma avatar Aug 29 '25 11:08 01Kuzma

@ltguillaume sounds like a JS cache issue, or an incomplete update. I would maybe try a direct-install with the update package downloaded directly from github.

@01Kuzma a Not Found error is generally an issue with .htaccess. It's not part of the update, but you might of removed it somehow, either that or admin itself. Check for .htaccess as the root of Grav install, and maybe uninstall/reinstall admin plugin agian.

rhukster avatar Aug 29 '25 15:08 rhukster

I will mention that the difference between 1.7.49.1 and 1.7.49.2 is merely a translation string thing and would not impact anything with updates:

https://github.com/getgrav/grav/commit/afc1513aaddbb79cf45c0a885ca8a1b4d2e6a654

This was the only difference, hence the most minor of version updates from .1 to .2

rhukster avatar Aug 29 '25 15:08 rhukster

@ltguillaume sounds like a JS cache issue, or an incomplete update. I would maybe try a direct-install with the update package downloaded directly from github.

I manually CRC-compared all files with v1.7.49.1 and there were no differences. But the previous update didn't work properly either, it just stopped showing anything, but after a page refresh it did seem like everything worked out (and considering the CRC-compare, it did). I really miss a proper progress indicator/live log during an update, even updating a plugin shows (a litte bit) more information.

ltguillaume avatar Aug 29 '25 16:08 ltguillaume

a Not Found error is generally an issue with .htaccess. It's not part of the update, but you might of removed it somehow, either that or admin itself. Check for .htaccess as the root of Grav install, and maybe uninstall/reinstall admin plugin agian. Hm, this does not help. Moreover, today the website area is throwing the 403 Forbidden error...

01Kuzma avatar Aug 30 '25 08:08 01Kuzma

The update from v1.7.49.2 to v1.7.49.4 worked perfectly fine. It also showed two steps (downloading 9.82MB, successful update) in the purple toast, something I haven't seen before.

ltguillaume avatar Sep 08 '25 17:09 ltguillaume