# Rev 2.0 new Library Name limited to 20 characters

**URL:** <https://librepcb.discourse.group/t/rev-2-0-new-library-name-limited-to-20-characters/999>\
**Category:** Libraries\
**Created:** [February 3, 2026, 4:03pm UTC](https://librepcb.discourse.group/t/rev-2-0-new-library-name-limited-to-20-characters/999 "2026-02-03T16:03:02Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![tomwbarclay](https://avatars.discourse-cdn.com/v4/letter/t/258eb7/32.png) [@tomwbarclay](https://librepcb.discourse.group/u/tomwbarclay)\
**Post date:** [February 3, 2026, 4:03pm UTC](https://librepcb.discourse.group/t/rev-2-0-new-library-name-limited-to-20-characters/999/1 "2026-02-03T16:03:02Z")

</div>

Have migrated to LibrePCB rev 2.0. main app shows all existing local libs which all have long names (\> 20 chars) but when I try to create a new local library it chops off the folder name chars after a count of 20 to create the folder name. It then complains that the folder name must end in .lplib.

Any clues ?

---

<div class="post-metadata">

**Author:** ![ubruhin](https://avatars.discourse-cdn.com/v4/letter/u/c89c15/32.png) [@ubruhin](https://librepcb.discourse.group/u/ubruhin)\
**Post date:** [February 3, 2026, 7:47pm UTC](https://librepcb.discourse.group/t/rev-2-0-new-library-name-limited-to-20-characters/999/2 "2026-02-03T19:47:39Z")

</div>

Thanks for reporting @tomwbarclay,

This issue is tracked in this issue and I’ll fix it in the next release:

> <https://github.com/LibrePCB/LibrePCB/issues/1677>
>
> \##### VERSION / OS / ENVIRONMENT
> 
> 
> \`\`\`
> LibrePCB Version: 2.0.0
> Git Revision: … b86f606c8 (2026-01-28)
> Qt Version: 6.4.2 (built against 6.4.2)
> CPU Architecture: x86\_64
> Operating System: Ubuntu Core 24
> Platform Plugin: xcb
> TLS Library: OpenSSL 3.0.13 30 Jan 2024
> OCC Library: OCCT 7.9.1
> Runtime: Snap
> \`\`\`
> 
> \##### SUMMARY
> 
> Creating a new local library fails if the directory name is too long. The directory is created, but the name is truncated to 21 characters.
> 
> It then errors with \`A library directory name must have the suffix '.lplib'\`.
> 
> Trying again with the same name gives an error about the directory already existing.
> 
> 
> \##### STEPS TO REPRODUCE
> 
> Using the 2.0 snap, attempt to create a new library, with a long name.
> 
> \##### EXPECTED RESULTS
> 
> Library is created.
> 
> \##### ACTUAL RESULTS
> 
> Library is not created.
> 
> \##### ADDITIONAL INFORMATION

It might be good if you delete the wrong directories (without \*.lplib suffix) manually (inside the workspaces directory `data/libraries/local`).
