Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Gekko

Members
  • Joined

  • Last visited

Solutions

  1. Gekko's post in AGAIN: Nextcloud on unraid - Preview of Photos Unrelieble and Broken was marked as the answer   
    Yeah, there are many implementations of nextcloud, i know - thanks for your help.
     
    After trying to let nextcloud recreate the previews folder by using
    docker exec -it nextcloud occ preview:generate-all -vvv i stepped into an error:
    [OCP\Files\NotPermittedException] Could not create folder "/appdata_[MyInstanceID]/preview/4/1/0/0/9/0/5/82634"  
    So i moved the content of my photos from a synced remote directory on a windows machine out of nextcloud's reach and wiped the whole preview directory with
    rm -r /mnt/user/nextcloud/app_[MyInstanceID]/preview logged into mariadb via
    docker exec -it mariadb mysql -h [MyMariaDBDockerContainerIP] -P 3306 --protocol=tcp -u root -p nextcloud provided the root password for mariaDB and inserted the following line:
    DELETE FROM oc_filecache WHERE path LIKE "appdata\_[MyInstanceID]/preview/%";  
    After that, i moved the photos folder back into the synced directory, let Nextcloud do it's magic and after having synced the content, i dropped
    docker exec -it nextcloud occ files:scan --all docker exec -it nextcloud occ preview:generate-all -vvv to rebuild the preview pictures.
     
    Now, the photos section not only works again, but is incredibly fast as well - it never performed so well during the whole installation.
     
    I wrote this down here in unraid forums to include it the way other users can reproduce this solution if they step into the weird behavior or experience the error mentioned above. I'm hosting this installation for me and my girlfriend, so i had not to worry about a huge user population.
    As far as i'm concerned, nothing was specifically unraid related regarding the origins of the weird behavior. Every command displayed here shows the way how the solution can be handled using unraid's terminal and docker logic.
     
    Good luck,
    Gekko
     
    [Edit: spelling]

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.