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

Affected version
2.0.0 RC2

W1zzard

Well-known member
#1
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.
 

Xon

Well-known member
#2
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.
 
Top