docs: update README.md

This commit is contained in:
2026-01-23 01:04:18 +02:00
parent dde356831f
commit c8db69d0ef

View File

@@ -74,6 +74,34 @@ for repairing installations, rebuilding statistics, and managing user roles.
For a complete list of available commands, usage examples, and detailed documentation, see the
[OCC Commands Wiki page](https://github.com/chenasraf/nextcloud-forum/wiki/OCC-Commands).
## Troubleshooting
### Cannot access administrator features
If you are a Nextcloud administrator but cannot access Forum admin features (e.g., managing
categories, roles, or settings), this is likely due to missing database seeds or role assignments.
**Option 1: Using OCC commands**
Run the following commands from your Nextcloud installation directory:
```bash
# Repair database seeds (creates default roles and permissions if missing)
php occ forum:repair-seeds
# Assign administrator role to a user
php occ forum:set-role <username> admin
```
**Option 2: Using the Admin UI**
1. Log in to Nextcloud as an administrator
2. Go to **Administration Settings** (click your profile picture → Administration Settings)
3. Navigate to **Forum** in the left sidebar under the Administration section
4. Use the **Repair Seeds** button to restore default roles and permissions
5. If the seeds are already in plac, use the **User Roles** section to assign the administrator role
to users
## Contributing
I am developing this app on my free time, so any support, whether code, issues, or just stars is