Firefly v6.2.15 update error #1010

Closed
opened 2026-02-04 22:35:34 +03:00 by OVERLORD · 9 comments
Owner

Originally created by @aperezva on GitHub (May 26, 2025).

Please verify that you have read and understood the guidelines.

yes

What type of issue is this?

Other

A clear and concise description of the issue.

Updating Firefly to v6.2.15 return an error

Which browser are you using?

Chrome

If relevant, including screenshots or a code block can be helpful in clarifying the issue.

✔️ Stopped Apache2
⠼ Updating Firefly to v6.2.15
Illuminate\Contracts\Container\BindingResolutionException

Target class [hash] does not exist.

at vendor/laravel/framework/src/Illuminate/Container/Container.php:1019
1015▕
1016▕ try {
1017▕ $reflector = new ReflectionClass($concrete);
1018▕ } catch (ReflectionException $e) {
➜ 1019▕ throw new BindingResolutionException("Target class [$concrete] does not exist.", 0, $e);
1020▕ }
1021▕
1022▕ // If the type is not instantiable, the developer is attempting to resolve
1023▕ // an abstract type such as an Interface or Abstract Class and there is

  +13 vendor frames 

14 app/Exceptions/Handler.php:221
Illuminate\Auth\AuthManager::__call()
+3 vendor frames

18 artisan:35
Illuminate\Foundation\Console\Kernel::handle()

⠦ Updating Firefly to v6.2.15
[ERROR] in line 48: exit code 0: while executing command $STD php artisan migrate --seed --force

Please provide detailed steps to reproduce the issue.

try to update firwfly to v.6.2.15

Originally created by @aperezva on GitHub (May 26, 2025). ### Please verify that you have read and understood the guidelines. yes ### What type of issue is this? Other ### A clear and concise description of the issue. Updating Firefly to v6.2.15 return an error ### Which browser are you using? Chrome ### If relevant, including screenshots or a code block can be helpful in clarifying the issue. ✔️ Stopped Apache2 ⠼ Updating Firefly to v6.2.15 Illuminate\Contracts\Container\BindingResolutionException Target class [hash] does not exist. at vendor/laravel/framework/src/Illuminate/Container/Container.php:1019 1015▕ 1016▕ try { 1017▕ $reflector = new ReflectionClass($concrete); 1018▕ } catch (ReflectionException $e) { ➜ 1019▕ throw new BindingResolutionException("Target class [$concrete] does not exist.", 0, $e); 1020▕ } 1021▕ 1022▕ // If the type is not instantiable, the developer is attempting to resolve 1023▕ // an abstract type such as an Interface or Abstract Class and there is +13 vendor frames 14 app/Exceptions/Handler.php:221 Illuminate\Auth\AuthManager::__call() +3 vendor frames 18 artisan:35 Illuminate\Foundation\Console\Kernel::handle() ⠦ Updating Firefly to v6.2.15 [ERROR] in line 48: exit code 0: while executing command $STD php artisan migrate --seed --force ### Please provide detailed steps to reproduce the issue. try to update firwfly to v.6.2.15
OVERLORD added the website label 2026-02-04 22:35:34 +03:00
Author
Owner

@MickLesk commented on GitHub (May 26, 2025):

Have you asked in there repo? This are the official instructions

@MickLesk commented on GitHub (May 26, 2025): Have you asked in there repo? This are the official instructions
Author
Owner

@aperezva commented on GitHub (May 26, 2025):

Where @MickLesk ?

@aperezva commented on GitHub (May 26, 2025): Where @MickLesk ?
Author
Owner

@MickLesk commented on GitHub (May 26, 2025):

Firefly Repo. https://github.com/firefly-iii/firefly-iii

@MickLesk commented on GitHub (May 26, 2025): Firefly Repo. https://github.com/firefly-iii/firefly-iii
Author
Owner

@aperezva commented on GitHub (May 26, 2025):

Thanks, Complicated to me, I will wait to have a clear steps to migrate, the reason I use scritps it´s because i don´t want to go deeper in commands etc

Thanks at all

@aperezva commented on GitHub (May 26, 2025): Thanks, Complicated to me, I will wait to have a clear steps to migrate, the reason I use scritps it´s because i don´t want to go deeper in commands etc Thanks at all
Author
Owner

@PatrickS7 commented on GitHub (May 28, 2025):

Run a backup if you haven't already, and then run the following in the Firefly LXC console:

