Error "[UriError]: If a URI does not contain an authority component, then the path cannot begin with two slash characters"

Rebuilding your library should only re-analyze the asset file metadata and asset aggregations in your library database. Details are here:

https://photostructure.com/faq/sync-vs-rebuild/#-library-rebuilds

PhotoStructure rewrites both the system and library settings.toml files only when it determines that they are from an older version of PhotoStructure, and it should try to migrate your prior settings to the new setting names or newer formatsā€¦ Otherwise, it should leave those files alone.

In version 2.1 I changed the settings for automatic organization: assetSubdirectoryDatestampFormat was replaced with assetPathnameFormat. Thereā€™s code that should translate your assetSubdirectoryDatestampFormat value into assetPathnameFormat format, and then re-save the settings.toml. If it didnā€™t do that, please tell me and I can look into it.

If you open your libraryā€™s settings.toml, you should see these comments:

assetSubdirectoryDatestampFormat

Deprecated as of version 2.1: please use assetPathnameFormat instead.
If this setting is provided, and assetPathnameFormat is not provided, we will give assetPathnameFormat the value of this setting + ā€œ/BASEā€.

assetPathnameFormat

If you opt into ā€œautomatic organizationā€ (see the setting ā€œcopyAssetsToLibraryā€), they will be copied into <originals directory>/<result of assetPathnameFormat>.

  • See the originalsDir system setting for what your is (it defaults to your library root directory).
  • Please encode this path with forward-slashes, even if youā€™re on Windows.
  • If any patterns resolve to including forward-slashes, know that will be interpreted as subdirectories.
  • If you want to add a static path, escape the pathname with single quotes (like ā€œā€˜photosā€™/y/MM/ddā€).
  • The result of this will always be interpreted as a relative path from your PhotoStructure originals directory.
  • Use token ā€œBASEā€ as a shorthand for the original basename (ā€œphoto.jpgā€ for ā€œ/path/to/photo.jpgā€).
  • Use token ā€œNAMEā€ as a shorthand for the original filename, without the file extension (ā€œphotoā€ for ā€œ/path/to/photo.jpgā€).
  • Use token ā€œPARENTā€ as a shorthand for the original fileā€™s parent directory name (ā€œtoā€ for ā€œ/path/to/photo.jpgā€).
  • Use token ā€œGRANDPARENTā€ as a shorthand for the original fileā€™s grandparent directory name (ā€œpathā€ for ā€œ/path/to/photo.jpgā€).
  • Use token ā€œEXTā€ for the filenameā€™s extension without the ā€œ.ā€ prefix (like ā€œjpgā€ for ā€œ/path/to/photo.jpgā€).
  • Use token ā€œISOā€ as a shorthand for ā€œyyyy-MM-ddā€™Tā€™HH:mm:ss.SSSZZā€.
  • You can escape other static text by wrapping with single quotes.
  • For other tokens, see https://moment.github.io/luxon/#/formatting?id=table-of-tokens.
  • See How to change the naming structure? - #2 by mrm for more details.