# Docs with SQL changelogs gives error

**URL:** <https://forum.liquibase.org/t/docs-with-sql-changelogs-gives-error/5050>\
**Category:** General Discussion\
**Created:** [February 11, 2021, 9:57am UTC](https://forum.liquibase.org/t/docs-with-sql-changelogs-gives-error/5050 "2021-02-11T09:57:29Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![fvl](https://avatars.discourse-cdn.com/v4/letter/f/c89c15/32.png) [@fvl](https://forum.liquibase.org/u/fvl)\
**Post date:** [February 11, 2021, 9:57am UTC](https://forum.liquibase.org/t/docs-with-sql-changelogs-gives-error/5050/1 "2021-02-11T09:57:29Z")

</div>

When I try to generate documentation, I get the following error:

SEVERE [liquibase.integration] Unexpected error running Liquibase: Could not find directory or directory was empty for includeAll ‘/Users/frans/Projects/pfs/database/liq/’  
liquibase.exception.ChangeLogParseException: liquibase.exception.SetupException: Could not find directory or directory was empty for includeAll '/Users/frans/Projects/pfs/database/liq/

The directory is there with all the changelog files. The includeAll I use:

The table docs are ok and also the changelog filenames are visible in the html page.

---

<div class="post-metadata">

**Author:** ![costinmoraru](https://avatars.discourse-cdn.com/v4/letter/c/34f0e0/32.png) [@costinmoraru](https://forum.liquibase.org/u/costinmoraru)\
**Post date:** [February 11, 2021, 6:10pm UTC](https://forum.liquibase.org/t/docs-with-sql-changelogs-gives-error/5050/2 "2021-02-11T18:10:47Z")

</div>

Hi @fvl,  
try to check permissions on your project folder and childs, and maybe you can try to move under /Users/Shared directory and test it again. Sometimes i encountered a permission issues under user folder.

KR,  
Costin

---

<div class="post-metadata">

**Author:** ![fvl](https://avatars.discourse-cdn.com/v4/letter/f/c89c15/32.png) [@fvl](https://forum.liquibase.org/u/fvl)\
**Post date:** [February 16, 2021, 12:36pm UTC](https://forum.liquibase.org/t/docs-with-sql-changelogs-gives-error/5050/3 "2021-02-16T12:36:02Z")

</div>

Hi Costin,

Thanks for your reply. The permissions are good. The doc function creates a new directory below the doc directory with the name liq (the name of my changelog directory).

 ![image](https://us1.discourse-cdn.com/flex020/uploads/liquibase1/original/1X/3a721ede0756573debf9142b60ec718882e0efe3.png)

Kind Regards,  
Frans

---

<div class="post-metadata">

**Author:** ![fvl](https://avatars.discourse-cdn.com/v4/letter/f/c89c15/32.png) [@fvl](https://forum.liquibase.org/u/fvl)\
**Post date:** [February 16, 2021, 3:34pm UTC](https://forum.liquibase.org/t/docs-with-sql-changelogs-gives-error/5050/4 "2021-02-16T15:34:43Z")

</div>

The image is from the web page and the arrow points to the text below:

The link is to the new created …/doc/liq directory with suffix .sql.html! The changelog files are stored in …/liq
