NodeBB-Community / nodebb-plugin-custom-pages

Allows you to add as many new pages as you like to your NodeBB forum
BSD 2-Clause "Simplified" License
39 stars 24 forks source link

Pages does not get deleted on restart when using master branch #40

Closed evoixmr closed 7 years ago

evoixmr commented 7 years ago

under \nodebb\public\templates

I have to delete everything, befose I can start using the terminal.

G0wd commented 7 years ago

Same problem.

{"message":"ENOTEMPTY: directory not empty, rmdir '/home/xxx/nodebb/public/templates'","stack":"Error: ENOTEMPTY: directory not empty, rmdir '/home/xxx/nodebb/public/templates'","errno":-39,"code":"ENOTEMPTY","syscall":"rmdir","path":"/home/xxx/nodebb/public/templates","level":"error","timestamp":"2016-11-11T23:55:00.130Z"}

gp-Airee commented 7 years ago

Starting to regret this upgrade since this plugin breaks the whole website. Ngah

Niller2005 commented 7 years ago

Disable the plugin. ./nodebb reset -p nodebb-plugin-custom-pages then go to /nodebb/public/ and do sudo rm -rf templates/ you can now start nodebb again

gp-Airee commented 7 years ago

Wish I knew that before I reinstalled and lost all the content. RIP!

Faianca commented 7 years ago

So the fix is not to use the Plugin? O.o

psychobunny commented 7 years ago

I don't have this issue on the latest version of NodeBB and latest version of this plugin. Possibly has been fixed since then, if you can reproduce it again let me know.... thanks