• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

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

Affected version
2.0.0 RC2


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

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

Now the database still has an orphaned addon entry, which has to be cleaned up manually.


Well-known member
Try running:
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.