Skip to content

FireFly-iii update issue - nesting storage direcrories after multiple failsΒ #3399

@LapplandsCohan

Description

@LapplandsCohan

βœ… Have you read and understood the above guidelines?

yes

πŸ“œ What is the name of the script you are using?

Firefly III LXC

πŸ“‚ What was the exact command used to execute the script?

bash -c "$(wget -qLO - https://github.com/community-scripts/ProxmoxVE/raw/main/ct/firefly.sh)"

πŸ“ Provide a clear and concise description of the issue.

Not sure if this is a script issue or a Firefly issue.

I found a number of closed issues with the Firefly update script, but I couldn't find any regarding this nesting directory problem.

I ran the upgrade script, which after several minuted ended with a out of disc space error message. Increased storage size from default 2 GiB to 3 GiB and reran, but got the same error message. Increased storage space to 3, 4, 5, 6, and finally 8 GiB retrying the upgrade until I finally got another error message:

                                       
  Target class [hash] does not exist.  
                                       

In Container.php line 959:
                               
  Class "hash" does not exist  
                               

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

I googled, and this error seems to not be specific to Firefly, but can happen when any php artisan application is rebuilt if there is a problem with the cache, and the first recommendation is to delete the cache and try again.

Searching for cache gave me the following hits:

/opt/storage/storage/storage/storage/storage/framework/cache
/opt/storage/storage/storage/storage/framework/cache
/opt/storage/storage/storage/framework/cache
/opt/storage/storage/framework/cache
/opt/storage/framework/cache
/opt/firefly/storage/storage/storage/storage/storage/storage/framework/cache
/opt/firefly/storage/storage/storage/storage/storage/framework/cache
/opt/firefly/storage/storage/storage/storage/framework/cache
/opt/firefly/storage/storage/storage/framework/cache
/opt/firefly/storage/storage/framework/cache
/opt/firefly/storage/framework/cache
/opt/firefly/bootstrap/cache
/opt/firefly/vendor/psr/cache
/opt/firefly/vendor/symfony/cache

It seems like every failed upgrade attempt created a nested storage level under /opt/storage/ and /opt/firefly/storage/

βš™οΈ What settings are you using?

  • Default Settings
  • Advanced Settings

πŸ–₯️ Which Linux distribution are you using?

Debian 12

πŸ”„ Steps to reproduce the issue.

  1. Run the upgrade script with not enough disk space
  2. Run the upgrade script again

❌ Paste the full error output (if available).

β ‡ Updating Firefly to v6.2.10In Container.php line 961:
                                       
  Target class [hash] does not exist.  
                                       

In Container.php line 959:
                               
  Class "hash" does not exist  
                               

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

πŸ–ΌοΈ Additional context (optional).

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions