After I installed the docker, I created a book, chapter, and page to ensure the docker was working. I found that the books table was missing the image_id, I manually added this and set it to int and allow null. Finally I tried to delete the page, chapter, and book and was met another error. The database was missing the comments table. I was able to manually add this using the debugger. I have resolved my issues but this may be something to look into.