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

Community guidelines

Please keep discussions civil and on-topic. Repeated violations may lead to a temporary ban.

General

Contents in bin folder delete itself during core updates

Started by Duc 5 days ago · 3 replies · 35 views
5 days 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.

5 days ago

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

5 days 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.

5 days 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 Jerry Hunt, 3 days ago
2 70 5 hours ago
General · by pamtbaau, 10 hours ago
1 45 9 hours ago
General · by Andy Miller, 22 hours ago
0 43 22 hours ago
General · by Marcel, 12 months ago
6 341 4 days ago
General · by Pedro M, 2 weeks ago
6 143 6 days ago