rm /opt/firefly/bootstrap/cache/*.php

and now I'm up to date!

See: https://github.com/orgs/firefly-iii/discussions/10386

You may also need to run these 2 afterwards and restart the container if you get a 500 error after upgrade:

sudo chown -R www-data:www-data /opt/firefly/storage
sudo chmod -R 775 /opt/firefly/storage
@PatrickS7 commented on GitHub (May 28, 2025): Run a backup if you haven't already, and then run the following in the Firefly LXC console: `rm /opt/firefly/bootstrap/cache/*.php` and now I'm up to date! See: https://github.com/orgs/firefly-iii/discussions/10386 You may also need to run these 2 afterwards and restart the container if you get a 500 error after upgrade: ``` sudo chown -R www-data:www-data /opt/firefly/storage sudo chmod -R 775 /opt/firefly/storage ```
Author
Owner

@MickLesk commented on GitHub (May 28, 2025):

wtf... ^^

@MickLesk commented on GitHub (May 28, 2025): wtf... ^^
Author
Owner

@Hr-Frodo commented on GitHub (May 28, 2025):

Hello,
thanks for the hint with deleting the cache -> but it didn't work for me to update to v6.2.16

`#25 {main}
"}

Error

Class "DB" not found

at app/Console/Commands/Upgrade/FixPostgresSequences.php:46
42▕ * Execute the console command.
43▕ */
44▕ public function handle(): int
45▕ {
➜ 46▕ if ('pgsql' !== \DB::connection()->getName()) {
47▕ return 0;
48▕ }
49▕ $this->friendlyLine('Going to verify PostgreSQL table sequences.');
50▕ $tablesToCheck = ['2fa_tokens', 'account_meta', 'account_types', 'accounts', 'attachments', 'auto_budgets', 'available_budgets', 'bills', 'budget_limits', 'budget_transaction', 'budget_transaction_journal', 'budgets', 'categories', 'category_transaction', 'category_transaction_journal', 'configuration', 'currency_exchange_rates', 'failed_jobs', 'group_journals', 'jobs', 'journal_links', 'journal_meta', 'link_types', 'locations', 'migrations', 'notes', 'oauth_clients', 'oauth_personal_access_clients', 'object_groups', 'permissions', 'piggy_bank_events', 'piggy_bank_repetitions', 'piggy_banks', 'preferences', 'recurrences', 'recurrences_meta', 'recurrences_repetitions', 'recurrences_transactions', 'roles', 'rt_meta', 'rule_actions', 'rule_groups', 'rule_triggers', 'rules', 'tag_transaction_journal', 'tags', 'transaction_currencies', 'transaction_groups', 'transaction_journals', 'transaction_types', 'transactions', 'users', 'webhook_attempts', 'webhook_messages', 'webhooks'];

  +10 vendor frames 

11 app/Console/Commands/Upgrade/UpgradeDatabase.php:96
Illuminate\Console\Command::call()

12 app/Console/Commands/Upgrade/UpgradeDatabase.php:47
FireflyIII\Console\Commands\Upgrade\UpgradeDatabase::callInitialCommands()

⠸ Updating Firefly to v6.2.16
[ERROR] in line 51: exit code 0: while executing command $STD php artisan firefly-iii:upgrade-database`

thanks for helping

@Hr-Frodo commented on GitHub (May 28, 2025): Hello, thanks for the hint with deleting the cache -> but it didn't work for me to update to v6.2.16 `#25 {main} "} Error Class "DB" not found at app/Console/Commands/Upgrade/FixPostgresSequences.php:46 42▕ * Execute the console command. 43▕ */ 44▕ public function handle(): int 45▕ { ➜ 46▕ if ('pgsql' !== \DB::connection()->getName()) { 47▕ return 0; 48▕ } 49▕ $this->friendlyLine('Going to verify PostgreSQL table sequences.'); 50▕ $tablesToCheck = ['2fa_tokens', 'account_meta', 'account_types', 'accounts', 'attachments', 'auto_budgets', 'available_budgets', 'bills', 'budget_limits', 'budget_transaction', 'budget_transaction_journal', 'budgets', 'categories', 'category_transaction', 'category_transaction_journal', 'configuration', 'currency_exchange_rates', 'failed_jobs', 'group_journals', 'jobs', 'journal_links', 'journal_meta', 'link_types', 'locations', 'migrations', 'notes', 'oauth_clients', 'oauth_personal_access_clients', 'object_groups', 'permissions', 'piggy_bank_events', 'piggy_bank_repetitions', 'piggy_banks', 'preferences', 'recurrences', 'recurrences_meta', 'recurrences_repetitions', 'recurrences_transactions', 'roles', 'rt_meta', 'rule_actions', 'rule_groups', 'rule_triggers', 'rules', 'tag_transaction_journal', 'tags', 'transaction_currencies', 'transaction_groups', 'transaction_journals', 'transaction_types', 'transactions', 'users', 'webhook_attempts', 'webhook_messages', 'webhooks']; +10 vendor frames 11 app/Console/Commands/Upgrade/UpgradeDatabase.php:96 Illuminate\Console\Command::call() 12 app/Console/Commands/Upgrade/UpgradeDatabase.php:47 FireflyIII\Console\Commands\Upgrade\UpgradeDatabase::callInitialCommands() ⠸ Updating Firefly to v6.2.16 [ERROR] in line 51: exit code 0: while executing command $STD php artisan firefly-iii:upgrade-database` thanks for helping
Author
Owner

@glacialcalamity commented on GitHub (Jun 8, 2025):

wtf... ^^

I'm sorry, what's the issue here? This works for the regular user looking to leverage the scripts from this community. What's the wtf for? Am I missing something?

@glacialcalamity commented on GitHub (Jun 8, 2025): > wtf... ^^ I'm sorry, what's the issue here? This works for the regular user looking to leverage the scripts from this community. What's the wtf for? Am I missing something?
Author
Owner

@MickLesk commented on GitHub (Jun 8, 2025):

Because this one:
https://github.com/community-scripts/ProxmoxVE/issues/4729#issuecomment-2916588078

Firefly has every release some issues

@MickLesk commented on GitHub (Jun 8, 2025): Because this one: https://github.com/community-scripts/ProxmoxVE/issues/4729#issuecomment-2916588078 Firefly has every release some issues
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/ProxmoxVE#1010