Skip to content
Grav 2.0 is officially stable. Read the announcement →
General

Contents in bin folder delete itself during core updates

Started by Duc 4 weeks ago · 3 replies · 195 views
4 weeks ago

I have a strange behavior with the bin folder. The contents inside of it deletes itself during a core update. The update will fail during the process. Accessing the website during this time says update in progress. Try again later. Inside the bin folder which contains 4 files are gone. Upgrading the plugin via cli is ok. Using the admin to upgrade the core is fine.

BASH
duc@nginx:/var/www/httpd/jcb/bin$ ls
composer.phar gpm grav plugin

Under tools -> reports in admin shows no errors and green all across. Admin page and website runs fine.

4 weeks ago

Can you clarify? At first you say files get deleted, but later you say updating both via CLI and admin are fine 🤔

4 weeks ago

Sorry for the confusion.

Basically, when I update via CLI, the files inside the bin folders gets deleted during the process. Thus, the update failed.

However, if I update the core by logging into the admin gui, it updates just fine.

4 weeks ago

This is the error during the update:

TXT
duc@nginx:/var/www/httpd/jcb$ sudo bin/gpm selfupgrade -f

GPM Releases Configuration: Stable

Grav v1.7.53 is now available [release date: Tue Jun 16 23:12:54 2026].
You are currently using v1.7.52.

 Would you like to read the changelog before proceeding? [y|N]  (yes/no) [no]:
 > n

 Would you like to upgrade now? [y|N]  (yes/no) [no]:
 > y

Preparing to upgrade to v1.7.53..
    |- Downloading upgrade [9.36M]...   100%
    |- Installing upgrade...    error
    |  '- Unknown error
    '- Installation failed or aborted.

Suggested topics

Topic Participants Replies Views Activity
General · by Hanns Mattes, 3 weeks ago
1 266 3 weeks ago
General · by Andy Miller, 3 weeks ago
0 194 3 weeks ago
General · by Jerry Hunt, 3 weeks ago
2 328 3 weeks ago
General · by pamtbaau, 3 weeks ago
1 251 3 weeks ago
General · by Andy Miller, 3 weeks ago
0 218 3 weeks ago