• Edit
  • Delete

Nextcloud Cheatsheet

Scan files

  • sudo -u www-data php /var/www/nextcloud/occ files:scan -v --all
  • sudo -u www-data php /var/www/nextcloud/occ files:scan -v myusername
  • sudo -u www-data php /var/www/nextcloud/occ files:scan -v --path="/myusername/files/myfolder/mysubfolder" myusername

Upgrade

  • sudo -u www-data php ./occ upgrade

Issues

Calendar

CSS fix for V16 / V1.7.0

  • Menu -> Apps -> Add/Enable "Custom CSS" app
  • Menu -> Settings -> Administration -> Theming
  • Add custom CSS and save:
    • /* Fix mobile right sidebar issues (create, update buttons hidden) */
      
       @media only screen and (max-height: 760px) {
      
        #app-sidebar {
          height: auto; /* there are problems with the height calculation */
          width: auto; /* use max width on mobile */
          top: 0; /* surpress top margin when not fixed (see below */
        }
      
        .modal-content #app-sidebar {
          position: relative;      /* do not fix sidebar to right side */
        }
      }
      
      /* OTHER TWEAKS */
      
      /* bold time */
      .fc-day-grid-event .fc-time {
          opacity: 1;
          font-size: 90%;
          font-weight: bold;
      }
      
      /* show event name in mobile */
      .fc-day-grid-event .fc-content {
          white-space: normal;
      }