In rare cases (0,5%-1% of accounts) may experience duplicated folders. This bug existed in PowerFolder Version 11.1 or below. Version 11.2 prevent this from happening. To solve a user / folder which is affected please follow these steps:
- Execute the following SQL to list all duplicate folders: select id, basePath, count(*) AS cnt from FolderSettings GROUP BY hex(basePath) HAVING cnt > 1;
- Identify dupe folder, which can be removed with Folders API. Take the folder with only a single owner and no other accounts. Remember the folder ID.
- Actually remove the folder with API executed with parameter "deleteData=0" and the folder ID.
Version 11.2 or higher contain an automatic cleanup process.
Related tickets: