Skip to content

db:download task : Read-only file system  #13

Description

@tazeverywhere

Hi @kszymukowicz,

I use deployer-extended-wp-composer with a roots-bedrock setup for all my wp projects and usually everything works nicely. Dev-env is powered by local app (localwp.com).

Recently, after an upgrade from deployer-extended-wordpress-composer v4.0 to v7.0, during process of dep db:pull production, I have now an error on the "db:download" step.

As I understand the error, the process failed during the dumps trying to create a dir on the remote server ("mkdir" see error output above) ?
I have a Read-only file system error.

But if I look at the dumps folder on the remote server, dumps are created.
If I try a db:backup task, everything works as well.

Everything work fine for deploy, but I can't find the problem with db:pull.

Cmd and error output are:

dep db:pull production
➤ Executing task db:pull
In Process.php line 250:
                                                                                                                                               
The command "./vendor/bin/dep db:download production --options=dumpcode:e10709937a788678d7d9c0d2372b48fa " failed.                           
                                                                                                                                               
  Exit Code: 1(General error)                                                                                                                  
                                                                                                                                               
  Working directory: /Users/xxx/LocalWebsites/mywebsite/app                                                                                  
                                                                                                                                               
  Output:                                                                                                                                      
  ================                                                                                                                             
  ➤ Executing task db:download                                                                                                                 
                                                                                                                                               
                                                                                                                                               
  Error Output:                                                                                                                                
  ================                                                                                                                             
                                                                                                                                               
  In Process.php line 250:                                                                                                                     
                                                                                                                                               
    The command "[ -d /mywebsite/app/wp/.dep/database/dumps ] || mkdir -p /mywebsite/ap                                                                
    p/wp/.dep/database/dumps" failed.                                                                                                          
                                                                                                                                               
    Exit Code: 1(General error)                                                                                                                
                                                                                                                                               
    Working directory: /Users/xxx/LocalWebsites/mywebsite/app                                                                                
                                                                                                                                               
    Output:                                                                                                                                    
    ================                                                                                                                           
                                                                                                                                               
                                                                                                                                               
    Error Output:                                                                                                                              
    ================                                                                                                                           
    mkdir: /mywebsite/app/wp/.dep/database/dumps: **Read-only file system**   

Any idea or advice ?
Thanks in advance for your help,
Sylvain

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions