☁️ Nextcloud server, a safe home for all your data

Overview

Nextcloud Server

Scrutinizer Code Quality codecov CII Best Practices

A safe home for all your data.

Why is this so awesome? 🤩

  • 📁 Access your Data You can store your files, contacts, calendars and more on a server of your choosing.
  • 🔄 Sync your Data You keep your files, contacts, calendars and more synchronized amongst your devices.
  • 🙌 Share your Data …by giving others access to the stuff you want them to see or to collaborate with.
  • 🚀 Expandable with hundreds of Apps ...like Calendar, Contacts, Mail, Video Chat and all those you can discover in our App Store
  • 🔒 Security with our encryption mechanisms, HackerOne bounty program and two-factor authentication.

You want to learn more about how you can use Nextcloud to access, share and protect your files, calendars, contacts, communication & more at home and at your organization? Learn about all our Features.

Get your Nextcloud 🚚

Enterprise? Public Sector or Education user? You may want to have a look into Nextcloud Enterprise provided by Nextcloud GmbH.

Get in touch 💬

You can also get support for Nextcloud!

Join the team 👪

There are many ways to contribute, of which development is only one! Find out how to get involved, including as translator, designer, tester, helping others and much more! 😍

Development setup 👩‍💻

  1. 🚀 Set up your local development environment
  2. 🐛 Pick a good first issue
  3. 👩‍🔧 Create a branch and make your changes. Remember to sign off your commits using git commit -sm "Your commit message"
  4. Create a pull request and @mention the people from the issue to review
  5. 👍 Fix things that come up during review
  6. 🎉 Wait for it to get merged!

Third-party components are handled as git submodules which have to be initialized first. So aside from the regular git checkout invoking git submodule update --init or a similar command is needed, for details see Git documentation.

Several apps that are included by default in regular releases such as First run wizard or Activity are missing in master and have to be installed manually by cloning them into the apps subfolder.

Otherwise, git checkouts can be handled the same as release archives, by using the stable* branches. Note they should never be used on production systems.

Working with front-end code 🏗

Building

We are moving more and more towards using Vue.js in the frontend, starting with Settings. For building the code on changes, use these terminal commands in the root folder:

# install dependencies
make dev-setup

# build for development
make build-js

# build for development and watch edits
make watch-js

# build for production with minification
make build-js-production

Commiting changes

When making changes, also commit the compiled files!

We still use Handlebars templates some places in Files and Settings. We will replace these step-by-step with Vue.js, but in the meantime you need to compile them separately.

If you don’t have Handlebars installed yet, you can do it with this terminal command:

sudo npm install -g handlebars

Then inside the root folder of your local Nextcloud development installation, run this command in the terminal every time you changed a .handlebars file to compile it:

./build/compile-handlebars-templates.sh

Before checking in JS changes, make sure to also build for production:

make build-js-production

Then add the compiled files for committing.

To save some time, to only rebuild for a specific app, use the following and replace the module with the app name:

MODULE=user_status make build-js-production

Please note that if you used make build-js or make watch-js before, you'll notice that a lot of files were marked as changed, so might need to clear the workspace first.

Working with back-end code 🏗

When changing back-end PHP code, in general no additional steps are needed before checking in.

However, if new files were created, you will need to run the following command to update the autoloader files:

build/autoloaderchecker.sh

After that, please also include the autoloader file changes in your commits.

Tools we use 🛠

Contribution guidelines 📜

All contributions to this repository from June, 16 2016 on are considered to be licensed under the AGPLv3 or any later version.

Nextcloud doesn't require a CLA (Contributor License Agreement). The copyright belongs to all the individual contributors. Therefore we recommend that every contributor adds following line to the header of a file, if they changed it substantially:

@copyright Copyright (c) <year>, <your name> (<your email address>)

Please read the Code of Conduct. This document offers some guidance to ensure Nextcloud participants can cooperate effectively in a positive and inspiring atmosphere, and to explain how together we can strengthen and support each other.

Please review the guidelines for contributing to this repository.

More information how to contribute: https://nextcloud.com/contribute/

Comments
  • Files search takes a long time with unified search

    Files search takes a long time with unified search

    Depending on the amount of files, the file search component of unified search takes a long time to get results back. It’s the slowest of all – Talk, Mail and everything loads before. On our own instance, it takes roughly 40 seconds.

    Also, there is no x in the input field during loading so it’s impossible to cancel the search – you have to wait for it to finish to start a different one. To fix this, we could replace the spinner with an x on hover/focus.

    Gif for illustration, showing how it takes 40 seconds: Search takes 40 seconds

    (This is very related to the direct filtering of the current folder, which also doesn’t work: https://github.com/nextcloud/server/issues/23432 )

    cc @nextcloud/search

    bug needs info high 0. Needs triage feature: search regression 20-feedback 21-feedback 
    opened by jancborchardt 143
  • Support PHP8.1

    Support PHP8.1

    According to https://php.watch/news/2021/03/php81-release-date PHP8.1 will be released by end of next month. That will mean the release happens somewhere around the release of Nextcloud 23 and we can assume that the early adopters will soon update their systems and find out Nextcloud 23 doesn't support 8.1. Ref https://github.com/nextcloud/server/blob/822623109f4f4b3252c04a5c0ccf6757a882e771/lib/versioncheck.php#L36-L42.

    As far as I know php8.1 is "just" a minor release but some libs/code have to be adjusted. We'll have to decide whether to look into this for 23, 23.1 or 24.

    Potential breaking changes

    • Mysqli error handling https://kinsta.com/blog/php-8-1/#mysqli-default-error-mode-set-to-exceptions – possibly taken care of in our db abstraction libs but we'll have to make sure we install a compatible version

    cc @AndyScherzinger @juliushaertl @nickvergessen @skjnldsv

    enhancement 2. developing technical debt 
    opened by ChristophWurst 137
  • Wrong or no sizes of files/folders

    Wrong or no sizes of files/folders

    After upgrading from NC11 to NC12, I noticed incorrect folder and file sizes. All >2GB files are pending. I checked the oc_filechache table - it looks like the sizes are fine. I trunc the oc_filechache table and executed the files: scan --all again and again filled it with the exact size, but the Files app is rendered incorrectly. There are no errors in the NC logos, there is no error in appache logos too.

    Steps to reproduce

    Attach external (local folder) with big files in it. Browse it in WebUI and the folder size will be incorrect or pending. Navigate to some sub folder that contains more then 2GB or have at least one file with size more than 2GB and will see "pending" in the file size column. In my case file with 3.9G (4143738495 bytes) is shown as "pending" size. The upper folder also is with "Pending size". The same file in oc_filechache is with 4143738495 size so it is indexted currect.

    Expected behaviour

    Should see 3.9G

    Actual behaviour

    See "pending"

    Server configuration

    Operating system: OSMC (Debian 8.8)

    Web server: Apache/2.4.10 (Debian)

    Database: mysql Ver 14.14 Distrib 5.5.55, for debian-linux-gnu (armv7l) using readline 6.3

    PHP version: php5 with fpm (PHP 5.6.30-0+deb8u1)

    Nextcloud version: NC 12.0.0

    Updated from an older Nextcloud/ownCloud or fresh install: Updated from NC 11.0.3

    Where did you install Nextcloud from: from the official website

    Signing status:

    Signing status No errors have been found.

    List of activated apps:

    App list Enabled: - calendar: 1.5.3 - contacts: 1.5.3 - dav: 1.3.0 - external: 2.0.2 - federatedfilesharing: 1.2.0 - files: 1.7.2 - files_external: 1.3.0 - files_pdfviewer: 1.1.1 - files_sharing: 1.4.0 - files_texteditor: 2.4.1 - files_videoplayer: 1.1.0 - gallery: 17.0.0 - gpxpod: 2.1.2 - logreader: 2.0.0 - lookup_server_connector: 1.0.0 - nextcloud_announcements: 1.1 - notifications: 2.0.0 - oauth2: 1.0.5 - password_policy: 1.2.2 - previewgenerator: 1.0.6 - provisioning_api: 1.2.0 - serverinfo: 1.2.0 - sharebymail: 1.2.0 - theming: 1.3.0 - twofactor_backupcodes: 1.1.1 - updatenotification: 1.2.0 - workflowengine: 1.2.0 Disabled: - activity - admin_audit - admin_notifications - bruteforcesettings - comments - encryption - federation - files_downloadactivity - files_trashbin - files_versions - firstrunwizard - mail - socialsharing_email - socialsharing_facebook - socialsharing_googleplus - survey_client - systemtags - user_external - user_ldap

    Nextcloud configuration:

    Config report

    {
    "system": {
    "instanceid": "ocdhcp0sm80x",
    "passwordsalt": "REMOVED SENSITIVE VALUE",
    "secret": "REMOVED SENSITIVE VALUE",
    "trusted_domains": [
    "XXX.XXX.X.XXX",
    "X.XX.XXX.XX",
    "XXXXXXXXX.XX"
    ],
    "preview_libreoffice_path": "/usr/lib/libreoffice/program/soffice.bin",
    "datadirectory": "/var/www/NCData",
    "overwrite.cli.url": "https://XXX.XXX.X.XXX",
    "dbtype": "mysql",
    "version": "12.0.0.28",
    "dbname": "NextCloud",
    "dbhost": "127.0.0.1",
    "dbtableprefix": "oc_",
    "dbuser": "REMOVED SENSITIVE VALUE",
    "dbpassword": "REMOVED SENSITIVE VALUE",
    "logtimezone": "UTC",
    "installed": true,
    "memcache.local": "\OC\Memcache\APCu",
    "allow_user_to_change_display_name": true,
    "enable_avatars": false,
    "quota_include_external_storage": false,
    "updater.release.channel": "beta",
    "appstore.experimental.enabled": true,
    "mail_from_address": "test",
    "mail_smtpmode": "php",
    "mail_domain": "xxxxxxxxx.xx",
    "mail_smtpsecure": "ssl",
    "mail_smtpauthtype": "LOGIN",
    "mail_smtpauth": 1,
    "mail_smtphost": "xxxxl.xxx",
    "mail_smtpport": "465 ",
    "mail_smtpname": "REMOVED SENSITIVE VALUE",
    "mail_smtppassword": "REMOVED SENSITIVE VALUE",
    "loglevel": 0,
    "maintenance": false,
    "theme": "",
    "htaccess.RewriteBase": "/",
    "debug": true,
    "updater.secret": "REMOVED SENSITIVE VALUE"
    }
    }

    Are you using external storage, if yes which one: local

    Are you using encryption: no

    Are you using an external user-backend, if yes which one: No

    Client configuration

    Browser: 58.0.3029.110 (64-bit)

    Operating system: Windows 7

    Logs

    Web server error log

    Web server error log no errors

    Nextcloud log (data/nextcloud.log)

    Nextcloud log no errors

    Browser log

    Browser log no errors
    bug 1. to develop feature: files 
    opened by mara21 124
  • NextCloud is unacceptably slow without asset pipelining

    NextCloud is unacceptably slow without asset pipelining

    According to the docs, asset pipelining has been removed in nextCloud 10. While ownCloud/nextCloud has always been very slow, this makes nextCloud extremely slow and practically unusable even on medium-latency connections.

    My network connection has ping times of about 250–300 ms to my nextCloud server. This might seem slow compared to a high-speed fiber-glass cable connection in an American metropolis, but it is quite normal for a mobile connection, and in many rural areas in the world the latency is even higher on a cable connection.

    I have about 10 non-standard apps installed on my nextCloud instance, and just the front page of the Files app takes anything from 1 minute up to 5 minutes to load (with enabled browser cache)! It tells me that it had to do over 200 requests!

    A good web application does 2 or 3 requests to load the page, maybe a bit more for more clever caching, if not all components are needed in all parts of the application.

    nextCloud should really:

    • enable asset pipelining again. If it breaks some apps, those apps should be fixed.
    • use image sprites
    • get rid of AJAX requests that load settings and stuff on page load, and instead put that data into the DOM

    Here are two screenshots to give a rough idea about what is loading:

    image

    image

    enhancement high 
    opened by cdauth 121
  • Files on SMB-share corrupted while up- and downloading

    Files on SMB-share corrupted while up- and downloading

    Steps to reproduce

    Using SMB Share

    Expected behaviour

    Files uploaded and downloaded without corruption

    Actual behaviour

    Datablocks are truncated to 8192 Bytes

    Server configuration detail

    Operating system: Linux 5.11.6-1-default #1 SMP Thu Mar 11 16:11:36 UTC 2021 (7358b30) x86_64

    Webserver: Apache (fpm-fcgi)

    Database: mysql 10.5.9

    PHP version:

    7.4.16 Modules loaded: Core, date, libxml, pcre, filter, hash, Reflection, SPL, session, SimpleXML, standard, xml, cgi-fcgi, mysqlnd, apcu, bcmath, bz2, ctype, curl, dom, enchant, mbstring, fileinfo, ftp, gd, gettext, gmp, ice, iconv, imagick, intl, json, lzf, exif, memcached, mysqli, openssl, pcntl, PDO, pdo_mysql, pdo_sqlite, zlib, posix, readline, redis, smbclient, sockets, sqlite3, tidy, tokenizer, uuid, xmlreader, xmlwriter, zip, Phar, libsmbclient, Zend OPcache

    Nextcloud version: 21.0.1 RC1 - 21.0.1.0

    Updated from an older Nextcloud/ownCloud or fresh install:

    Where did you install Nextcloud from: unknown

    Signing status

    Array ( )

    List of activated apps
    Enabled:
     - activity: 2.14.3
     - admin_audit: 1.11.0
     - announcementcenter: 5.0.0
     - bookmarks: 4.1.0
     - calendar: 2.2.0
     - checksum: 1.1.2
     - cloud_federation_api: 1.4.0
     - comments: 1.11.0
     - contacts: 3.5.1
     - contactsinteraction: 1.2.0
     - dashboard: 7.1.0
     - dav: 1.17.1
     - deck: 1.3.2
     - duplicatefinder: 0.0.6
     - event_update_notification: 1.2.0
     - extract: 1.3.1
     - federatedfilesharing: 1.11.0
     - federation: 1.11.0
     - files: 1.16.0
     - files_external: 1.12.0
     - files_fulltextsearch: 21.0.0
     - files_fulltextsearch_tesseract: 20.0.1
     - files_markdown: 2.3.3
     - files_pdfviewer: 2.1.0
     - files_rightclick: 1.0.0
     - files_sharing: 1.13.1
     - files_texteditor: 2.14.0
     - files_trashbin: 1.11.0
     - files_versions: 1.14.0
     - files_videoplayer: 1.10.0
     - firstrunwizard: 2.10.0
     - fulltextsearch: 21.0.0
     - fulltextsearch_elasticsearch: 21.0.0
     - groupfolders: 9.0.0
     - impersonate: 1.8.0
     - integration_github: 1.0.0
     - integration_mastodon: 1.0.0
     - integration_twitter: 1.0.0
     - issuetemplate: 0.7.0
     - logreader: 2.6.0
     - lookup_server_connector: 1.9.0
     - maps: 0.1.8
     - metadata: 0.13.0
     - music: 1.1.0
     - news: 15.3.2
     - nextcloud_announcements: 1.10.0
     - notes: 4.0.4
     - notifications: 2.9.0
     - notify_push: 0.1.6
     - oauth2: 1.9.0
     - passman: 2.3.7
     - password_policy: 1.11.0
     - phonetrack: 0.6.7
     - photos: 1.3.0
     - polls: 1.8.1
     - previewgenerator: 3.1.1
     - pride: 0.0.3
     - privacy: 1.5.0
     - provisioning_api: 1.11.0
     - recommendations: 1.0.0
     - serverinfo: 1.11.0
     - settings: 1.3.0
     - sharebymail: 1.11.0
     - side_menu: 1.23.1
     - social: 0.4.2
     - spreed: 11.1.1
     - support: 1.4.0
     - survey_client: 1.9.0
     - systemtags: 1.11.0
     - tasks: 0.13.6
     - telephoneprovider: 1.0.3
     - text: 3.2.0
     - theming: 1.12.0
     - twofactor_backupcodes: 1.10.0
     - updatenotification: 1.11.0
     - user_status: 1.1.1
     - viewer: 1.5.0
     - weather_status: 1.1.0
     - workflowengine: 2.3.0
    Disabled:
     - accessibility
     - apporder
     - bruteforcesettings
     - circles
     - encryption
     - epubreader
     - files_linkeditor
     - files_trackdownloads
     - flowupload
     - integration_discourse
     - nextbackup
     - suspicious_login
     - talk_matterbridge
     - talk_simple_poll
     - user_ldap
    
    
    Configuration (config/config.php)
    {
        "instanceid": "***REMOVED SENSITIVE VALUE***",
        "passwordsalt": "***REMOVED SENSITIVE VALUE***",
        "secret": "***REMOVED SENSITIVE VALUE***",
        "trusted_domains": [
            "nextcloud.mybase.selfhost.de",
            "cloudnext.mybase.selfhost.de"
        ],
        "trusted_proxies": "***REMOVED SENSITIVE VALUE***",
        "default_phone_region": "DE",
        "datadirectory": "***REMOVED SENSITIVE VALUE***",
        "tempdirectory": "\/var\/tmp\/nextcloudtemp",
        "overwrite.cli.url": "https:\/\/nextcloud.mybase.selfhost.de",
        "knowledgebaseenabled": true,
        "dbtype": "mysql",
        "version": "21.0.1.0",
        "dbname": "***REMOVED SENSITIVE VALUE***",
        "dbhost": "***REMOVED SENSITIVE VALUE***",
        "dbport": "",
        "dbtableprefix": "oc_",
        "dbuser": "***REMOVED SENSITIVE VALUE***",
        "dbpassword": "***REMOVED SENSITIVE VALUE***",
        "installed": true,
        "updater.release.channel": "beta",
        "appstore.experimental.enabled": true,
        "maintenance": false,
        "loglevel": 3,
        "debug": false,
        "htaccess.RewriteBase": "\/",
        "activity_use_cached_mountpoints": true,
        "session_keepalive": true,
        "session_lifetime": 86400,
        "versions_retention_obligation": "auto",
        "trashbin_retention_obligation": "auto",
        "enable_previews": true,
        "preview_max_x": 2560,
        "preview_max_y": 1600,
        "preview_max_filesize_image": 200,
        "preview_libreoffice_path": "\/usr\/bin\/libreoffice",
        "preview_office_cl_parameters": " --headless --nologo --nofirststartwizard --invisible --norestore --convert-to pdf --outdir ",
        "enabledPreviewProviders": [
            "OC\\Preview\\PNG",
            "OC\\Preview\\JPEG",
            "OC\\Preview\\GIF",
            "OC\\Preview\\BMP",
            "OC\\Preview\\XBitmap",
            "OC\\Preview\\MP3",
            "OC\\Preview\\TXT",
            "OC\\Preview\\MarkDown",
            "OC\\Preview\\TIFF",
            "OC\\Preview\\SVG",
            "OC\\Preview\\Postscript",
            "OC\\Preview\\OpenDocument",
            "OC\\Preview\\PDF",
            "OC\\Preview\\Font",
            "OC\\Preview\\Epub",
            "OC\\Preview\\StarOffice",
            "OC\\Preview\\HEIC",
            "OC\\Preview\\KRITA"
        ],
        "mail_from_address": "***REMOVED SENSITIVE VALUE***",
        "mail_smtpmode": "smtp",
        "mail_smtpauthtype": "LOGIN",
        "mail_domain": "***REMOVED SENSITIVE VALUE***",
        "log_type": "syslog",
        "logfile": "\/var\/log\/nextcloud.log",
        "logfilemode": 416,
        "log_rotate_size": 104857600,
        "syslog_tag": "Nextcloud",
        "memcache.distributed": "\\OC\\Memcache\\Memcached",
        "memcache.local": "\\OC\\Memcache\\Redis",
        "filelocking.enabled": "true",
        "filelocking.ttl": 3600,
        "memcache.locking": "\\OC\\Memcache\\Redis",
        "redis": {
            "host": "***REMOVED SENSITIVE VALUE***",
            "port": 6379,
            "timeout": 0,
            "dbindex": 0,
            "password": "***REMOVED SENSITIVE VALUE***"
        },
        "memcached_servers": [
            [
                "192.168.1.10",
                11211
            ],
            [
                "192.168.1.50",
                11211
            ]
        ],
        "data-fingerprint": "790e9a77b6ee76b2af214c8f58d75dfd",
        "mail_smtphost": "***REMOVED SENSITIVE VALUE***",
        "mail_smtpauth": 1,
        "mail_smtpname": "***REMOVED SENSITIVE VALUE***",
        "mail_smtppassword": "***REMOVED SENSITIVE VALUE***",
        "mail_smtpsecure": "tls",
        "mysql.utf8mb4": true,
        "allow_user_to_change_display_name": true,
        "auth.bruteforce.protection.enabled": true,
        "ldapIgnoreNamingRules": false,
        "ldapProviderFactory": "OCA\\User_LDAP\\LDAPProviderFactory",
        "theme": "",
        "app_install_overwrite": [
            "fulltextsearch",
            "fulltextsearch_elasticsearch",
            "files_fulltextsearch",
            "files_fulltextsearch_tesseract",
            "passman",
            "pride",
            "checksum",
            "files_markdown",
            "telephoneprovider",
            "circles",
            "camerarawpreviews",
            "files_external_gdrive",
            "music",
            "facerecognition",
            "groupfolders",
            "side_menu",
            "metadata",
            "issuetemplate"
        ],
        "updater.secret": "***REMOVED SENSITIVE VALUE***"
    }
    

    Are you using external storage, if yes which one: smb

    Are you using encryption:

    Are you using an external user-backend, if yes which one: LDAP/ActiveDirectory/Webdav/...

    Client configuration

    Browser: Mozilla/5.0 (X11; Linux x86_64; rv:86.0) Gecko/20100101 Firefox/86.0

    Operating system:

    Logs

    Web server error log
    Insert your web server log here 
    
    Nextcloud log
    Apr 08 10:37:33 rin libsmbclient[2213]: {"reqId":"ipoKR7FMx5eRhV7BUHwF","level":3,"time":"2021-04-08T08:37:33+00:00","remoteAddr":"84.134.23.233","user":"shinji","app":"PHP","method":"GET","url":"/index.php/apps/files/api/v1/thumbnail/256/256/Bilder/Photos/2021/04/IMG_20210408_103713.jpg","message":"{\"Exception\":\"Error\",\"Message\":\"fread(): Icewind\\\\SMB\\\\Native\\\\NativeReadStream::stream_read - read 253952 bytes more data than requested (262144 read, 8192 max) - excess data will be lost at /srv/www/vhosts/nextcloud/apps/files_external/3rdparty/icewind/streams/src/Wrapper.php#55\",\"Code\":0,\"Trace\":[{\"function\":\"onError\",\"class\":\"OC\\\\Log\\\\ErrorHandler\",\"type\":\"::\",\"args\":[2,\"fread(): Icewind\\\\SMB\\\\Native\\\\NativeReadStream::stream_read - read 253952 bytes more data than requested (262144 read, 8192 max) - excess data will be lost\",\"/srv/www/vhosts/nextcloud/apps/files_external/3rdparty/icewind/streams/src/Wrapper.php\",55,{\"count\":8192}]},{\"file\":\"/srv/www/vhosts/nextcloud/apps/files_external/3rdparty/icewind/streams/src/Wrapper.php\",\"line\":55,\"function\":\"fread\",\"args\":[null,8192]},{\"file\":\"/srv/www/vhosts/nextcloud/apps/files_external/3rdparty/icewind/streams/src/CallbackWrapper.php\",\"line\":96,\"function\":\"stream_read\",\"class\":\"Icewind\\\\Streams\\\\Wrapper\",\"type\":\"->\",\"args\":[8192]},{\"function\":\"stream_read\",\"class\":\"Icewind\\\\Streams\\\\CallbackWrapper\",\"type\":\"->\",\"args\":[8192]},{\"file\":\"/srv/www/vhosts/nextcloud/lib/private/Preview/ProviderV2.php\",\"line\":92,\"function\":\"file_put_contents\",\"args\":[\"/tmp/oc_tmp_XQQFAM\",null]},{\"file\":\"/srv/www/vhosts/nextcloud/lib/private/Preview/Image.php\",\"line\":50,\"function\":\"getLocalFile\",\"class\":\"OC\\\\Preview\\\\ProviderV2\",\"type\":\"->\",\"args\":[{\"__class__\":\"OC\\\\Files\\\\Node\\\\File\"}]},{\"file\":\"/srv/www/vhosts/nextcloud/lib/private/Preview/GeneratorHelper.php\",\"line\":63,\"function\":\"getThumbnail\",\"class\":\"OC\\\\Preview\\\\Image\",\"type\":\"->\",\"args\":[{\"__class__\":\"OC\\\\Files\\\\Node\\\\File\"},2560,1600]},{\"file\":\"/srv/www/vhosts/nextcloud/lib/private/Preview/Generator.php\",\"line\":244,\"function\":\"getThumbnail\",\"class\":\"OC\\\\Preview\\\\GeneratorHelper\",\"type\":\"->\",\"args\":[{\"__class__\":\"OC\\\\Preview\\\\JPEG\"},{\"__class__\":\"OC\\\\Files\\\\Node\\\\File\"},2560,1600]},{\"file\":\"/srv/www/vhosts/nextcloud/lib/private/Preview/Generator.php\",\"line\":140,\"function\":\"getMaxPreview\",\"class\":\"OC\\\\Preview\\\\Generator\",\"type\":\"->\",\"args\":[{\"__class__\":\"OC\\\\Files\\\\SimpleFS\\\\SimpleFolder\"},{\"__class__\":\"OC\\\\Files\\\\Node\\\\File\"},\"image/jpeg\",\"\"]},{\"file\":\"/srv/www/vhosts/nextcloud/lib/private/Preview/Generator.php\",\"line\":109,\"function\":\"generatePreviews\",\"class\":\"OC\\\\Preview\\\\Generator\",\"type\":\"->\",\"args\":[{\"__class__\":\"OC\\\\Files\\\\Node\\\\File\"},[{\"width\":256,\"height\":256,\"crop\":true,\"mode\":\"fill\"}],\"image/jpeg\"]},{\"file\":\"/srv/www/vhosts/nextcloud/lib/private/PreviewManager.php\",\"line\":190,\"function\":\"getPreview\",\"class\":\"OC\\\\Preview\\\\Generator\",\"type\":\"->\",\"args\":[{\"__class__\":\"OC\\\\Files\\\\Node\\\\File\"},256,256,true,\"fill\",null]},{\"file\":\"/srv/www/vhosts/nextcloud/apps/files/lib/Controller/ApiController.php\",\"line\":130,\"function\":\"getPreview\",\"class\":\"OC\\\\PreviewManager\",\"type\":\"->\",\"args\":[{\"__class__\":\"OC\\\\Files\\\\Node\\\\File\"},256,256,true]},{\"file\":\"/srv/www/vhosts/nextcloud/lib/private/AppFramework/Http/Dispatcher.php\",\"line\":218,\"function\":\"getThumbnail\",\"class\":\"OCA\\\\Files\\\\Controller\\\\ApiController\",\"type\":\"->\",\"args\":[256,256,{\"__class__\":\"OC\\\\Files\\\\Node\\\\File\"}]},{\"file\":\"/srv/www/vhosts/nextcloud/lib/private/AppFramework/Http/Dispatcher.php\",\"line\":127,\"function\":\"executeController\",\"class\":\"OC\\\\AppFramework\\\\Http\\\\Dispatcher\",\"type\":\"->\",\"args\":[{\"__class__\":\"OCA\\\\Files\\\\Controller\\\\ApiController\"},\"getThumbnail\"]},{\"file\":\"/srv/www/vhosts/nextcloud/lib/private/AppFramework/App.php\",\"line\":157,\"function\":\"dispatch\",\"class\":\"OC\\\\AppFramework\\\\Http\\\\Dispatcher\",\"type\":\"->\",\"args\":[{\"__class__\":\"OCA\\\\Files\\\\Controller\\\\ApiController\"},\"getThumbnail\"]},{\"file\":\"/srv/www/vhosts/nextcloud/lib/private/Route/Router.php\",\"line\":302,\"function\":\"main\",\"class\":\"OC\\\\AppFramework\\\\App\",\"type\":\"::\",\"args\":[\"APIController\",\"getThumbnail\",{\"__class__\":\"OC\\\\AppFramework\\\\DependencyInjection\\\\DIContainer\"},{\"x\":\"256\",\"y\":\"256\",\"file\":\"Bilder/Photos/2021/04/IMG_20210408_103713.jpg\",\"_route\":\"files.API.getThumbnail\"}]},{\"file\":\"/srv/www/vhosts/nextcloud/lib/base.php\",\"line\":993,\"function\":\"match\",\"class\":\"OC\\\\Route\\\\Router\",\"type\":\"->\",\"args\":[\"/apps/files/api/v1/thumbnail/256/256/Bilder/Photos/2021/04/IMG_20210408_103713.jpg\"]},{\"file\":\"/srv/www/vhosts/nextcloud/index.php\",\"line\":37,\"function\":\"handleRequest\",\"class\":\"OC\",\"type\":\"::\",\"args\":[]}],\"File\":\"/srv/www/vhosts/nextcloud/lib/private/Log/ErrorHandler.php\",\"Line\":92,\"CustomMessage\":\"--\"}","userAgent":"Mozilla/5.0 (Android) Nextcloud-android/3.15.1","version":"21.0.1.0"}
    
    Browser log

    Insert your browser log here, this could for example include:

    a) The javascript console log
    b) The network log
    c) ...
    

    720-1455-max

    bug 0. Needs triage 
    opened by ShinjiLE 119
  • Access forbidden: CSRF check failed on logout

    Access forbidden: CSRF check failed on logout

    Steps to reproduce

    1. Install Lighttpd and PHP.
    2. Download Nextcloud server ZIP.
    3. Log in Nextcloud, and when you log out, in the most cases you get the next error:

    Access forbidden CSRF check failed

    Screenshot at 2019-09-09 15-18-28

    Expected behaviour

    Log out succesfully.

    Actual behaviour

    When I try logout, I get the telled error. Then, if I refresh the website the session is still active.

    In Network Firefox explorer (from F12) the logout request get a 412 status code:

    Screenshot at 2019-09-09 15-27-30

    This error is with Lighttpd web service, with Nginx works fine.

    Server configuration

    Operating system: Debian / Raspbian Web server: Lighttpd Database: MariaDB PHP version: PHP 7.3 Nextcloud version: (see Nextcloud admin page) 16.0.4 Updated from an older Nextcloud/ownCloud or fresh install: Fresh install Where did you install Nextcloud from: https://download.nextcloud.com/server/releases/nextcloud-16.0.4.zip

    bug 1. to develop security papercut 
    opened by alvvdc 117
  • occ files_external:notify does not propogate changes to clients.

    occ files_external:notify does not propogate changes to clients.

    Steps to reproduce

    1. Mount a windows share in nextcloud
    2. Let a desktop client sync the share.
    3. Run occ files_external:notify -v <mount_id>
    4. Make some changes remote, directly to the windows share by other means.

    Expected behaviour

    The desktop clients should propogate the changes that happened directly to the SMB share.

    Actual behaviour

    I get the changes listed out in the terminal output of the occ files_external:notify command, but nothing else happens.

    Server configuration

    Operating system: Ubuntu Server 16.04 Web server: Nginx 1.10

    Database: Mariadb 10 PHP version: 7.0/7.1 (tried both) Nextcloud version: (see Nextcloud admin page) 11.0.1 and 11.0.2 (tried both)

    Updated from an older Nextcloud/ownCloud or fresh install: Upgrade. Where did you install Nextcloud from: Wonderfall/nextcloud:latest

    Client configuration

    Operating system: Elementary with nextcloud-client 2.2.4

    bug feature: filesystem feature: external storage 
    opened by ariselseng 107
  • Cannot modify header information (Sapi.php:132) NC 19.0.2

    Cannot modify header information (Sapi.php:132) NC 19.0.2

    How to use GitHub

    • Please use the 👍 reaction to show that you are affected by the same issue.
    • Please don't comment if you have no relevant information to add. It's just extra noise for everyone subscribed to this issue.
    • Subscribe to receive notifications on status change and new comments.

    Steps to reproduce

    Upgrade to NC 19.0.2.

    Expected behaviour

    No PHP errors in the log.

    Actual behaviour

    Since upgrade to 19.0.2 many error messages like this in the log:

    [PHP] Error: Cannot modify header information - headers already sent by 
    (output started at /var/www/nextcloud/3rdparty/sabre/http/lib/Sapi.php:132) 
    at /var/www/nextcloud/apps/dav/lib/Connector/Sabre/File.php#680
    
    PUT /remote.php/dav/uploads/john/4291849725/00000002
    from 111.222.333.444 by john at 2020-08-29T19:34:41+02:00
    
    {"reqId":"Or0R2pucFGt5YGzIyZcI","level":3,"time":"2020-08-29T19:34:41+02:00","remoteAddr":"111.222.333.444",
    "user":"john","app":"PHP","method":"PUT","url":"/remote.php/dav/uploads/john/4291849725/00000002",
    "message":"Cannot modify header information - headers already sent by 
    (output started at /var/www/nextcloud/3rdparty/sabre/http/lib/Sapi.php:132)
     at /var/www/nextcloud/apps/dav/lib/Connector/Sabre/File.php#680",
    "userAgent":"Mozilla/5.0 (Windows) mirall/2.6.5stable-Win64 (build 20200710) (Nextcloud)","version":"19.0.2.2","id":"5f4c9578c0b93"}
    

    Server configuration

    Operating system: Ubuntu 18.04.5 LTS Web server: nginx version: nginx/1.19.2 Database: MariaDB 10.1.44 PHP version: 7.2.33 (PHP 7.2.33-1+ubuntu18.04.1+deb.sury.org+1) Nextcloud version: 19.0.2 Updated from an older Nextcloud/ownCloud or fresh install: Updated from 18.0.8 Where did you install Nextcloud from: Web admin update Signing status:

    Signing status
    No errors have been found.
    

    List of activated apps:

    App list
    Enabled:
      - accessibility: 1.5.0
      - activity: 2.12.0
      - admin_audit: 1.9.0
      - calendar: 2.0.4
      - cloud_federation_api: 1.2.0
      - comments: 1.9.0
      - contacts: 3.3.0
      - contactsinteraction: 1.0.0
      - dav: 1.15.0
      - federatedfilesharing: 1.9.0
      - files: 1.14.0
      - files_pdfviewer: 1.8.0
      - files_rightclick: 0.16.0
      - files_sharing: 1.11.0
      - files_trashbin: 1.9.0
      - files_versions: 1.12.0
      - files_videoplayer: 1.8.0
      - logreader: 2.4.0
      - lookup_server_connector: 1.7.0
      - nextcloud_announcements: 1.8.0
      - notes: 3.6.4
      - notifications: 2.7.0
      - oauth2: 1.7.0
      - password_policy: 1.9.1
      - photos: 1.1.0
      - privacy: 1.3.0
      - provisioning_api: 1.9.0
      - recommendations: 0.7.0
      - richdocuments: 3.7.3
      - serverinfo: 1.9.0
      - settings: 1.1.0
      - sharebymail: 1.9.0
      - spreed: 9.0.3
      - support: 1.2.1
      - tasks: 0.13.3
      - text: 3.0.1
      - theming: 1.10.0
      - twofactor_backupcodes: 1.8.0
      - updatenotification: 1.9.0
      - viewer: 1.3.0
      - workflowengine: 2.1.0
    Disabled:
      - encryption
      - federation
      - files_external
      - firstrunwizard
      - survey_client
      - systemtags
      - user_ldap
    

    Nextcloud configuration:

    Config report
    {
        "system": {
            "instanceid": "***REMOVED SENSITIVE VALUE***",
            "passwordsalt": "***REMOVED SENSITIVE VALUE***",
            "secret": "***REMOVED SENSITIVE VALUE***",
            "trusted_domains": [
                "localhost",
                "cloud.mydomain.com"
            ],
            "datadirectory": "***REMOVED SENSITIVE VALUE***",
            "overwrite.cli.url": "https:\/\/cloud.mydomain.com",
            "dbtype": "mysql",
            "version": "19.0.2.2",
            "dbname": "***REMOVED SENSITIVE VALUE***",
            "dbhost": "***REMOVED SENSITIVE VALUE***",
            "dbport": "",
            "dbtableprefix": "oc_",
            "mysql.utf8mb4": true,
            "dbuser": "***REMOVED SENSITIVE VALUE***",
            "dbpassword": "***REMOVED SENSITIVE VALUE***",
            "installed": true,
            "activity_expire_days": 14,
            "auth.bruteforce.protection.enabled": true,
            "blacklisted_files": [
                ".htaccess",
                "Thumbs.db",
                "thumbs.db"
            ],
            "cron_log": true,
            "enable_previews": true,
            "enabledPreviewProviders": [
                "OC\\Preview\\PNG",
                "OC\\Preview\\JPEG",
                "OC\\Preview\\GIF",
                "OC\\Preview\\BMP",
                "OC\\Preview\\XBitmap",
                "OC\\Preview\\Movie",
                "OC\\Preview\\PDF",
                "OC\\Preview\\MP3",
                "OC\\Preview\\TXT",
                "OC\\Preview\\MarkDown"
            ],
            "filesystem_check_changes": 0,
            "filelocking.enabled": "true",
            "htaccess.RewriteBase": "\/",
            "integrity.check.disabled": false,
            "knowledgebaseenabled": false,
            "logfile": "\/var\/nc_data\/nextcloud.log",
            "loglevel": 2,
            "logtimezone": "Europe\/Prague",
            "log_rotate_size": 104857600,
            "maintenance": false,
            "memcache.local": "\\OC\\Memcache\\APCu",
            "memcache.locking": "\\OC\\Memcache\\Redis",
            "overwriteprotocol": "https",
            "preview_max_x": 1024,
            "preview_max_y": 768,
            "preview_max_scale_factor": 1,
            "redis": {
                "host": "***REMOVED SENSITIVE VALUE***",
                "port": 0,
                "timeout": 0
            },
            "quota_include_external_storage": false,
            "share_folder": "\/Shares",
            "skeletondirectory": "",
            "theme": "",
            "trashbin_retention_obligation": "auto, 7",
            "updater.release.channel": "stable",
            "mail_smtpmode": "smtp",
            "mail_smtpauthtype": "LOGIN",
            "mail_smtpsecure": "tls",
            "mail_from_address": "***REMOVED SENSITIVE VALUE***",
            "mail_domain": "***REMOVED SENSITIVE VALUE***",
            "mail_smtpauth": 1,
            "mail_smtphost": "***REMOVED SENSITIVE VALUE***",
            "mail_smtpport": "587",
            "mail_smtpname": "***REMOVED SENSITIVE VALUE***",
            "mail_smtppassword": "***REMOVED SENSITIVE VALUE***",
            "mail_smtptimeout": 45,
            "force_language": "cs",
            "lost_password_link": "disabled",
            "mail_sendmailmode": "smtp"
        }
    }
    

    Are you using external storage, if yes which one: no

    Are you using encryption: no

    Are you using an external user-backend, if yes which one: no

    Client configuration

    Browser:

    Operating system:

    Logs

    Web server error log

    Web server error log
    Insert your webserver log here
    

    Nextcloud log (data/nextcloud.log)

    Nextcloud log Similar messages repeated many times:
    {"reqId":"xTDKPVJiXelxcS5xfQ2F","level":3,"time":"2020-08-28T16:03:27+02:00","remoteAddr":"555.666.777.888","user":"john","app":"no app in context","method":"PUT","url":"/remote.php/webdav/WORK/myfile.txt","message":{"Exception":"Sabre\\DAV\\Exception\\BadRequest","Message":"Expected filesize of 1303 bytes but read (from Nextcloud client) and wrote (to Nextcloud storage) 0 bytes. Could either be a network problem on the sending side or a problem writing to the storage on the server side.","Code":0,"Trace":[{"file":"/var/www/nextcloud/apps/dav/lib/Connector/Sabre/Directory.php","line":154,"function":"put","class":"OCA\\DAV\\Connector\\Sabre\\File","type":"->","args":[null]},{"file":"/var/www/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php","line":1104,"function":"createFile","class":"OCA\\DAV\\Connector\\Sabre\\Directory","type":"->","args":["myfile.txt",null]},{"file":"/var/www/nextcloud/3rdparty/sabre/dav/lib/DAV/CorePlugin.php","line":527,"function":"createFile","class":"Sabre\\DAV\\Server","type":"->","args":["WORK/myfile.txt",null,null]},{"file":"/var/www/nextcloud/3rdparty/sabre/event/lib/WildcardEmitterTrait.php","line":89,"function":"httpPut","class":"Sabre\\DAV\\CorePlugin","type":"->","args":[{"__class__":"Sabre\\HTTP\\Request"},{"__class__":"Sabre\\HTTP\\Response"}]},{"file":"/var/www/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php","line":474,"function":"emit","class":"Sabre\\DAV\\Server","type":"->","args":["method:PUT",[{"__class__":"Sabre\\HTTP\\Request"},{"__class__":"Sabre\\HTTP\\Response"}]]},{"file":"/var/www/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php","line":251,"function":"invokeMethod","class":"Sabre\\DAV\\Server","type":"->","args":[{"__class__":"Sabre\\HTTP\\Request"},{"__class__":"Sabre\\HTTP\\Response"}]},{"file":"/var/www/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php","line":319,"function":"start","class":"Sabre\\DAV\\Server","type":"->","args":[]},{"file":"/var/www/nextcloud/apps/dav/appinfo/v1/webdav.php","line":82,"function":"exec","class":"Sabre\\DAV\\Server","type":"->","args":[]},{"file":"/var/www/nextcloud/remote.php","line":167,"args":["/var/www/nextcloud/apps/dav/appinfo/v1/webdav.php"],"function":"require_once"}],"File":"/var/www/nextcloud/apps/dav/lib/Connector/Sabre/File.php","Line":238,"CustomMessage":"--"},"userAgent":"--","version":"19.0.2.2"}
    
    {"reqId":"Or0R2pucFGt5YGzIyZcI","level":3,"time":"2020-08-29T19:34:41+02:00","remoteAddr":"111.222.333.444","user":"john","app":"PHP","method":"PUT","url":"/remote.php/dav/uploads/john/4291849725/00000002","message":"Cannot modify header information - headers already sent by (output started at /var/www/nextcloud/3rdparty/sabre/http/lib/Sapi.php:132) at /var/www/nextcloud/apps/dav/lib/Connector/Sabre/File.php#680","userAgent":"Mozilla/5.0 (Windows) mirall/2.6.5stable-Win64 (build 20200710) (Nextcloud)","version":"19.0.2.2"}
    

    Browser log

    Browser log
    Insert your browser log here, this could for example include:
    
    a) The javascript console log
    b) The network log
    c) ...
    
    bug needs info 0. Needs triage 
    opened by altosch 106
  • [NC 21] OCC Update error: allowed memory size exhausted

    [NC 21] OCC Update error: allowed memory size exhausted

    How to use GitHub

    • Please use the 👍 reaction to show that you are affected by the same issue.
    • Please don't comment if you have no relevant information to add. It's just extra noise for everyone subscribed to this issue.
    • Subscribe to receive notifications on status change and new comments.

    Steps to reproduce

    1. Upgrading to Nextcloud 21
    2. Run php ./occ in Nextcloud root directory
    3. ./occ crashes

    Expected behaviour

    Occ should work normally, for example printing available commands

    Actual behaviour

    Occ crashes with the following error:

    $ sudo -u http ./occ update
    PHP Warning: Module “gd” is already loaded in Unknown on line 0
    PHP Fatal error: Allowed memory size of 536870912 bytes exhausted (tried to allocate 20480 bytes) in /usr/share/webapps/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php on line 133
    

    To be more precise, this also happens running php cli against other files of Nextcloud, for example index.php or console.php. Surprisingly Nextcloud is running fine through php-fpm and web server. It was even able to perform the upgrade to v21 just fine.

    Another user commented on the ArchLinux bug tracker:

    If it could help, I added a trace in /usr/share/webapps/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php on line 133, and I get in an infinite loop the following messages:

    Could not resolve OC\User\Manager! Could not resolve OC\Security\CSRF\CsrfTokenManager!

    As if it was unable to locate its lib/private/ folder. If I set memory_limit to -1, it fill completely memory and hit OOMkiller. (tried with both php7 and php8, with nextcloud-21.0.0-7)

    Possibly not only related to ArchLinux setups. An other user reported the exact issue here, which was triggered on a Ubuntu installation.

    Server configuration

    Operating system: Archlinux x64

    Web server: Caddy 2

    Database: Mysql

    PHP version: 8.0.2

    Nextcloud version: (see Nextcloud admin page) 21.0.0

    Updated from an older Nextcloud/ownCloud or fresh install: Yes

    Where did you install Nextcloud from: Package repository

    Signing status:

    Signing status
    Unable to access for now
    

    List of activated apps:

    App list
    accessibility/         drawio/                files_trashbin/           nextcloud_announcements/  settings/               twofactor_gateway/
    activity/              encryption/            files_versions/           notes/                    sharebymail/            updatenotification/
    admin_audit/           extract/               files_videoplayer/        notifications/            spreed/                 user_ldap/
    apporder/              federatedfilesharing/  firstrunwizard/           oauth2/                   support/                user_status/
    calendar/              federation/            integration_discourse/    password_policy/          survey_client/          viewer/
    cloud_federation_api/  files/                 integration_github/       photos/                   suspicious_login/       weather_status/
    comments/              files_ebookreader/     integration_reddit/       polls/                    systemtags/             workflowengine/
    contacts/              files_external/        integration_twitter/      privacy/                  tasks/
    contactsinteraction/   files_pdfviewer/       keeweb/                   provisioning_api/         text/
    dashboard/             files_rightclick/      logreader/                recommendations/          theming/
    dav/                   files_sharing/         lookup_server_connector/  serverinfo/               twofactor_backupcodes/
    
    

    Nextcloud configuration:

    Config report
    <?php
    $CONFIG = array (
      'instanceid' => '****',
      'datadirectory' => '/var/lib/nextcloud/data',
      'dbtype' => 'mysql',
      'version' => '21.0.0.18',
      'dbname' => 'nextcloud',
      'dbhost' => 'mysql.pi',
      'mysql.utf8mb4' => true,
      'dbuser' => 'nextcloud',
      'dbpassword' => '****',
      'installed' => true,
      'maintenance' => false,
      'loglevel' => 0,
      'cron_log' => true,
      'maxZipInputSize' => 5145728000,
      'allowZipDownload' => true,
      'memcache.local' => '\\OC\\Memcache\\APCu',
      'allow_local_remote_servers' => true,
      'trusted_domains' => 
      array (
        0 => 'nextcloud.****.org',
      ),
      'passwordsalt' => '***',
      'secret' => '****',
      'mail_domain' => '******.org',
      'mail_smtpmode' => 'php',
      'mail_from_address' => 'nextcloud',
      'trashbin_retention_obligation' => 'auto',
      'updatechecker' => false,
      'app.mail.verify-tls-peer' => false,
      'overwrite.cli.url' => 'https://nextcloud.***.org',
      'default_phone_region' => 'DE',
    );
    
    

    Are you using external storage, if yes which one: None, had configured SFTP mount point

    Are you using encryption: No

    Are you using an external user-backend, if yes which one: No

    Client configuration

    Browser: Latest Firefox

    Operating system: NixOS

    Nextcloud log (data/nextcloud.log)

    Nothing exceptional here, also no error logs Nextcloud log
    [...]
    {"reqId":"pti6pSFymOb7PvbzzzmM","level":0,"time":"2021-02-21T18:08:04+00:00","remoteAddr":"2****","user":"--","app":"files_sharing","method":"GET","url":"/cron.php","message":"/appinfo/app.php is deprecated, use \\OCP\\AppFramework\\Bootstrap\\IBootstrap on the application class instead.","userAgent":"Mozilla/5.0 (X11; Linux x86_64; rv:75.0) Gecko/20100101 Firefox/75.0","version":"21.0.0.18"}
    {"reqId":"pti6pSFymOb7PvbzzzmM","level":0,"time":"2021-02-21T18:08:04+00:00","remoteAddr":"*****","user":"--","app":"keeweb","method":"GET","url":"/cron.php","message":"/appinfo/app.php is deprecated, use \\OCP\\AppFramework\\Bootstrap\\IBootstrap on the application class instead.","userAgent":"Mozilla/5.0 (X11; Linux x86_64; rv:75.0) Gecko/20100101 Firefox/75.0","version":"21.0.0.18"}
    {"reqId":"pti6pSFymOb7PvbzzzmM","level":0,"time":"2021-02-21T18:08:04+00:00","remoteAddr":"*****","user":"--","app":"onlyoffice","method":"GET","url":"/cron.php","message":"/appinfo/app.php is deprecated, use \\OCP\\AppFramework\\Bootstrap\\IBootstrap on the application class instead.","userAgent":"Mozilla/5.0 (X11; Linux x86_64; rv:75.0) Gecko/20100101 Firefox/75.0","version":"21.0.0.18"}
    
    
    bug 2. developing 
    opened by onny 101
  • Issue while upgrading to 18 Beta1 (SQL, related to Flow)

    Issue while upgrading to 18 Beta1 (SQL, related to Flow)

    Steps to reproduce

    1. Install Nextcloud 17.0.1
    2. Download Nextcloud 18-Beta1 from download.nextcloud.com, and unzip the file
    3. Run the upgrade from the webclient.

    Expected behaviour

    Nextcloud should upgrade to 18-Beta1

    Actual behaviour

    SQL Issue:

    Doctrine\DBAL\Exception\TableNotFoundException: An exception occurred while executing 'SELECT `o`.`id` FROM `oc_flow_operations` `o` 
    LEFT JOIN `oc_flow_operations_scope` `s` ON `o`.`id` = `s`.`operation_id` 
    WHERE `s`.`operation_id` IS NULL': 
    SQLSTATE[42S02]: Base table or view not found: 1146 Table 'nextcloud_test.oc_flow_operations_scope' doesn't exist
    

    Server configuration

    Operating system: Linux

    Web server: Apache

    Database: MariaDB

    PHP version: 7.3.4

    Nextcloud version: (see Nextcloud admin page) 17.0.1 -> 18-beta1

    Updated from an older Nextcloud/ownCloud or fresh install: fresh and clean install

    bug needs info 0. Needs triage feature: install and update 
    opened by ArtificialOwl 101
  • Thunderbird 60.x unable to use caldav/carddav

    Thunderbird 60.x unable to use caldav/carddav

    When trying to access calendar (Lightning) and addressbooks (CardBook) on a Nextcloud 13.0.4 server, Thunderbird 60.0b9 receives status 503 from the server and therefor cannot access any data.

    Using Thunderbird 52.x everything works as expected.

    Cross reference see https://bugzilla.mozilla.org/show_bug.cgi?id=1468912

    The admin of our webserver tried the same with owncloud 7.0.4, but he did not test newer versions. Using this really old version of owncloud, Thunderbird 60.0b9 manages to access the caldav and carddav urls without any error. Since Nextcloud is a fork of owncloud, it might be, that the described issue is not Thunderbird related. Perhaps the bug has to be searched for in Nextclouds code.

    bug feature: dav 
    opened by egal88 100
  • Fix user status icon in avatar menu

    Fix user status icon in avatar menu

    Before | After ---|--- Bildschirmfoto vom 2023-01-04 10-18-55 | Bildschirmfoto vom 2023-01-04 10-17-55

    Summary

    The user status icon was also color inverted on dark mode

    Checklist

    bug 3. to review backport-request feature: status 
    opened by nickvergessen 1
  •  Update crl after revoke files_bpm.csr

    Update crl after revoke files_bpm.csr

    • Reference: nextcloud/app-certificate-requests#567

    Summary

    Revoked cert and created new CRL

    Checklist

    3. to review backport-request 
    opened by vitormattos 2
  • elaborate on what is required for using the tempdirectory setting of nextcloud

    elaborate on what is required for using the tempdirectory setting of nextcloud

    This elaborates a bit on the tempdirectory setting of nextcloud and how to get it working.

    Signed-off-by: Florian Goth [email protected]

    • Resolves: #19682

    Summary

    TODO

    • [ ] Proofread
    3. to review 
    opened by CaptainSifff 0
  • Hook into sabre event lifecycle for iMip Messages

    Hook into sabre event lifecycle for iMip Messages

    Summary

    Currently, repsonding to an iMip email doesn't trigger a corresponding email to the ORGANIZER as I didn't hook the iMip processing up to the sabre event lifecycle.

    This PR hooks the iMIP processing up with the schedule event, which will trigger the local delivery and the iMIP email plugin.

    This will work nicely with the impoved iMip emails in https://github.com/nextcloud/server/pull/35743

    Checklist

    enhancement 3. to review pending documentation feature: caldav 
    opened by miaulalala 0
  • appsidebar should be compact when opened on small heights

    appsidebar should be compact when opened on small heights

    Fix https://github.com/nextcloud/server/issues/34777

    | Before | After | |---|---| | image | image |

    For my own testing
    docker run -it \
    --name nextcloud-easy-test \
    -p 8443:443 \
    -e TRUSTED_DOMAIN=192.168.24.128 \
    --volume="nextcloud_easy_test_npm_cache_volume:/var/www/.npm" \
    -e SERVER_BRANCH=fix/34777/improve-app-sidebar \
    -e COMPILE_SERVER=1 \
    ghcr.io/szaimen/nextcloud-easy-test:latest
    
    bug 3. to review regression 
    opened by szaimen 2
Releases(v25.0.2)
Owner
Nextcloud
📱☁️💻 A safe home for all your data – community-driven, free & open source 👏
Nextcloud
FIle Uploader is a php package to aid fast , easy and safe file upload

FILE UPLOADER FIle Uploader is a php package to aid fast , easy and safe file upload installation composer require codad5/file-helper Features Fast an

Aniezeofor Chibueze Michael 2 Sep 3, 2022
A PHP library to deal with all those media services around, parsing their URLs and displaying their audios/videos.

MediaEmbed A utility library that generates HTML embed tags for audio or video located on a given URL. It also parses and validates given media URLs.

Mark Sch. 165 Nov 10, 2022
CSV data manipulation made easy in PHP

CSV Csv is a simple library to ease CSV parsing, writing and filtering in PHP. The goal of the library is to be powerful while remaining lightweight,

The League of Extraordinary Packages 3k Jan 4, 2023
PHP library that provides a filesystem abstraction layer − will be a feast for your files!

Gaufrette Gaufrette provides a filesystem abstraction layer. Why use Gaufrette? Imagine you have to manage a lot of medias in a PHP project. Lets see

KNP Labs 2.4k Jan 7, 2023
🌩支持多家云存储的云盘系统 (A project helps you build your own cloud in minutes)

