Skip to content

Unable to Backup mariadb #70

@TrueBankai416

Description

@TrueBankai416

Issue filing prerequisites

  • I've checked the documentation.
  • I've looked for similar issues both Open and Closed.
  • I've tried clearing both cache and cookies in my browser or tried opening the app in the Incognito/InPrivate window.

Related:
InvoiceShelf/InvoiceShelf#477

Describe the bug

When trying to backup either full or database i get error

The dump process failed with a none successful exitcode. Exitcode ======== 127: Command not found Output ====== <no output> Error Output ============ sh: mysqldump: not found

Steps to Reproduce the issue

  1. Login
  2. Navigate to Settings
  3. Select Backup
  4. Choose backup option Full or only-db

Expected behaviour

Preform database backup

Actual behaviour

throws error due to the image not having the mysql client installed

Docker

  • App running in Docker Container.
  • Docker container running behind Reverse proxy.

InvoiceShelf version

2.2.0-alpha2

PHP version

v8.3.25

Database type

MariaDB

Database version

v10.11

Web Browser

FireFox

Server OS

Ubuntu LXC on Proxmox

Reverse-proxy logs

N/A

Laravel/PHP logs

InvoiceShelf/docs#1 /var/www/html/vendor/laravel/framework/src/Illuminate/Http/Middleware/ValidatePostSize.php(27): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}()
InvoiceShelf/InvoiceShelf#88 /var/www/html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(208): Illuminate\\Http\\Middleware\\ValidatePostSize->handle()
InvoiceShelf/InvoiceShelf#89 /var/www/html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/PreventRequestsDuringMaintenance.php(109): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}()
InvoiceShelf/InvoiceShelf#90 /var/www/html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(208): Illuminate\\Foundation\\Http\\Middleware\\PreventRequestsDuringMaintenance->handle()
InvoiceShelf/InvoiceShelf#91 /var/www/html/vendor/laravel/framework/src/Illuminate/Http/Middleware/HandleCors.php(61): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}()
InvoiceShelf/InvoiceShelf#92 /var/www/html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(208): Illuminate\\Http\\Middleware\\HandleCors->handle()
InvoiceShelf/InvoiceShelf#93 /var/www/html/vendor/laravel/framework/src/Illuminate/Http/Middleware/TrustProxies.php(58): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}()
InvoiceShelf/InvoiceShelf#94 /var/www/html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(208): Illuminate\\Http\\Middleware\\TrustProxies->handle()
InvoiceShelf/InvoiceShelf#95 /var/www/html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/InvokeDeferredCallbacks.php(22): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}()
InvoiceShelf/InvoiceShelf#96 /var/www/html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(208): Illuminate\\Foundation\\Http\\Middleware\\InvokeDeferredCallbacks->handle()
InvoiceShelf/InvoiceShelf#97 /var/www/html/vendor/laravel/framework/src/Illuminate/Http/Middleware/ValidatePathEncoding.php(26): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}()
InvoiceShelf/InvoiceShelf#98 /var/www/html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(208): Illuminate\\Http\\Middleware\\ValidatePathEncoding->handle()
InvoiceShelf/InvoiceShelf#99 /var/www/html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(126): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}()
InvoiceShelf/InvoiceShelf#100 /var/www/html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(175): Illuminate\\Pipeline\\Pipeline->then()
InvoiceShelf/InvoiceShelf#101 /var/www/html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(144): Illuminate\\Foundation\\Http\\Kernel->sendRequestThroughRouter()
InvoiceShelf/InvoiceShelf#102 /var/www/html/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1219): Illuminate\\Foundation\\Http\\Kernel->handle()
InvoiceShelf/InvoiceShelf#103 /var/www/html/public/index.php(17): Illuminate\\Foundation\\Application->handleRequest()
#104 {main}
"}

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions