Fixed When create addon CLI fails to write to disk, DB entry is not removed

W1zzard

Well-known member
Affected version
2.0.0 RC2
I created an addon via "php cmd.php xf-addon:create", but forgot to remount the filesystem read/write.

The creation process failed with:
[ErrorException]
[E_WARNING] mkdir(): Read-only file system

Now the database still has an orphaned addon entry, which has to be cleaned up manually.
 
Try running:
Code:
php cmd.php xf-dev:export --addon=...

It might not re-create everything, but I need to-do this every so often cos stuff is owned by root(due to uploading) and adding a template or such fails.
 
Back
Top Bottom