Cloudreve 支持多家云存储驱动的公有云文件系统. 演示站 • 讨论社区 • 文档 • 下载 • Telegram 群组 • 许可证 ✨ 特性 ☁️ 支持本机、从机、七牛、阿里云 OSS、腾讯云 COS、又拍云、OneDrive (包括世纪互联版) 作为存储端 ?? 上传/下载 支持客户端直传

Cloudreve 17k Jan 7, 2023
Nextcloud AIO stands for Nextcloud All In One and provides easy deployment and maintenance with most features included in this one Nextcloud instance.

Nextcloud All In One Beta This is beta software and not production ready. But feel free to use it at your own risk! We expect there to be rough edges

Nextcloud 1.1k Jan 4, 2023
📇A contacts app for Nextcloud. Easily sync contacts from various devices with your Nextcloud and edit them online.

Nextcloud Contacts A contacts app for Nextcloud. Easily sync contacts from various devices with your Nextcloud and edit them online. This app only sup

Nextcloud 485 Dec 30, 2022
🗨️ Nextcloud Talk – chat, video & audio calls for Nextcloud

Nextcloud Talk A video & audio conferencing app for Nextcloud Why is this so awesome? ?? Chat Nextcloud Talk comes with a simple text chat, allowing y

Nextcloud 1.3k Dec 23, 2022
🍿 An AirPlay friendly web interface to stream your movies and TV shows from a home server.

Airflix Airflix is a web application for browsing and playing movies and TV shows from a local home server. The overall goal of the project is to prov

Brian Wells 437 Dec 22, 2022
Data driven home automation.

DataWhare Whare (Māori noun) house, building, residence, dwelling, shed, hut, habitation. Data driven home automation. Collects data from various sens

Mark Zeman 9 Sep 23, 2022
Intranet Home Page is a highly-configurable self-hosted browser homepage with integrations for public and local data feeds.

Intranet-Home-Page Created in response to personal "dashboards" that are little more than pages with a list of frequently accessed links, Intranet Hom

null 56 Aug 27, 2022
Obfuscate your data by generating reversible, non-sequential, URL-safe identifiers.

Laravel Hashid Laravel Hashid provides a unified API across various drivers such as Base62, Base64, Hashids and Optimus, with support for multiple con

Elf Sundae 390 Nov 16, 2022
Resources back-end for the Nextcloud CalDAV server

Calendar Resource Management This app enables the ??️ Calendar App to work with resources and rooms Installation Place this app in nextcloud/apps/ You

Nextcloud 35 Nov 8, 2022
UnifiedPush provider for Nextcloud - server application

NextPush - Server App UnifiedPush provider for Nextcloud - server application This is still a WIP version Requirement It require the nextcloud server

NextPush 38 Jan 5, 2023
A collection of type-safe functional data structures

lamphpda A collection of type-safe functional data structures Aim The aim of this library is to provide a collection of functional data structures in

Marco Perone 99 Nov 11, 2022
LaravelFly is a safe solution to speeds up new or old Laravel 5.5+ projects, with preloading and coroutine, while without data pollution or memory leak

Would you like php 7.4 Preloading? Would you like php coroutine? Today you can use them with Laravel because of Swoole. With LaravalFly, Laravel will

null 456 Dec 21, 2022
This script allows to bypass Oracle Cloud Infrastructure 'Out of host capacity' error immediately when additional OCI capacity will appear in your Home Region / Availability domain.

Resolving Oracle Cloud "Out of Capacity" issue and getting free VPS with 4 ARM cores / 24GB of memory Very neat and useful configuration was recently

Alexander Hitrov 323 Jan 6, 2023
A Wordpress plugin that allows you to customize a news feed on your home page

=== Plugin Name === Contributors: Noora Chahine Requires at least: 4.0.1 Tested up to: 5.4 Stable tag: 5.2 License: GPLv2 or later License URI: http:/

Noora Chahine 1 Nov 15, 2021