{ "version": "https://jsonfeed.org/version/1.1", "user_comment": "This feed allows you to read the posts from this site in any feed reader that supports the JSON Feed format. To add this feed to your reader, copy the following URL -- https://matoken.org/blog/tag/nextcloud/feed/json/ -- and add it your reader.", "next_url": "https://matoken.org/blog/tag/nextcloud/feed/json/?paged=2", "home_page_url": "https://matoken.org/blog/tag/nextcloud/", "feed_url": "https://matoken.org/blog/tag/nextcloud/feed/json/", "language": "ja", "title": "nextcloud – matoken's blog", "description": "Is there no plan B?", "icon": "https://matoken.org/blog/wp-content/uploads/2025/03/cropped-1865f695c4eecc844385acef2f078255036adccd42c254580ea3844543ab56d9.jpeg", "items": [ { "id": "https://matoken.org/blog/?p=5226", "url": "https://matoken.org/blog/2026/02/10/nextcloud-upgrade-fail/", "title": "Nextcloud\u306e\u81ea\u52d5\u30a2\u30c3\u30d7\u30c7\u30fc\u30c8\u306b\u5931\u6557\u3057\u3066\u30d0\u30c3\u30af\u30a2\u30c3\u30d7\u3067disk full", "content_html": "
\u30b5\u30fc\u30d0\u304cdisk full \u306b\u306a\u308a\u8abf\u3079\u305f\u3089Nextcloud \u304c\u81ea\u52d5\u30a2\u30c3\u30d7\u30c7\u30fc\u30c8\u3068\u81ea\u52d5\u30d0\u30c3\u30af\u30a2\u30c3\u30d7\uff0c\u3057\u304b\u3057\u5931\u6557\u3068\u3044\u3046\u306e\u3092\u6bce\u65e5\u7e70\u308a\u8fd4\u3057\u3066disk full \u306b\u306a\u3063\u3066\u3044\u307e\u3057\u305f\uff0e
\n\n
\u306f\u3058\u30811\u6708\u307b\u3069\u524d\u306bdisk full \u306b\u306a\u308a\uff0ccron \u3067\u52d5\u304b\u3057\u3066\u3044\u308b\u30c7\u30a4\u30ea\u30fc\u30d0\u30c3\u30af\u30a2\u30c3\u30d7\u304c\u6e9c\u307e\u3063\u3066\u3044\u308b\u305b\u3044\u304b\u3068\u601d\u3044\u305d\u3053\u3092\u6383\u9664\u3057\u305f\u306e\u3067\u3059\u304c\u4eca\u6708\u306b\u306a\u3063\u3066\u307e\u305fdisk full \u306b\uff0e
\ndu \u30b3\u30de\u30f3\u30c9\u306a\u3069\u3067\u78ba\u8a8d\u3059\u308b\u3068Nextcloud \u306e\u4e0b\u306e data/updater-${instanceid}/backups/ \u306b\u6bce\u65e5Nextcloud \u306e\u30d0\u30c3\u30af\u30a2\u30c3\u30d7\u304c\u4f5c\u3089\u308c\u3066\u3044\u307e\u3059\uff0e\u3053\u308c\u306e\u305b\u3044\u3067disk full \u306b\u306a\u3063\u3066\u3044\u308b\u3088\u3046\u3067\u3057\u305f\uff0e
| \n Note \n | \n\n${instanceid} \u306b\u3064\u3044\u3066\u306f config/config.php \u306e 'instanceid' \u3067\u78ba\u8a8d\u3067\u304d\u307e\u3059\uff0e\n | \n
\u3053\u3053\u306bNextcloud \u306e\u30d0\u30c3\u30af\u30a2\u30c3\u30d7\u304c\u4f5c\u3089\u308c\u308b\u306e\u306fNextcloud \u306e\u30a2\u30c3\u30d7\u30c7\u30fc\u30c8\u6642\u3067\u3059\uff0e\u307e\u305a\u306f\u624b\u52d5\u3067\u30a2\u30c3\u30d7\u30c7\u30fc\u30c8\u3092\u5b9f\u884c\u3057\u3066\u307f\u307e\u3059\uff0e
\n$ sudo -u www-data php updater/updater.phar\n\n :\n\n[\u2718] Verify integrity failed\nThere are more files than the downloaded archive in the downloads/ folder.\n\nUpdate failed. To resume or retry just execute the updater again.\n
\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3057\u305fNextcloud \u30a2\u30fc\u30ab\u30a4\u30d6\u304c\u304a\u304b\u3057\u305d\u3046\u3067\u3059\uff0e\u8a73\u7d30\u3092\u77e5\u308b\u305f\u3081\u306b\u30ed\u30b0\u3092\u78ba\u8a8d\u3057\u307e\u3059\uff0e
\n2026-02-08T22:30:46+0000 T8hDMIut3r [info] storage location: /var/www/files.matoken.org/data/updater-ocws62au2wl3/downloads/\n2026-02-08T22:30:57+0000 T8hDMIut3r [info] end of verifyIntegrity()\n
\u3053\u306e storage location \u306e\u4e0b\u3092\u898b\u308b\u3068\u524d\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u306e\u30a2\u30fc\u30ab\u30a4\u30d6\u304c\u6b8b\u3063\u3066\u3044\u3066\u3053\u308c\u304c\u602a\u3057\u305d\u3046\u3067\u3059\uff0e
$ ls -lA /var/www/files.matoken.org/data/updater-ocws62au2wl3/downloads/\n\u5408\u8a08 610548\n-rw-r--r-- 1 www-data www-data 312581794 1\u6708 16 04:09 nextcloud-32.0.4.zip\n-rw-r--r-- 1 www-data www-data 312597357 2\u6708 9 07:24 nextcloud-32.0.5.zip\n
\u53e4\u3044\u30a2\u30fc\u30ab\u30a4\u30d6\u3092\u524a\u9664\u3057\u307e\u3059\uff0e
\n$ rm /var/www/files.matoken.org/data/updater-ocws62au2wl3/downloads/nextcloud-32.0.4.zip\n
\u518d\u5ea6\u30a2\u30c3\u30d7\u30c7\u30fc\u30c8\u3092\u8a66\u307f\u307e\u3059\uff0e(\u5148\u7a0b\u30d0\u30c3\u30af\u30a2\u30c3\u30d7\u306f\u53d6\u5f97\u3057\u3066\u3044\u308b\u306e\u3067\u4eca\u56de\u306f\u30d0\u30c3\u30af\u30a2\u30c3\u30d7\u306f\u30b9\u30ad\u30c3\u30d7)
\n$ sudo -u www-data php updater/updater.phar --no-backup\n\n :\n\n\"occ upgrade\" finished\n\nKeep maintenance mode active? [y/N]\nMaintenance mode disabled\n\nMaintenance mode is disabled\n
\u4eca\u5ea6\u306f\u30a2\u30c3\u30d7\u30c7\u30fc\u30c8\u304c\u6b63\u5e38\u306b\u5b8c\u4e86\u3057\u307e\u3057\u305f\uff0e
\n
\u6b21\u306e\u65e5\u306b\u78ba\u8a8d\u3057\u3066\u3082\u30d0\u30c3\u30af\u30a2\u30c3\u30d7\u306f\u4f5c\u6210\u3055\u308c\u3066\u3044\u306a\u304b\u3063\u305f\u306e\u3067\u3053\u308c\u3067\u3042\u305f\u308a\u306e\u3088\u3046\u3067\u3059\uff0e
\n$ sudo -u www-data php /var/www/files.matoken.org/occ --version\nNextcloud 32.0.3\n$ lsb_release -dr\nNo LSB modules are available.\nDescription: Debian GNU/Linux 12 (bookworm)\nRelease: 12\n$ arch\nx86_64\n
Android \u7aef\u672b\u3092\u30bb\u30c3\u30c8\u30a2\u30c3\u30d7\u3057\u3066\u3044\u307e\u3059\uff0eNextcloid \u30a2\u30d7\u30ea\u3067\u4ee5\u524d\u304b\u3089 QR code \u3067\u3082\u8a8d\u8a3c\u3067\u304d\u305d\u3046\u3060\u3051\u3069\u3069\u3046\u3084\u3063\u3066\u8a8d\u8a3c\u7528\u306e QR code \u3092\u4f5c\u308b\u3093\u3060\u308d\u3046\u3068\u601d\u3044\u306a\u304c\u3089\u624b\u52d5\u3067\u5165\u529b\u3057\u3066\u3044\u307e\u3057\u305f\uff0e
\n\u4eca\u56de\u3084\u308a\u65b9\u306b\u6c17\u3065\u304d\u307e\u3057\u305f\uff0e
\n\n
Nextcloud \u306e\u8a8d\u8a3c\u306b\u4ed6\u8981\u7d20\u8a8d\u8a3c\u3092\u4f7f\u3063\u3066\u3044\u308b\u74b0\u5883\u306a\u306e\u3067\uff0cWeb \u306e Nextcloud \u3067\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u30d1\u30b9\u30ef\u30fc\u30c9\u3092\u751f\u6210\u3057\u307e\u3059\uff0e
\n\u3053\u306e\u3068\u304d\u4e0b\u306e\u65b9\u306b\u300c\u30e2\u30d0\u30a4\u30eb\u30a2\u30d7\u30ea\u306eQR\u30b3\u30fc\u30c9\u3092\u8868\u793a\u3059\u308b\u300d\u30dc\u30bf\u30f3\u304c\u3042\u308b\u306e\u3067\u3053\u308c\u3092\u62bc\u3059\u3068 QR code \u304c\u8868\u793a\u3055\u308c\u307e\u3059\uff0e
\nAndroid \u30a2\u30d7\u30ea\u5074\u3067\u300c\u30ed\u30b0\u30a4\u30f3\u300d
\n\u4e0b\u306e QR code \u307d\u3044\u753b\u50cf\u3092\u30bf\u30c3\u30d7\uff0eQR code \u8aad\u307f\u53d6\u308a\u7528\u306e\u30ab\u30e1\u30e9\u304c\u8d77\u52d5\u3059\u308b\u306e\u3067\u5148\u7a0b\u306e\u30a2\u30d7\u30ea\u30d1\u30b9\u30ef\u30fc\u30c9\u306e QR code \u3092\u8aad\u307f\u53d6\u308a\u307e\u3059\uff0e
\n\u304a\u624b\u8efd\u3067\u3059\u306d :)
\n$ sudo -u www-data php ./occ --version\nNextcloud 29.0.4\n$ lsb_release -dr\nNo LSB modules are available.\nDescription: Debian GNU/Linux 12 (bookworm)\nRelease: 12\n$ arch\nx86_64\n
$ adb shell dumpsys package com.nextcloud.client | grep versionName=\n versionName=3.29.2\n$ adb shell getprop ro.build.version.release\n14\n$ adb shell getprop ro.build.version.sdk\n34\n$ adb shell getprop ro.build.id\nUTA34.82-73\n$ adb shell getprop ro.product.model\nmoto g24\n
Nextcloud\u304c\u52d5\u304b\u306a\u304f\u306a\u308a\u307e\u3057\u305f\uff0e
\n\u30a2\u30af\u30bb\u30b9\u3059\u308b\u3068\u4ee5\u4e0b\u306e\u3088\u3046\u306a\u30a8\u30e9\u30fc\u30e1\u30c3\u30bb\u30fc\u30b8\u304c\u8868\u793a\u3055\u308c\u3066\u52d5\u304d\u307e\u305b\u3093\uff0e
Composer detected issues in your platform: Your Composer dependencies require a PHP version \">= 7.4.0\".\n\nNextcloud\n\u5185\u90e8\u30b5\u30fc\u30d0\u30fc\u30a8\u30e9\u30fc\n\u30b5\u30fc\u30d0\u30fc\u306f\u8981\u6c42\u3092\u5b8c\u4e86\u3067\u304d\u307e\u305b\u3093\u3067\u3057\u305f\u3002\n\n\u518d\u3073\u3053\u306e\u3088\u3046\u306a\u3053\u3068\u304c\u8d77\u3053\u3063\u305f\u5834\u5408\u306f\u3001\u4ee5\u4e0b\u306e\u6280\u8853\u60c5\u5831\u3092\u30b5\u30fc\u30d0\u30fc\u7ba1\u7406\u8005\u306b\u9001\u3063\u3066\u304f\u3060\u3055\u3044\u3002\n\n\u8a73\u7d30\u306f\u3001\u30b5\u30fc\u30d0\u30fc\u306e\u30ed\u30b0\u3092\u78ba\u8a8d\u3057\u3066\u304f\u3060\u3055\u3044\u3002\n\n\u6280\u8853\u8a73\u7d30\n\u30ea\u30e2\u30fc\u30c8\u30a2\u30c9\u30ec\u30b9: 180.131.110.140\n\u30ea\u30af\u30a8\u30b9\u30c8 ID: QkMNcL7xRrQwxESLUU9Y\n
\n
Nextcloud\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u30a2\u30c3\u30d7\u306f\u3057\u3066\u3044\u307e\u305b\u3093\uff0esource\u3092\u5c11\u3057\u898b\u308b\u30687.3\u4ee5\u4e0a\u3067\u5927\u4e08\u592b\u305d\u3046\u3067\u3059\uff0e
\nif (PHP_VERSION_ID < 70300) {\n http_response_code(500);\n echo 'This version of Nextcloud requires at least PHP 7.3<br/>';\n echo 'You are currently running ' . PHP_VERSION . '. Please update your PHP version.';\n exit(1);\n}\nNextcloud\u306eISSUE\u3092\u63a2\u3059\u3068\u4ee5\u4e0b\u306e\u3088\u3046\u306a\u3082\u306e\u3092\u898b\u3064\u3051\u307e\u3057\u305f\uff0e
\n\u3053\u3053\u3067\u306f\uff0cPolls\u30923.5\u306b\u4e0a\u3052\u308b\u3068PHP 7.4\u4ee5\u4e0a\u3092\u6c42\u3081\u308b\u3088\u3046\u306b\u306a\u3063\u3066\u3057\u307e\u3046\uff0cPHP\u30927.4\u4ee5\u4e0a\u306b\u3059\u308b\u304bPolls\u3092\u30c0\u30a6\u30f3\u30b0\u30ec\u30fc\u30c9\u3059\u308b\u3068\u76f4\u308b\u3068\u3044\u3046\u611f\u3058\u306e\u3088\u3046\u3067\u3059\uff0e
\n\u305d\u3046\u3044\u3048\u3070Nextcloud\u306e\u30e1\u30f3\u30c6\u3068\u3057\u3066\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u66f4\u65b0\u306f\u3057\u3066\u3044\u305f\u306e\u3067\u3053\u306e\u30ec\u304c\u5f53\u3066\u306f\u307e\u3063\u3066\u3044\u305d\u3046\u3067\u3059\uff0e\u3053\u306e\u74b0\u5883\u306fDebian buster\u3067php\u306f7.3\u3067\u3059\uff0eBullseye\u306b\u4e0a\u3052\u308b\u3068php 7.4\u306b\u306a\u308a\u307e\u3059\u304c\u672a\u3060\u6e96\u5099\u304c\u51fa\u6765\u3066\u3044\u307e\u305b\u3093\uff0e
$ rmadison php\nphp | 1:7.0+49 | oldoldstable | all\nphp | 2:7.3+69 | oldstable | all\nphp | 2:7.4+76 | stable | all\nphp | 2:8.1+92 | testing | all\nphp | 2:8.1+92 | unstable | all\nphp | 2:8.2+93~exp1 | experimental | all\n
\u3068\u3044\u3046\u3053\u3068\u3067\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u306e\u30c0\u30a6\u30f3\u30b0\u30ec\u30fc\u30c9\u3092\u884c\u3044\u307e\u3057\u305f\uff0e
\n$ sudo -u www-data php ./occ app:disable polls (1)\n$ sudo -u www-data php ./occ app:remove polls (2)\n$ wget https://github.com/nextcloud/polls/releases/download/v3.4.2/polls.tar.gz -O /tmp/polls.tar.gz (3)\n$ sudo -u www-data tar xvf /tmp/polls.tar.gz -C ./apps/ (4)\n$ sudo -u www-data php ./occ app:enable polls (5)\n$ rm /tmp/polls.tar.gz\n
\u81ea\u5206\u306e\u74b0\u5883\u3067\u306f\u3053\u308c\u3060\u3051\u3067\u306f\u6cbb\u3089\u306a\u304b\u3063\u305f\u3067\u3059\uff0e
\n\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u4e2d\u304b\u30897.4\u3092\u6c42\u3081\u308b\u3082\u306e\u3092\u63a2\u3057\u3066\u540c\u69d8\u306b\u7121\u52b9\u5316\uff0c\u524a\u9664\uff0c\u65e7\u30d0\u30fc\u30b7\u30e7\u30f3\u306e\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3068\u5c55\u958b\uff0c\u6709\u52b9\u5316\u3092\u884c\u3044\u6cbb\u308a\u307e\u3057\u305f\uff0e
$ sudo -u www-data find ./apps -type f -iname \"*.php\" -print0 | xargs -0 grep \"70400\"\n
Nextcloud\u306e\u8981\u4ef6\u4ee5\u4e0a\u3092\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u3067\u6c42\u3081\uff0c\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3067\u304d\u3066\u3057\u307e\u3046\u3068\u3044\u3046\u306e\u306f\u521d\u3081\u3066\u906d\u9047\u3057\u307e\u3057\u305f\uff0e\u5c11\u3057\u6c17\u3092\u3064\u3051\u306a\u3044\u3068\u3044\u3051\u307e\u305b\u3093\u306d\uff0e
\n\u305d\u3057\u3066\u65e9\u3081\u306bDebian Bullesye\u306b\u4e0a\u3052\u3066PHP\u30927.4\u306b\u3057\u305f\u3044\u3068\u3053\u308d\u3067\u3059\uff0e
| \n Note \n | \n\n \n \nPHP\u306esite\u304b\u30897.4\u3092\u5165\u624b\u3057\u3066\u8a2d\u5b9a\u3082\u6709\u308a\u304b\u3082\u3067\u3059\u304c\u30e1\u30f3\u30c6\u30ca\u30f3\u30b9\u30b3\u30b9\u30c8\u304c\u4e0a\u304c\u3063\u3066\u3057\u307e\u3044\u307e\u3059\u306d\u2026\u2026\uff0e \n\n \n
| \n
$ sudo -u www-data php ./occ --version\nNextcloud 23.0.7\n$ php -v\nPHP 7.3.31-1~deb10u1 (cli) (built: Oct 24 2021 15:18:08) ( NTS )\nCopyright (c) 1997-2018 The PHP Group\nZend Engine v3.3.31, Copyright (c) 1998-2018 Zend Technologies\n with Zend OPcache v7.3.31-1~deb10u1, Copyright (c) 1999-2018, by Zend Technologies\n$ lsb_release -dr\nDescription: Debian GNU/Linux 10 (buster)\nRelease: 10\n$ arch\nx86_64\n
Nextcloud 21\u3067\u30bb\u30ad\u30e5\u30ea\u30c6\u30a3&\u30bb\u30c3\u30c8\u30a2\u30c3\u30d7\u8b66\u544a\u3092\u78ba\u8a8d\u3057\u3066\u4fee\u6b63\u3057\u307e\u3057\u305f\uff0e
\n\n
\u7ba1\u7406\u8005\u30a2\u30ab\u30a6\u30f3\u30c8\u3067\u300c\u8a2d\u5b9a\u300d\u2192\u300c\u7ba1\u7406\u300d\u306e\u300c\u6982\u8981\u300d\u304b\u3089\u300c\u30bb\u30ad\u30e5\u30ea\u30c6\u30a3\uff06\u30bb\u30c3\u30c8\u30a2\u30c3\u30d7\u8b66\u544a\u300d\u3092\u78ba\u8a8d\u3057\u307e\u3059\uff0e
\n\u4eca\u56de\u306f1\u4ef6\u306e\u8b66\u544a\u304c\u3042\u308a\u307e\u3057\u305f\uff0e
\n\n\n\n\n\u30bb\u30c3\u30c8\u30a2\u30c3\u30d7\u306b\u95a2\u3057\u3066\u8b66\u544a\u304c\u3044\u304f\u3064\u304b\u3042\u308a\u307e\u3059\u3002
\n
\n\u3054\u4f7f\u7528\u306e\u30b7\u30b9\u30c6\u30e0\u306b\u306f\u3001\u30c7\u30d5\u30a9\u30eb\u30c8\u306e\u96fb\u8a71\u5730\u57df\u304c\u8a2d\u5b9a\u3055\u308c\u3066\u3044\u307e\u305b\u3093\u3002\u3053\u308c\u306f\u3001\u56fd\u30b3\u30fc\u30c9\u306a\u3057\u3067\u30d7\u30ed\u30d5\u30a1\u30a4\u30eb\u8a2d\u5b9a\u306e\u96fb\u8a71\u756a\u53f7\u3092\u691c\u8a3c\u3059\u308b\u305f\u3081\u306b\u5fc5\u8981\u3067\u3059\u3002\u56fd\u30b3\u30fc\u30c9\u306a\u3057\u3067\u756a\u53f7\u3092\u8a31\u53ef\u3059\u308b\u306b\u306f\u3001\u5730\u57df\u306e\u305d\u308c\u305e\u308c\u306e ISO3166-1\u30b3\u30fc\u30c9\u3068\u3068\u3082\u306b “default_phone_region” \u3092\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\u306b\u8ffd\u52a0\u3057\u3066\u304f\u3060\u3055\u3044\u3002
\u65b0\u3057\u3044\u8a2d\u5b9a\u9805\u76ee\u304c\u5897\u3048\u305f\u3088\u3046\u3067\u3059\uff0e config.php \u306b\u96fb\u8a71\u5730\u57df\u306e\u8a2d\u5b9a( default_phone_region )\u304c\u5fc5\u8981\u306b\u306a\u3063\u305f\u3088\u3046\u3067\u3059\uff0e
\u307e\u305a\u306f\uff0c\u4ee5\u4e0b\u306e\u30da\u30fc\u30b8\u3092\u53c2\u8003\u306b\u81ea\u5206\u306e\u8a2d\u5b9a\u3057\u305f\u3044\u5730\u57df\u306e\u5730\u57df\u30b3\u30fc\u30c9\u3092\u78ba\u8a8d\u3057\u307e\u3059\uff0e\u81ea\u5206\u306f\u30b8\u30db\u30f3\u306b\u8a2d\u5b9a\u3057\u305f\u3044\u306e\u3067\uff0cJapan\u306e\u3068\u3053\u308d\u3092\u898b\u307e\u3057\u305f\uff0e JP \u306e\u3088\u3046\u3067\u3059\uff0e
\n\n\n\nJP\tJapan\t1974\t.jp\tISO 3166-2:JP
\n
\u6b21\u306b\u4ee5\u4e0b\u306e\u6587\u7ae0\u3092\u53c2\u8003\u306b\uff0c${NEXTCLOUDPATH}/config/config.php \u306e $CONFIG = array \u306e\u4e2d\u306e\u9069\u5f53\u306a\u90e8\u5206\u306b 'default_phone_region' \u21d2 'JP', \u3092\u8ffd\u8a18\u3057\u307e\u3059\uff0e
\u518d\u5ea6\u300c\u30bb\u30ad\u30e5\u30ea\u30c6\u30a3\uff06\u30bb\u30c3\u30c8\u30a2\u30c3\u30d7\u8b66\u544a\u300d\u3092\u518d\u8aad\u8fbc\u3057\u3066\u8b66\u544a\u304c\u6d88\u3048\u3066\u3044\u305f\u3089OK\u3067\u3059\uff0e
\n$ sudo -u www-data php ${NEXTCLOUDPATH}/occ --version\nNextcloud 21.0.3\n$ dpkg-query -W php apache2 mariadb-server\napache2 2.4.38-3+deb10u4\nmariadb-server 1:10.3.29-0+deb10u1\nphp 2:7.3+69\n$ lsb_release -dr\nDescription: Debian GNU/Linux 10 (buster)\nRelease: 10\n$ arch\nx86_64\nNextcloud 21.02\u304b\u308921.0.3\u306b\u30a2\u30c3\u30d7\u30c7\u30fc\u30c8\u3057\u307e\u3057\u305f\uff0e
\n\u3057\u304b\u3057\u30a2\u30c3\u30d7\u30c7\u30fc\u30c8\u7d42\u4e86\u5f8c\u306b\u52d5\u4f5c\u3057\u306a\u304f\u306a\u3063\u3066\u3057\u307e\u3044\u307e\u3057\u305f\uff0e\u975e\u5bfe\u5fdc\u30a2\u30d7\u30ea\u304c\u3042\u3063\u305f\u305b\u3044\u3060\u3063\u305f\u306e\u3067\u305d\u308c\u3092\u7121\u52b9\u5316\u3057\u3066\u5fa9\u6d3b\u3057\u307e\u3057\u305f\uff0e
\n
\u3044\u3064\u3082\u306e\u3088\u3046\u306b occ \u30b3\u30de\u30f3\u30c9\u3067\u30a2\u30c3\u30d7\u30c7\u30fc\u30c8\u3092\u884c\u3044\u307e\u3057\u305f\uff0e
$ sudo -u www-data php ${NEXTCLOUDPATH}/updater/updater.phar\nNextcloud Updater - version: v20.0.0beta4-11-g68fa0d4\n\nCurrent version is 21.0.2.\n\nUpdate to Nextcloud 21.0.3 available. (channel: \"stable\")\nFollowing file will be downloaded automatically: https://download.nextcloud.com/server/releases/nextcloud-21.0.3.zip\nOpen changelog
\n\nSteps that will be executed:\n[ ] Check for expected files\n[ ] Check for write permissions\n[ ] Create backup\n[ ] Downloading\n[ ] Verify integrity\n[ ] Extracting\n[ ] Enable maintenance mode\n[ ] Replace entry points\n[ ] Delete old files\n[ ] Move new files in place\n[ ] Done\n\nStart update? [y/N] y\n\nInfo: Pressing Ctrl-C will finish the currently running step and then stops the updater.\n\n[
] Check for expected files\n[
] Check for write permissions\n[
] Create backup\n[
] Downloading\n[
] Verify integrity\n[
] Extracting\n[
] Enable maintenance mode\n[
] Replace entry points\n[
] Delete old files\n[
] Move new files in place\n[
] Done\n\nUpdate of code successful.\n\nShould the \"occ upgrade\" command be executed? [Y/n]\nNextcloud or one of the apps require upgrade - only a limited number of commands are available\nYou may use your browser or the occ upgrade command to do the upgrade\n\n : (1)\n\n2021-07-07T13:51:49+00:00 Starting code integrity check...\n2021-07-07T13:52:09+00:00 Finished code integrity check\n2021-07-07T13:52:09+00:00 Update successful\n2021-07-07T13:52:09+00:00 Maintenance mode is kept active\n2021-07-07T13:52:09+00:00 Resetting log level\n\nKeep maintenance mode active? [y/N]\nMaintenance mode disabled\n\nMaintenance mode is disabled\n\u3059\u308b\u3068Nextcloud\u304c\u52d5\u4f5c\u3057\u306a\u304f\u306a\u308a\u307e\u3057\u305f\uff0eocc\u30b3\u30de\u30f3\u30c9\u3082\u4f7f\u3048\u306a\u304f\u306a\u3063\u3066\u3044\u307e\u3059\uff0efiles_external_dropbox \u30a2\u30d7\u30ea\u304c\u602a\u3057\u305d\u3046\u306a\u306e\u3067\u3053\u308c\u3092\u7121\u52b9\u5316\u3057\u305f\u3044\u306e\u3067\u3059\u304c\uff0cocc\u30b3\u30de\u30f3\u30c9\u81ea\u4f53\u304c\u52d5\u304b\u306a\u304f\u306a\u3063\u3066\u3044\u308b\u3057Web\u3082\u52d5\u4f5c\u3057\u306a\u3044\u306e\u3067\u7121\u52b9\u5316\u3067\u304d\u307e\u305b\u3093\uff0e
$ sudo -u www-data php /var/www/files.matoken.org/occ app:disable files_external_dropbox\nAn unhandled exception has been thrown:\nError: Undefined class constant 'MAJOR_VERSION' in /var/www/files.matoken.org/3rdparty/guzzlehttp/guzzle/src/Utils.php:118\nStack trace:\n#0 /var/www/files.matoken.org/3rdparty/guzzlehttp/guzzle/src/functions.php(71): GuzzleHttp\\Utils::defaultUserAgent()\n#1 /var/www/files.matoken.org/apps/files_external_dropbox/vendor/guzzlehttp/guzzle/src/Client.php(194): GuzzleHttp\\default_user_agent()\n#2 /var/www/files.matoken.org/apps/files_external_dropbox/vendor/guzzlehttp/guzzle/src/Client.php(75): GuzzleHttp\\Client->configureDefaults(Array)\n#3 /var/www/files.matoken.org/lib/private/Http/Client/ClientService.php(62): GuzzleHttp\\Client->__construct()\n#4 /var/www/files.matoken.org/lib/private/OCS/DiscoveryService.php(55): OC\\Http\\Client\\ClientService->newClient()\n#5 /var/www/files.matoken.org/lib/private/Server.php(1264): OC\\OCS\\DiscoveryService->__construct(Object(OC\\Memcache\\Factory), Object(OC\\Http\\Client\\ClientService))\n#6 /var/www/files.matoken.org/lib/private/AppFramework/Utility/SimpleContainer.php(155): OC\\Server->OC\\{closure}(Object(OC\\Server))\n#7 /var/www/files.matoken.org/3rdparty/pimple/pimple/src/Pimple/Container.php(118): OC\\AppFramework\\Utility\\SimpleContainer->OC\\AppFramework\\Utility\\{closure}(Object(Pimple\\Container))\n#8 /var/www/files.matoken.org/lib/private/AppFramework/Utility/SimpleContainer.php(122): Pimple\\Container->offsetGet('OCP\\\\OCS\\\\IDiscov...')\n#9 /var/www/files.matoken.org/lib/private/ServerContainer.php(137): OC\\AppFramework\\Utility\\SimpleContainer->query('OCP\\\\OCS\\\\IDiscov...', false)\n#10 /var/www/files.matoken.org/lib/private/AppFramework/DependencyInjection/DIContainer.php(434): OC\\ServerContainer->query('OCP\\\\OCS\\\\IDiscov...', true)\n#11 /var/www/files.matoken.org/lib/private/AppFramework/Utility/SimpleContainer.php(87): OC\\AppFramework\\DependencyInjection\\DIContainer->query('OCP\\\\OCS\\\\IDiscov...', true)\n#12 [internal function]: OC\\AppFramework\\Utility\\SimpleContainer->OC\\AppFramework\\Utility\\{closure}(Object(ReflectionParameter))\n#13 /var/www/files.matoken.org/lib/private/AppFramework/Utility/SimpleContainer.php(101): array_map(Object(Closure), Array)\n#14 /var/www/files.matoken.org/lib/private/AppFramework/Utility/SimpleContainer.php(109): OC\\AppFramework\\Utility\\SimpleContainer->buildClass(Object(ReflectionClass))\n#15 /var/www/files.matoken.org/lib/private/AppFramework/Utility/SimpleContainer.php(126): OC\\AppFramework\\Utility\\SimpleContainer->resolve('OCA\\\\Federation\\\\...')\n#16 /var/www/files.matoken.org/lib/private/AppFramework/DependencyInjection/DIContainer.php(459): OC\\AppFramework\\Utility\\SimpleContainer->query('OCA\\\\Federation\\\\...')\n#17 /var/www/files.matoken.org/lib/private/AppFramework/DependencyInjection/DIContainer.php(431): OC\\AppFramework\\DependencyInjection\\DIContainer->queryNoFallback('OCA\\\\Federation\\\\...')\n#18 /var/www/files.matoken.org/lib/private/AppFramework/Utility/SimpleContainer.php(87): OC\\AppFramework\\DependencyInjection\\DIContainer->query('OCA\\\\Federation\\\\...', true)\n#19 [internal function]: OC\\AppFramework\\Utility\\SimpleContainer->OC\\AppFramework\\Utility\\{closure}(Object(ReflectionParameter))\n#20 /var/www/files.matoken.org/lib/private/AppFramework/Utility/SimpleContainer.php(101): array_map(Object(Closure), Array)\n#21 /var/www/files.matoken.org/lib/private/AppFramework/Utility/SimpleContainer.php(109): OC\\AppFramework\\Utility\\SimpleContainer->buildClass(Object(ReflectionClass))\n#22 /var/www/files.matoken.org/lib/private/AppFramework/Utility/SimpleContainer.php(126): OC\\AppFramework\\Utility\\SimpleContainer->resolve('OCA\\\\Federation\\\\...')\n#23 /var/www/files.matoken.org/lib/private/AppFramework/DependencyInjection/DIContainer.php(459): OC\\AppFramework\\Utility\\SimpleContainer->query('OCA\\\\Federation\\\\...')\n#24 /var/www/files.matoken.org/lib/private/ServerContainer.php(146): OC\\AppFramework\\DependencyInjection\\DIContainer->queryNoFallback('OCA\\\\Federation\\\\...')\n#25 /var/www/files.matoken.org/lib/private/Console/Application.php(221): OC\\ServerContainer->query('OCA\\\\Federation\\\\...')\n#26 /var/www/files.matoken.org/lib/private/Console/Application.php(136): OC\\Console\\Application->loadCommandsFromInfoXml(Array)\n#27 /var/www/files.matoken.org/console.php(99): OC\\Console\\Application->loadCommands(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))\n#28 /var/www/files.matoken.org/occ(11): require_once('/var/www/files....')\n\u3068\u3044\u3046\u3053\u3068\u3067\uff0c\u4e71\u66b4\u3067\u3059\u304c files_external_dropbox \u3092\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u3054\u3068\u9000\u907f\u3057\u307e\u3057\u305f\uff0e
$ sudo mv ${NEXTCLOUDPATH}apps/files_external_dropbox ~/tmp/\nocc\u30b3\u30de\u30f3\u30c9\u3082Web\u3082\u52d5\u4f5c\u3059\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3057\u305f\uff0e
\n\u4eca\u56de\u81ea\u52d5\u7684\u306b\u7121\u52b9\u306b\u306a\u3089\u306a\u304b\u3063\u305f\u539f\u56e0\u306f\u8abf\u3079\u3066\u3044\u307e\u305b\u3093\u304c\uff0cconfig.php \u306b\u4eca\u56de\u306e\u30a2\u30d7\u30ea\u306e\u8a18\u8ff0\u304c\u3042\u3063\u305f\u306e\u3067\u305d\u306e\u305b\u3044\u304b\u3082\u3057\u308c\u307e\u305b\u3093\uff0e
\n$ sudo -u www-data php ${NEXTCLOUDPATH}/occ --version\nNextcloud 21.0.3\n$ sudo -u www-data php ${NEXTCLOUDPATH}/occ --version\nNextcloud 21.0.3\n$ dpkg-query -W php apache2 mariadb-server\napache2 2.4.38-3+deb10u4\nmariadb-server 1:10.3.29-0+deb10u1\nphp 2:7.3+69\n$ lsb_release -dr\nDescription: Debian GNU/Linux 10 (buster)\nRelease: 10\n$ arch\nx86_64\n\u30c9\u30ad\u30e5\u30e1\u30f3\u30c8\u5171\u6709\u30b5\u30a4\u30c8\u306e\u7121\u6599\u67a0\u3092\u4f7f\u3046\u306e\u304c\u8f9b\u304f\u306a\u3063\u305f\u306e\u3067Nextcloud\u306eURL\u5171\u6709\u3067\u3069\u3046\u306b\u304b\u306a\u3089\u306a\u3044\u304b\u306a\u3068\u601d\u3063\u3066\u3044\u307e\u3059\uff0e
\n\u307e\u305a\u306fpdf\u30d5\u30a1\u30a4\u30eb\u3092object\u30bf\u30b0\u3067\u57cb\u3081\u8fbc\u3080\u65b9\u6cd5\u3092\u8a66\u3057\u307e\u3057\u305f\uff0e
\u3053\u306e\u65b9\u6cd5\u306e\u30c7\u30e1\u30ea\u30c3\u30c8\u306fcgi\u3092\u7528\u610f\u3057\u306a\u3044\u3068\u3044\u3051\u306a\u3044\uff0cpdf\u3092\u8aad\u3080\u6c17\u304c\u306a\u304f\u3066\u3082\u30da\u30fc\u30b8\u3092\u8aad\u307f\u8fbc\u3080\u3068pdf\u30d5\u30a1\u30a4\u30eb\u304c\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3055\u308c\u3066\u3057\u307e\u3044\u30da\u30fc\u30b8\u5bb9\u91cf\u304c\u5927\u304d\u304f\u306a\u3063\u3066\u3057\u307e\u3046\uff0e\u305d\u3057\u3066Nextcloud\u306b\u300c<pdf\u30d5\u30a1\u30a4\u30eb\u540d> \u304c\u516c\u958b\u30ea\u30f3\u30af\u304b\u3089\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3055\u308c\u307e\u3057\u305f\u300d\u3068\u3044\u3046\u901a\u77e5\u304c\u305f\u304f\u3055\u3093\u5c4a\u3044\u3066\u3057\u307e\u3044\u3061\u3087\u3063\u3068\u3046\u308b\u3055\u3044\u3068\u3044\u3063\u305f\u611f\u3058\u3067\u3059\uff0e
\n\u9014\u4e2d\u306ecgi\u3067\u30ad\u30e3\u30c3\u30b7\u30e5\u3057\u3066\u30d7\u30ec\u30d3\u30e5\u30fc\u7528\u306e\u753b\u50cf\u3092\u7528\u610f\u3057\u3066web\u306b\u306f\u305d\u306e\u30d7\u30ec\u30d3\u30e5\u30fc\u753b\u50cf\u3092\u8868\u793a\u3057\u3066\u304a\u3051\u3070\u3044\u3044\u306e\u3067\u306f\u3068cgi\u3092\u66f8\u304d\u63db\u3048\u3066\u3044\u307e\u3057\u305f\uff0ehead\u3067\u5f15\u3063\u5f35\u3063\u3066\u3082\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3055\u308c\u305f\u6271\u3044\u306b\u306a\u308b\u3057db\u304b\u3089\u5b9f\u30d5\u30a1\u30a4\u30eb\u306e\u5834\u6240\u3092\u63a2\u3057\u3066\u305d\u3053\u304b\u3089\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3059\u308b\u3088\u3046\u306b\uff0c\u30b5\u30e0\u30cd\u30a4\u30eb\u3082db\u304b\u3089\u5f15\u3063\u5f35\u3063\u3066\u3053\u308c\u308b\u304b\u306a?\u3068\u304b\u3084\u3063\u3066\u307e\u3057\u305f\u304c\u3075\u3068\u305d\u308c\u3060\u3068\u6a19\u6e96\u306e\u6a5f\u80fd\u3067\u51fa\u6765\u308b\u306e\u3067\u306f\u3068\u6c17\u3065\u3044\u305f\u306e\u3067\u8a66\u3057\u3066\u307f\u307e\u3057\u305f\uff0e
\npdf\u5171\u6709URL\u306e\u672b\u5c3e\u306b /preview \u3092\u4ed8\u3051\u308b\u3068\u30d7\u30ec\u30d3\u30e5\u30fc\u753b\u50cf\u304c\u8868\u793a\u3055\u308c\u307e\u3059\uff0e(\u6a19\u6e96\u3067\u306f50MB\u4ee5\u4e0b\u306e\u30d5\u30a1\u30a4\u30eb\u306e\u5834\u5408)
| \n Note \n | \n\n\u5171\u6709URL\u304c https://files.matoken.org/index.php/s/r7jEJdjiSRzb4nZ \u306e\u3068\u304d\u306e\u30d7\u30ec\u30d3\u30e5\u30fc\u753b\u50cfURL https://files.matoken.org/index.php/s/r7jEJdjiSRzb4nZ/preview | \n
\u3053\u308c\u3092\u5229\u7528\u3057\u3066\u3053\u3093\u306a\u611f\u3058\u306b\u66f8\u304f\u3068\uff0c
\n[quote,'link:https://files.matoken.org/index.php/s/r7jEJdjiSRzb4nZ[https://files.matoken.org/index.php/s/r7jEJdjiSRzb4nZ]']\nlink:https://files.matoken.org/index.php/s/r7jEJdjiSRzb4nZ[image:https://files.matoken.org/index.php/s/r7jEJdjiSRzb4nZ/preview[width=100%]]\n<div class=\"quoteblock\">\n<blockquote>\n<a href=\"https://files.matoken.org/index.php/s/r7jEJdjiSRzb4nZ\"><span class=\"image\"><img src=\"https://files.matoken.org/index.php/s/r7jEJdjiSRzb4\nnZ/preview\" alt=\"preview\" width=\"100%\"></span></a>\n<div class=\"attribution\">\n— <a href=\"https://files.matoken.org/index.php/s/r7jEJdjiSRzb4nZ\">https://files.matoken.org/index.php/s/r7jEJdjiSRzb4nZ</a>\n</div>\n</blockquote>\n</div>\n\u3053\u3046\u3044\u3046\u3075\u3046\u306b\u306a\u308a\u307e\u3057\u305f\uff0e\u30af\u30ea\u30c3\u30af\u3059\u308b\u3068Nextcloud\u306epdf\u30d5\u30a1\u30a4\u30eb\u30d7\u30ec\u30d3\u30e5\u30fc\u753b\u9762\u304c\u958b\u304b\u308c\uff0c\u6700\u8fd1\u306e\u30e2\u30c0\u30f3\u30a6\u30a7\u30d6\u30d6\u30e9\u30a6\u30b6\u3067\u306f\u305d\u306e\u307e\u307e\u95b2\u89a7\u3067\u304d\u307e\u3059\uff0e
\n\n\n\n
SpeakerDeck\u306a\u3093\u304b\u3067\u306f\u57cb\u3081\u8fbc\u3093\u3060\u30da\u30fc\u30b8\u3067\u305d\u306e\u307e\u307e\u8aad\u3080\u3053\u3068\u3082\u51fa\u6765\u307e\u3059\u304c\u3068\u308a\u3042\u3048\u305a\u3053\u308c\u306a\u3089cgi\u3082\u5fc5\u8981\u306a\u304fNextcloud\u306e\u6a19\u6e96\u6a5f\u80fd\u3060\u3051(\u6050\u3089\u304fNC13\u4ee5\u964d\u3067\u53ef\u80fd)\u3067\u3044\u3051\u308b\u306e\u3067\u305d\u3053\u305d\u3053\u3044\u3044\u611f\u3058\u3067\u306f\u306a\u3044\u304b\u306a\u3068\u601d\u3044\u307e\u3059\uff0e
\n$ sudo -u www-data php occ --version\nNextcloud 20.0.8\n$ dpkg-query -W php mariadb-server apache2\napache2 2.4.38-3+deb10u4\nmariadb-server 1:10.3.27-0+deb10u1\nphp 2:7.3+69\n$ lsb_release -dr\nDescription: Debian GNU/Linux 10 (buster)\nRelease: 10\n$ uname -m\nx86_64\n\u30b9\u30e9\u30a4\u30c9\u3084\u30c9\u30ad\u30e5\u30e1\u30f3\u30c8\u3092\u5171\u6709\u3059\u308b\u306e\u306bSpeakerDeck\u3084edockr\u3092\u4f7f\u3063\u3066\u3044\u307e\u3059\uff0e(SlideShare\u306f\u7121\u6599\u30a2\u30ab\u30a6\u30f3\u30c8\u3067\u518d\u30a2\u30c3\u30d7\u30ed\u30fc\u30c9\u304c\u3067\u304d\u306a\u304f\u306a\u3063\u3066\u3057\u307e\u3063\u3066\u304b\u3089\u4f7f\u308f\u306a\u304f\u306a\u308a\u307e\u3057\u305f\uff0e)
\nSpeakerDeck\u306e\u7121\u6599\u3067\u306e\u5236\u9650\u3067100\u30a2\u30c3\u30d7\u30ed\u30fc\u30c9\u307e\u3067\u3067\u305d\u308d\u305d\u308d\u3044\u3063\u3071\u3044\uff0cedockr\u306f\u3057\u3070\u3089\u304f\u3057\u305f\u3089\u6d88\u3048\u3066\u3057\u307e\u3046\u3068\u3044\u3046\u3053\u3068\u3092\u6700\u8fd1\u77e5\u308a\u307e\u3057\u305f\uff0e
\n\n\n@edocr Uploaded documents are disappearing by themselves. Is this a specification of the Free plan?https://t.co/3X6WwOYcID
\n\u2014 matoken (@matoken1) March 5, 2021
\n\n\nYes, sorta. There are 3 parts of the edocr service: Sharing, SEO indexing & Storage. Sharing is free. So, inactive documents in free accounts are deleted over time by our algorithms. The cost of Premium is so low we assume if people cared they would sign up. <9 cents/doc/year.
\n\u2014 edocr (@edocr) March 5, 2021
pdf\u30d5\u30a1\u30a4\u30eb\u3092\u5171\u6709\u3059\u308b\u3060\u3051\u306a\u3089Nextcloud\u3067\u306eURL\u5171\u6709\u3092\u4f7f\u3048\u3070\u3044\u3044\u306e\u3067\u3059\u304c\uff0cweb\u306b\u57cb\u3081\u8fbc\u3080\u3053\u3068\u304c\u51fa\u6765\u307e\u305b\u3093\uff0eNextcloud\u306e\u6a5f\u80fd\u3084\u30a2\u30d7\u30ea\u306b\u305d\u3046\u3044\u3063\u305f\u3082\u306e\u304c\u3042\u308b\u3068\u3044\u3044\u306e\u3067\u3059\u304c\uff0c\u30bb\u30ad\u30e5\u30ea\u30c6\u30a3\u306e\u554f\u984c\u304b\u3089\u5b9f\u88c5\u3055\u308c\u3066\u3044\u307e\u305b\u3093\uff0e
\n\u3068\u308a\u3042\u3048\u305a\u96d1\u306a\u65b9\u6cd5\u3067\u3059\u304c\uff0c\u3053\u3093\u306a\u611f\u3058\u3067\u5b9f\u73fe\u3057\u3066\u307f\u307e\u3057\u305f\uff0e
\nNextcloud\u306e\u516c\u958bURL\u306e\u5185\u5bb9\u3092pdf\u3068\u3057\u3066\u51fa\u529b\u3057\u307e\u3059\uff0e\u5b9f\u884c\u6a29\u3092\u4ed8\u3051\u3066cgi\u3068\u3057\u3066\u8a2d\u5b9a\u3057\u307e\u3059\uff0e
\n#!/usr/bin/perl\nuse strict;\nuse warnings;\nuse LWP::Simple;\nuse IO::Handle;\nSTDOUT->autoflush(1);\n\n$ARGV[0] = \"\" unless defined $ARGV[0];\nmy $url = $ARGV[0];\nif( $url !~ /\\/download$/ ){\n $url = $url . \"/download\";\n}\nprint \"Content-Type: application/pdf\\n\\n\";\ngetprint($url);\n\u3068\u308a\u3042\u3048\u305a\u3053\u3093\u306a\u611f\u3058\u3067cgi\u306e\u5f8c\u308d\u306bNextcloud\u516c\u958bURL\u3092\u4ed8\u3051\u3066\u30a2\u30af\u30bb\u30b9\u3059\u308b\u3068\u30d6\u30e9\u30a6\u30b6\u3067pdf\u3092\u898b\u308b\u3053\u3068\u304c\u3067\u304d\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3057\u305f\uff0e
\n\u4e0a\u3067\u4f5c\u3063\u305fcgi\u3092object\u30bf\u30b0\u3067\u57cb\u3081\u8fbc\u3093\u3067\u307f\u308b\u3068\u3068\u308a\u3042\u3048\u305a\u57cb\u3081\u8fbc\u307f\u304c\u51fa\u6765\u307e\u3057\u305f\uff0e\u3053\u306e\u3068\u304d height \u306f % \u3092\u6307\u5b9a\u3057\u3066\u3082\u30b5\u30a4\u30ba\u304c\u5909\u308f\u3089\u306a\u3044\u3088\u3046\u3067\u3057\u305f\uff0e(Debian sid amd64 \u306e chromium 88.0.4324.146-1, firefox 86.0.1-1 \u3067\u78ba\u8a8d)
<embed src=\"http://cgi.example.com/pdf.cgi?http://nextcloud.example.com/index.php/s/XXXXXXXXXXXXXXX\" type=\"application/pdf\" width=\"640px\" height=\"480px\">\n
\u3068\u308a\u3042\u3048\u305a\u305d\u308c\u3063\u307d\u3044\u3053\u3068\u306f\u51fa\u6765\u307e\u3057\u305f\u304c\uff0c\u3053\u306e\u65b9\u6cd5\u3067\u306fpdf\u3092\u8aad\u307e\u306a\u304f\u3066\u3082\u30da\u30fc\u30b8\u8aad\u307f\u8fbc\u307f\u6642\u306bpdf\u3092\u5168\u90e8\u8aad\u307f\u8fbc\u3093\u3067\u3057\u307e\u3046\u3088\u3046\u306a\u306e\u3067\u3042\u307e\u308a\u3088\u308d\u3057\u304f\u306a\u3044\u611f\u3058\u3067\u3059\uff0e\u3053\u306e\u3042\u305f\u308a\u306fSpeakerdeck\u306a\u3069\u306f\u3061\u3083\u3093\u3068\u3057\u3066\u3066\u3044\u3044\u3067\u3059\u306d\uff0e
\n\u3068\u308a\u3042\u3048\u305a\u306f\u30ea\u30f3\u30af\u3067\u5171\u6709\u304b\u306a?
\nNextcloud\u30e6\u30fc\u30b6\u304c2\u8981\u7d20\u8a8d\u8a3c\u3092\u51fa\u6765\u306a\u3044\u3068\u304d\u306bNextcloud\u7ba1\u7406\u8005\u304c48\u6642\u9593\u6709\u52b9\u306a1\u5ea6\u9650\u308a\u306e\u30ef\u30f3\u30bf\u30a4\u30e0\u30b3\u30fc\u30c9\u3092\u4f5c\u6210\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u308b\u300cTwo-Factor Admin Support\u300d\u3092\u8a66\u3057\u3066\u307f\u307e\u3057\u305f\uff0e
\n$ sudo -u www-data php occ app:install twofactor_admin\nocc\u30b3\u30de\u30f3\u30c9\u3067\u5c0e\u5165\u3057\u307e\u3057\u305f\uff0eWeb\u30a4\u30f3\u30bf\u30fc\u30d5\u30a7\u30a4\u30b9\u304b\u3089\u3067\u3082OK\u3067\u3059\uff0e
\n\u5c0e\u5165\u5f8c\uff0c\u7ba1\u7406\u8005\u30a2\u30ab\u30a6\u30f3\u30c8\u3067\u300c\u8a2d\u5b9a\u300d\u2192\u300c\u7ba1\u7406\u300d\u2192\u300c\u30bb\u30ad\u30e5\u30ea\u30c6\u30a3\u300d\u306e\u300cTwo-Factor Admin\u300d\u304c\u51fa\u6765\u3066\u3044\u307e\u3059\uff0e\u3053\u306e\u300cUser ID\u300d\u306e\u30c6\u30ad\u30b9\u30c8\u30dc\u30c3\u30af\u30b9\u306b\u30ef\u30f3\u30bf\u30a4\u30e0\u30b3\u30fc\u30c9\u3092\u767a\u884c\u3057\u305f\u3044\u30e6\u30fc\u30b6ID\u3092\u5165\u529b\u3057\u3066\u300cGenerate\u300d\u3092\u62bc\u3059\u306848\u6642\u9593\u6709\u52b9\u306a\u30ef\u30f3\u30bf\u30a4\u30e0\u30b3\u30fc\u30c9\u304c\u767a\u884c\u3055\u308c\u307e\u3059\uff0e\u3053\u306e\u30b3\u30fc\u30c9\u3092\u30e6\u30fc\u30b6\u306b\u4f1d\u3048\u3066\u30ed\u30b0\u30a4\u30f3\u3057\u3066\u3082\u3089\u3044\u307e\u3059\uff0e
\n$ sudo -u www-data php occ twofactorauth:admin:generate-code $USERID\nThere is an existing code that will be overwritten.\n\nGenerated new one-time code for test01: 163929\nThis code is valid for 48 hours.\nocc\u30b3\u30de\u30f3\u30c9\u3067\u3082\u767a\u884c\u3067\u304d\u307e\u3059\uff0e
\n\u8a72\u5f53\u30e6\u30fc\u30b6\u306f\u30e6\u30fc\u30b6ID/\u30d1\u30b9\u30ef\u30fc\u30c9\u3092\u5165\u529b\u3057\u305f\u5f8c\u306e2\u8981\u7d20\u8a8d\u8a3c\u3067\u300cAdmin code\u300d\u3068\u3044\u3046\u9078\u629e\u80a2\u304c\u5897\u3048\u308b\u306e\u3067\u305d\u308c\u3092\u9078\u3073\u307e\u3059\uff0e
\n\u7ba1\u7406\u8005\u306b\u6559\u3048\u3066\u3082\u3089\u3063\u305f\u30ef\u30f3\u30bf\u30a4\u30e0\u30b3\u30fc\u30c9\u3092\u5165\u529b\u3057\u3066\u30ed\u30b0\u30a4\u30f3\u3057\u307e\u3059\uff0e
\nTOTP\u306e\u30c7\u30d0\u30a4\u30b9\u3092\u58ca\u3057\u3066\u3057\u307e\u3063\u305f\u308a\u5bb6\u306b\u5fd8\u308c\u3066\u304d\u305f\u3068\u304b\u3044\u3063\u305f\u3068\u304d\u306b\u4fbf\u5229\u305d\u3046\u3067\u3059\uff0e(\u6570\u304c\u5c11\u306a\u3051\u308c\u3070)
\n$ sudo -u www-data php /var/www/files.matoken.org/occ app:list | grep twofactor_admin:\n - twofactor_admin: 3.0.0\n$ sudo -u www-data php occ --version\nNextcloud 20.0.8\n$ dpkg-query -W php mariadb-server apache2\napache2 2.4.38-3+deb10u4\nmariadb-server 1:10.3.27-0+deb10u1\nphp 2:7.3+69\n$ lsb_release -dr\nDescription: Debian GNU/Linux 10 (buster)\nRelease: 10\n$ uname -m\nx86_64\nNextcloud\u30a2\u30d7\u30ea\u306e\u30a2\u30c3\u30d7\u30c7\u30fc\u30c8\u3092\u884c\u3063\u305f\u3068\u3053\u308dmail\u306e\u51e6\u7406\u4e2d\u306b\u30b3\u30b1\u3066\u3057\u307e\u3063\u305f\u3088\u3046\u3067\u3059\uff0e
\n$ sudo -u www-data php occ app:update --all\nrichdocuments new version available: 3.7.17\nrichdocuments updated\nforms new version available: 2.2.1\nforms updated\nmail new version available: 1.9.2\nAn unhandled exception has been thrown:\nError: Call to undefined method OCA\\Mail\\Db\\MessageMapper::findWithEmptyMessageId() in /var/www/files.matoken.org/apps/mail/lib/Migration/AddMissingMessageIds.\nphp:55\nStack trace:\n#0 /var/www/files.matoken.org/lib/private/Repair.php(112): OCA\\Mail\\Migration\\AddMissingMessageIds->run(Object(OC\\Repair))\n#1 /var/www/files.matoken.org/lib/private/legacy/OC_App.php(1042): OC\\Repair->run()\n#2 /var/www/files.matoken.org/lib/private/legacy/OC_App.php(979): OC_App::executeRepairSteps('mail', Array)\n#3 /var/www/files.matoken.org/lib/private/Installer.php(206): OC_App::updateApp('mail')\n#4 /var/www/files.matoken.org/core/Command/App/Update.php(116): OC\\Installer->updateAppstoreApp('mail', false)\n#5 /var/www/files.matoken.org/3rdparty/symfony/console/Command/Command.php(255): OC\\Core\\Command\\App\\Update->execute(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))\n#6 /var/www/files.matoken.org/3rdparty/symfony/console/Application.php(1000): Symfony\\Component\\Console\\Command\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))\n#7 /var/www/files.matoken.org/3rdparty/symfony/console/Application.php(271): Symfony\\Component\\Console\\Application->doRunCommand(Object(OC\\Core\\Command\\App\\Update), Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))\n#8 /var/www/files.matoken.org/3rdparty/symfony/console/Application.php(147): Symfony\\Component\\Console\\Application->doRun(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))\n#9 /var/www/files.matoken.org/lib/private/Console/Application.php(215): Symfony\\Component\\Console\\Application->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))\n#10 /var/www/files.matoken.org/console.php(100): OC\\Console\\Application->run()\n#11 /var/www/files.matoken.org/occ(11): require_once('/var/www/files....')\n#12 {main}mk@www6073uo:/var/www/files.matoken.org\n\u518d\u5ea6\u5b9f\u884c\u3059\u308b\u3068\u51e6\u7406\u306f\u9032\u3093\u3060\u3088\u3046\u3067\u3059\u304c\uff0c\u7e2e\u9000\u30e2\u30fc\u30c9\u306e\u3088\u3046\u306a\u611f\u3058\u306b\u306a\u3063\u3066\u3044\u307e\u3059\uff0e\u3053\u306e\u72b6\u614b\u3067Nextcloud\u306eWeb\u306b\u30a2\u30af\u30bb\u30b9\u3059\u308b\u3068\u30a2\u30c3\u30d7\u30c7\u30fc\u30c8\u3092\u6c42\u3081\u3089\u308c\u3066\u5229\u7528\u3067\u304d\u307e\u305b\u3093\uff0e
\n$ sudo -u www-data php occ app:update --all\nNextcloud or one of the apps require upgrade - only a limited number of commands are available\nYou may use your browser or the occ upgrade command to do the upgrade\nfiles_linkeditor new version available: 1.1.4\nfiles_linkeditor updated\n\u3069\u3046\u3057\u305f\u3082\u3093\u304b\u3068\u3068\u308a\u3042\u3048\u305a\u539f\u56e0\u3067\u3042\u308d\u3046mail\u3092\u30a2\u30c3\u30d7\u30c7\u30fc\u30c8\u3057\u3088\u3046\u3068\u3059\u308b\u3068\u3059\u3067\u306b\u6700\u65b0\u306e\u3088\u3046\u3067\u3059\uff0e
\n\u6b21\u306bmail\u3092\u7121\u52b9\u5316\u3057\u3066\u307f\u307e\u3057\u305f\uff0e\u3059\u308b\u3068Nextcloud Web\u304c\u5229\u7528\u3067\u304d\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3057\u305f\uff0e
\n\u4e00\u65e6\u524a\u9664\u3057\u3066\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u76f4\u3057\u305f\u307b\u3046\u304c\u78ba\u5b9f\u3060\u308d\u3046\u306a\u3068\u601d\u3044\u3064\u3064mail\u3092\u6709\u52b9\u5316\u3059\u308b\u3068Nextcloud\u3082mail\u3082\u5229\u7528\u3067\u304d\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3057\u305f\uff0e
$ sudo -u www-data php occ app:update mail (1)\nNextcloud or one of the apps require upgrade - only a limited number of commands are available\nYou may use your browser or the occ upgrade command to do the upgrade\n$ sudo -u www-data php occ app:disable mail (2)\nNextcloud or one of the apps require upgrade - only a limited number of commands are available\nYou may use your browser or the occ upgrade command to do the upgrade\nmail 1.9.2 disabled\n$ sudo -u www-data php occ app:enable mail (3)\nmail 1.9.2 enabled\nocc app:disable mail \u306e\u5f8c occ app:remove mail && occ app:install mail \u3057\u305f\u307b\u3046\u304c\u78ba\u5b9f\u3060\u3068\u601d\u3044\u307e\u3059\uff0e
\u3061\u306a\u307f\u306bNextcloud Hub\u4ee5\u5916\u306e\u3042\u307e\u308a\u30e1\u30b8\u30e3\u30fc\u3067\u306a\u3044\u30a2\u30d7\u30ea\u306a\u3069\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3066\u3046\u307e\u304f\u52d5\u304b\u306a\u3044\u3068\u304d\u306b\u3082Nextcloud\u304c\u52d5\u304b\u306a\u304f\u306a\u308b\u3053\u3068\u304c\u3042\u308a\u307e\u3059\uff0e\u305d\u3046\u3044\u3046\u3068\u304d\u3082 occ app:disable \u3067\u5fa9\u65e7\u3067\u304d\u308b\u306e\u3067\u899a\u3048\u3066\u304a\u304f\u3068\u52a9\u304b\u308a\u307e\u3059\uff0e
$ sudo -u www-data php occ app:list | grep \\ mail:\n - mail: 1.9.2\n$ sudo -u www-data php occ --version\nNextcloud 20.0.8\n$ dpkg-query -W php mariadb-server apache2\napache2 2.4.38-3+deb10u4\nmariadb-server 1:10.3.27-0+deb10u1\nphp 2:7.3+69\n$ lsb_release -dr\nDescription: Debian GNU/Linux 10 (buster)\nRelease: 10\n$ uname -m\nx86_64\nNextcloud\u30a2\u30d7\u30ea\u306e\u300cA Two-Factor-Auth Provider for e-mail\u300d\u3092\u8a66\u3057\u3066\u307f\u307e\u3057\u305f\uff0e\u3053\u308c\u306fNextcloud\u8a8d\u8a3c\u6642\u306b\u30e6\u30fc\u30b6ID/\u30d1\u30b9\u30ef\u30fc\u30c9\u3067\u8a8d\u8a3c\u3057\u305f\u5f8c\u8a2d\u5b9a\u3055\u308c\u305f\u30e1\u30fc\u30eb\u30a2\u30c9\u30ec\u30b9\u306b\u30ef\u30f3\u30bf\u30a4\u30e0\u30c8\u30fc\u30af\u30f3\u304c\u5c4a\u3044\u3066\uff0c\u305d\u308c\u3092\u4f7f\u3063\u30662\u8981\u7d20\u76ee\u306e\u8a8d\u8a3c\u304c\u3067\u304d\u308b\u3088\u3046\u306b\u306a\u308b\u3082\u306e\u3067\u3059\uff0e
\n$ sudo -u www-data php occ app:install twofactor_admin\ntwofactor_admin 3.0.0 installed\ntwofactor_admin enabled\n\u307e\u305a\u306f\u5c0e\u5165\uff0eocc \u30b3\u30de\u30f3\u30c9\u3067\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u307e\u3057\u305f\uff0eWebIF\u304b\u3089\u3067\u3082OK\u3067\u3059\uff0e
2\u8981\u7d20\u8a8d\u8a3c\u3092\u6709\u52b9\u306b\u3057\u305f\u3044\u30e6\u30fc\u30b6\u3067Nextcloud Web\u306b\u30ed\u30b0\u30a4\u30f3\u3057\u3066\uff0c\u300c\u53f3\u4e0a\u306e\u30a2\u30a4\u30b3\u30f3\u300d\u2192\u300c\u8a2d\u5b9a\u300d\u2192\u300c\u500b\u4eba\u60c5\u5831\u300d\u306e\u300c\u30e1\u30fc\u30eb\u300d\u306b\u6b63\u3057\u3044\u30e1\u30fc\u30eb\u30a2\u30c9\u30ec\u30b9\u304c\u8a2d\u5b9a\u3055\u308c\u3066\u3044\u308b\u306e\u3092\u78ba\u8a8d\u3057\u3066\uff0c\u300c\u30bb\u30ad\u30e5\u30ea\u30c6\u30a3\u300d\u2192\u300c\u4e8c\u8981\u7d20\u8a8d\u8a3c\u300d\u2192\u300cEmail verification\u300d\u306e\u300cEnable\u300d\u3092\u62bc\u3057\u3066\u6709\u52b9\u306b\u3057\u307e\u3059\uff0e
\n| \n Note \n | \n\n\u96fb\u5b50\u30e1\u30fc\u30eb\u30a2\u30c9\u30ec\u30b9\u304c\u672a\u767b\u9332\u3060\u3068\u4ee5\u4e0b\u306e\u3088\u3046\u306a\u30e1\u30c3\u30bb\u30fc\u30b8\u3068\u306a\u308a\u307e\u3057\u305f\uff0e \nCould not generate a code: user hoge does not exist | \n
\u3059\u308b\u3068\u30c8\u30fc\u30af\u30f3\u304cNextcloud\u306b\u8a2d\u5b9a\u3057\u305f\u30e1\u30fc\u30eb\u30a2\u30c9\u30ec\u30b9\u306b\u9001\u4fe1\u3055\u308c\u308b\u306e\u3067\u30e1\u30fc\u30eb\u3092\u78ba\u8a8d\u3057\u3066\u30c8\u30fc\u30af\u30f3\u3092\u30c6\u30ad\u30b9\u30c8\u30dc\u30c3\u30af\u30b9\u306b\u5165\u529b\u3057\u3066\uff0c\u300cVeryfi\u300d\u3092\u62bc\u3057\u3066\u78ba\u8a8d\u3057\u307e\u3059\uff0e
\n\u3046\u307e\u304f\u884c\u304d\u307e\u3057\u305f\uff0e
\n\u4e00\u65e6\u30ed\u30b0\u30a2\u30a6\u30c8\u3057\u3066\u30ed\u30b0\u30a4\u30f3\u3057\u3066\u307f\u307e\u3059\uff0e
\u30e6\u30fc\u30b6ID/\u30d1\u30b9\u30ef\u30fc\u30c9\u3067\u8a8d\u8a3c\u3057\u305f\u5f8c\uff0c\u300cEmail verification\u300d\u306e\u753b\u9762\u306b\u306a\u308a\u307e\u3059\uff0e\u30e1\u30fc\u30eb\u304c\u9001\u4fe1\u3055\u308c\u3066\u3044\u308b\u306f\u305a\u304b\u306e\u3067\u78ba\u8a8d\u3057\u3066\u305d\u3053\u306b\u66f8\u304b\u308c\u3066\u3044\u308b\u30c8\u30fc\u30af\u30f3\u3092\u5165\u529b\u3057\u3066\u30ed\u30b0\u30a4\u30f3\u3057\u307e\u3059\uff0e
\n2\u8981\u7d20\u8a8d\u8a3c\u3067\u306fTOTP\u4ee5\u5916\u306b\u3082SMS, Telegram, Signal\u306a\u3069\u3082\u3042\u308a\u307e\u3059\u304c\u305d\u308c\u305e\u308c\u8a2d\u5b9a\u304c\u9762\u5012\u3067\u3059\uff0e\u96fb\u5b50\u30e1\u30fc\u30eb\u3067\u3042\u308c\u3070\u30e6\u30fc\u30b6\u306e\u8a2d\u5b9a\u306f\u5c11\u306a\u3044\u306e\u3067\u826f\u3055\u305d\u3046\u3067\u3059\uff0e
\n$ sudo -u www-data php occ app:list | grep previewgenerator:\n - previewgenerator: 3.1.1\n$ sudo -u www-data php occ --version\nNextcloud 20.0.8\n$ dpkg-query -W php mariadb-server apache2\napache2 2.4.38-3+deb10u4\nmariadb-server 1:10.3.27-0+deb10u1\nphp 2:7.3+69\n$ lsb_release -dr\nDescription: Debian GNU/Linux 10 (buster)\nRelease: 10\n$ uname -m\nx86_64\nNextcloud\u3067\u306f\u753b\u50cf\u30d5\u30a1\u30a4\u30eb\uff0cMP3\u30d5\u30a1\u30a4\u30eb\u306e\u30ab\u30d0\u30fc\uff0c\u30c6\u30ad\u30b9\u30c8\u30d5\u30a1\u30a4\u30eb\u306e\u30d7\u30ec\u30d3\u30e5\u30fc\u3092\u751f\u6210\u3067\u304d\u307e\u3059\uff0e\u65e2\u5b9a\u5024\u3067\u306f\u3053\u306e\u6a5f\u80fd\u306f\u6709\u52b9\u306b\u306a\u3063\u3066\u3044\u3066\uff0c\u30a2\u30af\u30bb\u30b9\u6642\u306b\u30d7\u30ec\u30d3\u30e5\u30fc\u304c\u751f\u6210\u3055\u308c\u307e\u3059\uff0e
\nNextcloud\u3092\u8efd\u304f\u51fa\u6765\u306a\u3044\u304b\u3068 config/config.php \u30d5\u30a1\u30a4\u30eb\u306b 'enable_previews' \u21d2 false, \u3092\u8a2d\u5b9a\u3057\u3066\u7121\u52b9\u306b\u3057\u3066\u307f\u307e\u3057\u305f\u304c\u4e0d\u4fbf\u3067\u3059\uff0e
\u3068\u3044\u3046\u3053\u3068\u3067\u518d\u5ea6\u30d7\u30ec\u30d3\u30e5\u30fc\u3092\u6709\u52b9\u306b\u3057\u307e\u3057\u305f\uff0e\u3064\u3044\u3067\u306b\u30d7\u30ec\u30d3\u30e5\u30fc\u30b5\u30a4\u30ba\u30924096\u304b\u30891024\u306b\u5c0f\u3055\u304f\u3057\u3066\u30d7\u30ed\u30d0\u30a4\u30c0\u30fc\u3092\u5c11\u3057\u5897\u3084\u3057\u3066\u307f\u307e\u3057\u305f\uff0e
\n 'enable_previews' => true, (1)\n 'preview_max_x' => 1024, (2)\n 'preview_max_y' => 1024, (3)\n 'preview_max_filesize_image' => 50, (4)\n 'enabledPreviewProviders' => [ (5)\n 'OC\\Preview\\PNG',\n 'OC\\Preview\\JPEG',\n 'OC\\Preview\\GIF',\n 'OC\\Preview\\HEIC',\n 'OC\\Preview\\BMP',\n 'OC\\Preview\\XBitmap',\n 'OC\\Preview\\MP3',\n 'OC\\Preview\\TXT',\n 'OC\\Preview\\MarkDown',\n 'OC\\Preview\\OpenDocument',\n 'OC\\Preview\\Krita',\n 'OC\\Preview\\PDF',\n 'OC\\Preview\\Postscript',\n 'OC\\Preview\\SVG',\n 'OC\\Preview\\TIFF',\n 'OC\\Preview\\Font',\n ],\ntrue4096409650'' \u3067\u5185\u5bb9\u306f\uff0cedit 2021-03-17)
\n\u30b9\u30de\u30db\u5199\u771f\u3084pdf\u306f\u3042\u3089\u304b\u305f1MB\u3092\u8d85\u3048\u308b\u306e\u3067 preview_max_filesize_image \u306f1MB\u304b\u3089\u898f\u5b9a\u5024\u306e50MB\u306b\u623b\u3057\u307e\u3057\u305f\uff0e
OC\\Preview\\BMP\nOC\\Preview\\GIF\nOC\\Preview\\HEIC\nOC\\Preview\\JPEG\nOC\\Preview\\MarkDown\nOC\\Preview\\MP3\nOC\\Preview\\PNG\nOC\\Preview\\TXT\nOC\\Preview\\XBitmap\nOC\\Preview\\OpenDocument\nOC\\Preview\\Krita\n
\u305d\u306e\u4ed6\u306e\u65e2\u5b9a\u5024\u4ee5\u5916\u306e\u30d7\u30ed\u30d0\u30a4\u30c0\u30fc
\nOC\\Preview\\Illustrator\nOC\\Preview\\Movie\nOC\\Preview\\MSOffice2003\nOC\\Preview\\MSOffice2007\nOC\\Preview\\MSOfficeDoc\nOC\\Preview\\PDF\nOC\\Preview\\Photoshop\nOC\\Preview\\Postscript\nOC\\Preview\\StarOffice\nOC\\Preview\\SVG\nOC\\Preview\\TIFF\nOC\\Preview\\Font\n
\u305d\u3057\u3066 Preview Generator \u3068\u3044\u3046\u30d7\u30ec\u30d3\u30e5\u30fc\u3092\u4e8b\u524d\u751f\u6210\u3057\u3066\u304f\u308c\u308b\u30a2\u30d7\u30ea\u3092\u8a66\u3057\u3066\u307f\u3088\u3046\u3068\u3057\u307e\u3057\u305f\u304c\uff0c\u6697\u53f7\u5316\u3092\u6709\u52b9\u306b\u3057\u3066\u3044\u308b\u3068\u5229\u7528\u3067\u304d\u307e\u305b\u3093\u3067\u3057\u305f\uff0e\u30d1\u30b9\u30ef\u30fc\u30c9\u5165\u529b\u3057\u3066\u30d7\u30ec\u30d3\u30e5\u30fc\u751f\u6210\u304c\u3067\u304d\u308b\u3068\u4fbf\u5229\u304b\u3082\u3067\u3059\u304c\u306a\u3093\u306b\u305b\u3088\u81ea\u5206\u4ee5\u5916\u306e\u30c7\u30fc\u30bf\u306f\u89e6\u308c\u306a\u3044\u306e\u3067\u5fae\u5999\u3067\u3059\u306d\uff0e
\n\n\n\n\nKnown issues
\n
\nThe app does not work with encryption enabled
$ sudo -u www-data php occ app:install previewgenerator (1)\npreviewgenerator 3.1.1 installed\npreviewgenerator enabled\n$ sudo -u www-data php /var/www/files.matoken.org/occ | grep preview$ -A4 (2)\n preview\n preview:delete_old Delete old preview folder (pre NC11)\n preview:generate-all Generate previews\n preview:pre-generate Pre generate previews\n preview:repair distributes the existing previews into subfolders\n$ sudo -u www-data php occ preview:generate-all (3)\nEncryption is enabled. Aborted.\n$ sudo -u www-data php occ app:remove previewgenerator (4)\npreviewgenerator disabled\npreviewgenerator 3.1.1 removed\n
$ sudo -u www-data php occ app:list | grep previewgenerator:\n - previewgenerator: 3.1.1\n$ sudo -u www-data php occ --version\nNextcloud 20.0.8\n$ dpkg-query -W php mariadb-server apache2\napache2 2.4.38-3+deb10u4\nmariadb-server 1:10.3.27-0+deb10u1\nphp 2:7.3+69\n$ lsb_release -dr\nDescription: Debian GNU/Linux 10 (buster)\nRelease: 10\n$ uname -m\nx86_64\nNextcloud\u3067URL\u5171\u6709\u3057\u305f\u753b\u50cf\u3092blog\u306a\u3069\u306b\u57cb\u3081\u8fbc\u3080\u65b9\u6cd5\u306e\u30e1\u30e2\u3067\u3059\uff0e\u4eca\u56de\u306fNextcloud 20.0.8\u3067\u3059\u304c\uff0cNextcloud 13.0.0\u304b\u3089\u53ef\u80fd\u306b\u306a\u3063\u305f\u6a5f\u80fd\u306e\u3088\u3046\u3067\u3059\uff0e
\n\u5171\u6709\u5358\u4f4d\u306f\u753b\u50cf\u30d5\u30a1\u30a4\u30eb\u5358\u4f53\u306fOK\u3067\u3059\u304c\uff0c\u753b\u50cf\u30d5\u30a1\u30a4\u30eb\u3092\u542b\u3080\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u5171\u6709\u3067\u306f\u3046\u307e\u304f\u52d5\u304b\u306a\u3044\u3088\u3046\u3067\u3059\uff0e
\u5171\u6709\u3057\u305f\u3044\u753b\u50cf\u3092\u5171\u6709
\n\u300cURL\u3067\u5171\u6709\u300d\u306e\u53f3\u306e\u300c+\u300d\u3067\u5171\u6709
\nURL\u5171\u6709\u3055\u308c\u3066URL\u304c\u30b3\u30d4\u30fc\u3055\u308c\u308b
\n\u65e2\u5b9a\u5024\u3067\u306f\u5171\u6709\u6709\u52b9\u671f\u9650\u304c1\u9031\u9593\u306b\u8a2d\u5b9a\u3055\u308c\u3066\u3044\u308b\u306e\u3067\u305a\u3063\u3068\u516c\u958b\u3057\u305f\u3044\u5834\u5408\u306f\u300c\u6709\u52b9\u671f\u9650\u3092\u8a2d\u5b9a\u300d\u306e\u30c1\u30a7\u30c3\u30af\u3092\u5916\u3059
\n\u5171\u6709\u3055\u308c\u305fURL\u3092\u958b\u304f\u3068\u30d7\u30ec\u30d3\u30e5\u30fc\u306b\u306a\u308b
\n\u753b\u50cf\u3092\u30af\u30ea\u30c3\u30af\u3059\u308b\u3068\uff0c\u753b\u50cf\u304c\u958b\u3051\u308b\uff0e
\n\u82e5\u3057\u304f\u306f\u5171\u6709URL\u306b /preview \u3092\u8ffd\u52a0\u3059\u308b\uff0e
\n\u62e1\u5f35\u5b50\u304c\u306a\u3044\u3068\u3046\u307e\u304f\u52d5\u4f5c\u3057\u306a\u3044site\u306a\u3069\u306e\u5834\u5408\u306f\uff0c/preview?dummy.jpg \u306a\u3069\u306e\u3088\u3046\u306b /preview \u306e\u5f8c\u308d\u306b\u3055\u3089\u306b\u305d\u308c\u3089\u3057\u3044\u6587\u5b57\u5217\u3092\u8ffd\u52a0\u3059\u308b\u3068\u958b\u3051\u305f\u308a\u3059\u308b\uff0e
https://files.matoken.org/index.php/s/bsaAdtxp8WgXLXE (1)\nhttps://files.matoken.org/index.php/s/bsaAdtxp8WgXLXE/preview (2)\nhttps://files.matoken.org/index.php/s/bsaAdtxp8WgXLXE/preview?/dummy.jpg (3)\n
/preview \u3092\u3064\u3051\u308b\u3068\u753b\u50cf\u304c\u8868\u793a\u3055\u308c\u308b/preview \u306e\u5f8c\u308d\u306b\u30c0\u30df\u30fc\u30d5\u30a1\u30a4\u30eb\u540d\u3092\u3064\u3051\u308b\u5f8c\u306f\u666e\u901a\u306b\u9759\u7684\u753b\u50cfURL\u306e\u3088\u3046\u306b\u3057\u3066\u4f7f\u3048\u307e\u3059\uff0e
\n$ wget -o /dev/null -O - https://files.matoken.org/index.php/s/bsaAdtxp8WgXLXE/preview | pee \"file -\" display\n/dev/stdin: JPEG image data, JFIF standard 1.01, resolution (DPI), density 96x96, segment length 16, comment: \"CREATOR: gd-jpeg v1.0 (using IJG JPEG v62), quality = 90\", baseline, precision 8, 512x342, components 3\nblog\u306b\u8cbc\u308a\u4ed8\u3051\u3082\u3067\u304d\u308b :)
\n$ sudo -u www-data php occ --version\nNextcloud 20.0.8\n$ dpkg-query -W php mariadb-server apache2\napache2 2.4.38-3+deb10u4\nmariadb-server 1:10.3.27-0+deb10u1\nphp 2:7.3+69\n$ lsb_release -dr\nDescription: Debian GNU/Linux 10 (buster)\nRelease: 10\n$ uname -m\nx86_64\nNextcloud 18 \u304cEoL \u306b\u306a\u3063\u3066\u3044\u305f\u306e\u3067\uff0cNextcloud 18.0.14 \u304b\u3089 Nextcloud 19.0.7 \u306b\u30a2\u30c3\u30d7\u30b0\u30ec\u30fc\u30c9\u3057\u307e\u3057\u305f\uff0e
\n| \n | release date | \nend of life | \ncurrent version | \nnext version | \n
|---|---|---|---|---|
| \n 20 \n | \n\n 2020-10-03 \n | \n\n 2021-10 \n | \n\n 20.0.7 (2021-02-02) \n | \n\n 20.0.8 (2021-02-25) \n | \n
| \n 19 \n | \n\n 2020-06-03 \n | \n\n 2021-06 \n | \n\n 19.0.8 (2021-01-27) \n | \n\n 19.0.9 (2021-02-25) \n | \n
| \n 18 \n | \n\n 2020-01-16 \n | \n\n 2021-01 \n | \n\n 18.0.14 (2021-01-27) \n | \n\n End of Life \n | \n
$ sudo -u www-data php $NEXTCLOUDPATH/occ app:update --all\n$ sudo -u www-data php $NEXTCLOUDPATH/updater/updater.phar\n$ sudo -u www-data php $NEXTCLOUDPATH/occ app:update --all\n\u4ee5\u524d\u5b9f\u884c\u3057\u305f\u3068\u304d\u3068\u6bd4\u3079\u3066\u300c\u30bb\u30ad\u30e5\u30ea\u30c6\u30a3\uff06\u30bb\u30c3\u30c8\u30a2\u30c3\u30d7\u8b66\u544a\u300d\u306e\u5185\u5bb9\u304c\u9055\u3063\u3066\u3044\u305f\u306e\u3067\u30e1\u30e2\u3057\u3066\u304a\u304d\u307e\u3059\uff0e
\n\u30bb\u30ad\u30e5\u30ea\u30c6\u30a3\uff06\u30bb\u30c3\u30c8\u30a2\u30c3\u30d7\u8b66\u544a\n\u30b5\u30fc\u30d0\u30fc\u306e\u30bb\u30ad\u30e5\u30ea\u30c6\u30a3\u3068\u30d1\u30d5\u30a9\u30fc\u30de\u30f3\u30b9\u306b\u3068\u3063\u3066\u91cd\u8981\u306a\u3053\u3068\u306f\u3001\u3059\u3079\u3066\u304c\u6b63\u78ba\u306b\u8a2d\u5b9a\u3055\u308c\u3066\u3044\u308b\u3053\u3068\u3067\u3059\u3002\u3042\u306a\u305f\u306e\u52a9\u3051\u3068\u306a\u308b\u3088\u3046\u3001Nextcloud\u3067\u306f\u4e00\u90e8\u306e\u81ea\u52d5\u30c1\u30a7\u30c3\u30af\u3092\u884c\u3063\u3066\u3044\u307e\u3059\u3002\u8a73\u7d30\u306a\u60c5\u5831\u306f\u3001\u30ea\u30f3\u30af\u5148\u306e\u30c9\u30ad\u30e5\u30e1\u30f3\u30c8\u3092\u53c2\u7167\u3057\u3066\u304f\u3060\u3055\u3044\u3002\n\n\u30bb\u30c3\u30c8\u30a2\u30c3\u30d7\u306b\u95a2\u3057\u3066\u8b66\u544a\u304c\u3044\u304f\u3064\u304b\u3042\u308a\u307e\u3059\u3002\nPHP\u306e\u30e1\u30e2\u30ea\u5236\u9650\u304c\u63a8\u5968\u5024\u306e512MB\u4ee5\u4e0b\u3067\u3059\u3002\n\"Strict-Transport-Security\" HTTP\u30d8\u30c3\u30c0\u304c\u6700\u4f4e\u3067\u3082 \"15552000\" \u79d2\u306b\u8a2d\u5b9a\u3055\u308c\u3066\u3044\u307e\u305b\u3093\u3002\u30bb\u30ad\u30e5\u30ea\u30c6\u30a3\u3092\u5f37\u5316\u3059\u308b\u306b\u306f\u3001\u30bb\u30ad\u30e5\u30ea\u30c6\u30a3Tips ↗\u3067\u89e3\u8aac\u3057\u3066\u3044\u308bHSTS\u3092\u6709\u52b9\u306b\u3059\u308b\u3053\u3068\u3092\u63a8\u5968\u3057\u307e\u3059\u3002\nWeb\u30b5\u30fc\u30d0\u30fc\u306f\u9069\u5207\u306b\u30db\u30b9\u30c8\u540d \"/.well-known/caldav\" \u304c\u5f15\u3051\u308b\u3088\u3046\u306b\u8a2d\u5b9a\u3055\u308c\u3066\u3044\u307e\u305b\u3093\u3002\u3088\u308a\u8a73\u3057\u3044\u60c5\u5831\u306b\u3064\u3044\u3066\u306f\u3001\u30c9\u30ad\u30e5\u30e1\u30f3\u30c8\u3092\u53c2\u7167\u304f\u3060\u3055\u3044\u3002\nWeb\u30b5\u30fc\u30d0\u30fc\u306f\u9069\u5207\u306b\u30db\u30b9\u30c8\u540d \"/.well-known/carddav\" \u304c\u5f15\u3051\u308b\u3088\u3046\u306b\u8a2d\u5b9a\u3055\u308c\u3066\u3044\u307e\u305b\u3093\u3002\u3088\u308a\u8a73\u3057\u3044\u60c5\u5831\u306b\u3064\u3044\u3066\u306f\u3001\u30c9\u30ad\u30e5\u30e1\u30f3\u30c8\u3092\u53c2\u7167\u304f\u3060\u3055\u3044\u3002\n\u30e1\u30e2\u30ea\u30ad\u30e3\u30c3\u30b7\u30e5\u304c\u8a2d\u5b9a\u3055\u308c\u3066\u3044\u307e\u305b\u3093\u3002\u53ef\u80fd\u3067\u3042\u308c\u3070\u3001\u30d1\u30d5\u30a9\u30fc\u30de\u30f3\u30b9\u3092\u5411\u4e0a\u3059\u308b\u305f\u3081\u3001memcache\u3092\u8a2d\u5b9a\u3057\u3066\u304f\u3060\u3055\u3044\u3002\u3088\u308a\u8a73\u3057\u3044\u60c5\u5831\u306f\u30c9\u30ad\u30e5\u30e1\u30f3\u30c8\u3067\u53c2\u7167\u3067\u304d\u307e\u3059\u3002\n\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u306b\u3044\u304f\u3064\u304b\u306e\u30a4\u30f3\u30c7\u30c3\u30af\u30b9\u304c\u3042\u308a\u307e\u305b\u3093\u3002 \u5927\u304d\u306a\u30c6\u30fc\u30d6\u30eb\u306b\u30a4\u30f3\u30c7\u30c3\u30af\u30b9\u3092\u8ffd\u52a0\u3059\u308b\u3068\u3001\u81ea\u52d5\u7684\u306b\u8ffd\u52a0\u3055\u308c\u306a\u3044\u307e\u3067\u306b\u6642\u9593\u304c\u304b\u304b\u308b\u53ef\u80fd\u6027\u304c\u3042\u308b\u305f\u3081\u3067\u3059\u3002 \"occ db\uff1aadd-missing-indices\"\u3092\u5b9f\u884c\u3059\u308b\u3053\u3068\u306b\u3088\u3063\u3066\u3001\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u304c\u5b9f\u884c\u3057\u7d9a\u3051\u3066\u3044\u308b\u9593\u306b\u305d\u308c\u3089\u306e\u6b20\u3051\u3066\u3044\u308b\u30a4\u30f3\u30c7\u30c3\u30af\u30b9\u3092\u624b\u52d5\u3067\u8ffd\u52a0\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002 \u30a4\u30f3\u30c7\u30c3\u30af\u30b9\u304c\u8ffd\u52a0\u3055\u308c\u308b\u3068\u3001\u305d\u308c\u3089\u306e\u30c6\u30fc\u30d6\u30eb\u3078\u306e\u30af\u30a8\u30ea\u306f\u901a\u5e38\u306f\u308b\u304b\u306b\u901f\u304f\u306a\u308a\u307e\u3059\u3002\n\u30c6\u30fc\u30d6\u30eb \"oc_calendarobjects_props\"\u306e\u30a4\u30f3\u30c7\u30c3\u30af\u30b9 \"calendarobject_calid_index\"\u304c\u898b\u3064\u304b\u308a\u307e\u305b\u3093\u3002\n\u30c6\u30fc\u30d6\u30eb \"oc_schedulingobjects\"\u306e\u30a4\u30f3\u30c7\u30c3\u30af\u30b9 \"schedulobj_principuri_index\"\u304c\u898b\u3064\u304b\u308a\u307e\u305b\u3093\u3002\n\u30c6\u30fc\u30d6\u30eb \"oc_properties\"\u306e\u30a4\u30f3\u30c7\u30c3\u30af\u30b9 \"properties_path_index\"\u304c\u898b\u3064\u304b\u308a\u307e\u305b\u3093\u3002\n\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u306b\u306f\u30aa\u30d7\u30b7\u30e7\u30f3\u306e\u30ab\u30e9\u30e0\u304c\u3044\u304f\u3064\u304b\u3042\u308a\u307e\u305b\u3093\u3002\u5927\u304d\u306a\u30c6\u30fc\u30d6\u30eb\u306b\u30ab\u30e9\u30e0\u3092\u8ffd\u52a0\u3059\u308b\u306b\u306f\u6642\u9593\u304c\u304b\u304b\u308b\u305f\u3081\u3001\u30aa\u30d7\u30b7\u30e7\u30f3\u306e\u30ab\u30e9\u30e0\u306f\u81ea\u52d5\u7684\u306b\u8ffd\u52a0\u3055\u308c\u307e\u305b\u3093\u3067\u3057\u305f\u3002\"occ db:add-missing-columns\"\u3092\u5b9f\u884c\u3059\u308b\u3053\u3068\u3067\u3001\u4e0d\u8db3\u3057\u3066\u3044\u308b\u30ab\u30e9\u30e0\u306f\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u306e\u5b9f\u884c\u4e2d\u306b\u624b\u52d5\u3067\u8ffd\u52a0\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002\u30ab\u30e9\u30e0\u304c\u8ffd\u52a0\u3055\u308c\u308b\u3068\u3001\u5fdc\u7b54\u6027\u3084\u4f7f\u3044\u52dd\u624b\u304c\u6539\u5584\u3055\u308c\u308b\u53ef\u80fd\u6027\u304c\u3042\u308a\u307e\u3059\u3002\n\u30c6\u30fc\u30d6\u30eb \"oc_comments\" \u306b\u30aa\u30d7\u30b7\u30e7\u30f3\u306e\u30ab\u30e9\u30e0 \"reference_id\" \u304c\u5b58\u5728\u3057\u307e\u305b\u3093\u3002\n\u3053\u306e\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u306b\u306f\u63a8\u5968\u3055\u308c\u308bPHP\u30e2\u30b8\u30e5\u30fc\u30eb\u304c\u3044\u304f\u3064\u304b\u3042\u308a\u307e\u305b\u3093\u3002 \u30d1\u30d5\u30a9\u30fc\u30de\u30f3\u30b9\u306e\u5411\u4e0a\u3068\u4e92\u63db\u6027\u306e\u5411\u4e0a\u306e\u305f\u3081\u306b\u3001\u305d\u308c\u3089\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u3053\u3068\u3092\u5f37\u304f\u304a\u52e7\u3081\u3057\u307e\u3059\u3002\nintl\nbcmath\ngmp\n\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u5185\u306e\u3044\u304f\u3064\u304b\u306e\u5217\u3067\u3001big int\u3078\u306e\u5909\u63db\u304c\u884c\u308f\u308c\u3066\u3044\u307e\u305b\u3093\u3002 \u5927\u304d\u306a\u30c6\u30fc\u30d6\u30eb\u3067\u30ab\u30e9\u30e0\u30bf\u30a4\u30d7\u3092\u5909\u66f4\u3059\u308b\u3068\u6642\u9593\u304c\u304b\u304b\u308b\u3053\u3068\u304c\u3042\u308b\u305f\u3081\u3001\u81ea\u52d5\u7684\u306b\u306f\u5909\u66f4\u3055\u308c\u307e\u305b\u3093\u3067\u3057\u305f\u3002 'occ db\uff1aconvert-filecache-bigint'\u3092\u5b9f\u884c\u3059\u308b\u3053\u3068\u306b\u3088\u3063\u3066\u3001\u305d\u308c\u3089\u306e\u4fdd\u7559\u4e2d\u306e\u5909\u66f4\u306f\u624b\u52d5\u3067\u9069\u7528\u3067\u304d\u307e\u3059\u3002 \u3053\u306e\u64cd\u4f5c\u306f\u3001\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u304c\u30aa\u30d5\u30e9\u30a4\u30f3\u306e\u9593\u306b\u884c\u3046\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002 \u8a73\u7d30\u306b\u3064\u3044\u3066\u306f\u3053\u308c\u306b\u95a2\u3059\u308b\u30c9\u30ad\u30e5\u30e1\u30f3\u30c8\u30da\u30fc\u30b8\u3092\u8aad\u3093\u3067\u304f\u3060\u3055\u3044\u3002\nfilecache_extended.fileid\nmounts.storage_id\nmounts.root_id\nmounts.mount_id\n\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u30ac\u30a4\u30c9 ↗\u3092\u518d\u78ba\u8a8d\u3057\u3066\u3001 \u30ed\u30b0 \u306b\u3042\u308b\u3059\u3079\u3066\u306e\u30a8\u30e9\u30fc\u3084\u8b66\u544a\u3092\u78ba\u8a8d\u3057\u3066\u304f\u3060\u3055\u3044\u3002\n
\u3053\u306e\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u306b\u306f\u63a8\u5968\u3055\u308c\u308bPHP\u30e2\u30b8\u30e5\u30fc\u30eb\u304c\u3044\u304f\u3064\u304b\u3042\u308a\u307e\u305b\u3093\u3002 \u30d1\u30d5\u30a9\u30fc\u30de\u30f3\u30b9\u306e\u5411\u4e0a\u3068\u4e92\u63db\u6027\u306e\u5411\u4e0a\u306e\u305f\u3081\u306b\u3001\u305d\u308c\u3089\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u3053\u3068\u3092\u5f37\u304f\u304a\u52e7\u3081\u3057\u307e\u3059\u3002\nintl\nbcmath\ngmp\n
\u8a72\u5f53\u30d1\u30c3\u30b1\u30fc\u30b8\u3092\u5c0e\u5165\u3057\u3066httpd\u3092\u518d\u8aad\u8fbc\u3057\u307e\u3059\uff0e
\n$ sudo apt install php-intl php-bcmath php-gmp (1)\n$ sudo service apache2 reload (2)\n\u300c\u30bb\u30ad\u30e5\u30ea\u30c6\u30a3\uff06\u30bb\u30c3\u30c8\u30a2\u30c3\u30d7\u8b66\u544a\u300d\u30da\u30fc\u30b8\u3092\u518d\u8aad\u8fbc\u3057\u3066\u8b66\u544a\u304c\u6d88\u3048\u308b\u306e\u3092\u78ba\u8a8d\u3057\u307e\u3059\uff0e
\n\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u306b\u3044\u304f\u3064\u304b\u306e\u30a4\u30f3\u30c7\u30c3\u30af\u30b9\u304c\u3042\u308a\u307e\u305b\u3093\u3002 \u5927\u304d\u306a\u30c6\u30fc\u30d6\u30eb\u306b\u30a4\u30f3\u30c7\u30c3\u30af\u30b9\u3092\u8ffd\u52a0\u3059\u308b\u3068\u3001\u81ea\u52d5\u7684\u306b\u8ffd\u52a0\u3055\u308c\u306a\u3044\u307e\u3067\u306b\u6642\u9593\u304c\u304b\u304b\u308b\u53ef\u80fd\u6027\u304c\u3042\u308b\u305f\u3081\u3067\u3059\u3002 \"occ db\uff1aadd-missing-indices\"\u3092\u5b9f\u884c\u3059\u308b\u3053\u3068\u306b\u3088\u3063\u3066\u3001\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u304c\u5b9f\u884c\u3057\u7d9a\u3051\u3066\u3044\u308b\u9593\u306b\u305d\u308c\u3089\u306e\u6b20\u3051\u3066\u3044\u308b\u30a4\u30f3\u30c7\u30c3\u30af\u30b9\u3092\u624b\u52d5\u3067\u8ffd\u52a0\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002 \u30a4\u30f3\u30c7\u30c3\u30af\u30b9\u304c\u8ffd\u52a0\u3055\u308c\u308b\u3068\u3001\u305d\u308c\u3089\u306e\u30c6\u30fc\u30d6\u30eb\u3078\u306e\u30af\u30a8\u30ea\u306f\u901a\u5e38\u306f\u308b\u304b\u306b\u901f\u304f\u306a\u308a\u307e\u3059\u3002\n\u30c6\u30fc\u30d6\u30eb \"oc_calendarobjects_props\"\u306e\u30a4\u30f3\u30c7\u30c3\u30af\u30b9 \"calendarobject_calid_index\"\u304c\u898b\u3064\u304b\u308a\u307e\u305b\u3093\u3002\n\u30c6\u30fc\u30d6\u30eb \"oc_schedulingobjects\"\u306e\u30a4\u30f3\u30c7\u30c3\u30af\u30b9 \"schedulobj_principuri_index\"\u304c\u898b\u3064\u304b\u308a\u307e\u305b\u3093\u3002\n\u30c6\u30fc\u30d6\u30eb \"oc_properties\"\u306e\u30a4\u30f3\u30c7\u30c3\u30af\u30b9 \"properties_path_index\"\u304c\u898b\u3064\u304b\u308a\u307e\u305b\u3093\u3002\n
\u30e1\u30c3\u30bb\u30fc\u30b8\u306e\u901a\u308aocc\u30b3\u30de\u30f3\u30c9\u3067\u30a4\u30f3\u30c7\u30c3\u30af\u30b9\u3092\u4f5c\u6210\u3057\u307e\u3059\uff0e\u30e1\u30c3\u30bb\u30fc\u30b8\u305d\u306e\u307e\u307e\u30b3\u30d4\u30fc\u3059\u308b\u3068:\u304c\u30de\u30eb\u30c1\u30d0\u30a4\u30c8\u6587\u5b57\u306b\u306a\u3063\u3066\u3044\u308b\u306e\u3067\u6ce8\u610f\u3057\u307e\u3057\u3087\u3046\uff0e
\n$ sudo -u www-data php $NEXTCLOUDPATH/occ db:add-missing-indices\nCheck indices of the share table.\nCheck indices of the filecache table.\nCheck indices of the twofactor_providers table.\nCheck indices of the login_flow_v2 table.\nCheck indices of the whats_new table.\nCheck indices of the cards table.\nCheck indices of the cards_properties table.\nCheck indices of the calendarobjects_props table.\nAdding calendarobject_calid_index index to the calendarobjects_props table, this can take some time...\ncalendarobjects_props table updated successfully.\nCheck indices of the schedulingobjects table.\nAdding schedulobj_principuri_index index to the schedulingobjects table, this can take some time...\nschedulingobjects table updated successfully.\nCheck indices of the oc_properties table.\nAdding properties_path_index index to the oc_properties table, this can take some time...\noc_properties table updated successfully.\n\u300c\u30bb\u30ad\u30e5\u30ea\u30c6\u30a3\uff06\u30bb\u30c3\u30c8\u30a2\u30c3\u30d7\u8b66\u544a\u300d\u30da\u30fc\u30b8\u3092\u518d\u8aad\u8fbc\u3057\u3066\u8b66\u544a\u304c\u6d88\u3048\u308b\u306e\u3092\u78ba\u8a8d\u3057\u307e\u3059\uff0e
\n\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u306b\u306f\u30aa\u30d7\u30b7\u30e7\u30f3\u306e\u30ab\u30e9\u30e0\u304c\u3044\u304f\u3064\u304b\u3042\u308a\u307e\u305b\u3093\u3002\u5927\u304d\u306a\u30c6\u30fc\u30d6\u30eb\u306b\u30ab\u30e9\u30e0\u3092\u8ffd\u52a0\u3059\u308b\u306b\u306f\u6642\u9593\u304c\u304b\u304b\u308b\u305f\u3081\u3001\u30aa\u30d7\u30b7\u30e7\u30f3\u306e\u30ab\u30e9\u30e0\u306f\u81ea\u52d5\u7684\u306b\u8ffd\u52a0\u3055\u308c\u307e\u305b\u3093\u3067\u3057\u305f\u3002\"occ db:add-missing-columns\"\u3092\u5b9f\u884c\u3059\u308b\u3053\u3068\u3067\u3001\u4e0d\u8db3\u3057\u3066\u3044\u308b\u30ab\u30e9\u30e0\u306f\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u306e\u5b9f\u884c\u4e2d\u306b\u624b\u52d5\u3067\u8ffd\u52a0\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002\u30ab\u30e9\u30e0\u304c\u8ffd\u52a0\u3055\u308c\u308b\u3068\u3001\u5fdc\u7b54\u6027\u3084\u4f7f\u3044\u52dd\u624b\u304c\u6539\u5584\u3055\u308c\u308b\u53ef\u80fd\u6027\u304c\u3042\u308a\u307e\u3059\u3002\n\u30c6\u30fc\u30d6\u30eb \"oc_comments\" \u306b\u30aa\u30d7\u30b7\u30e7\u30f3\u306e\u30ab\u30e9\u30e0 \"reference_id\" \u304c\u5b58\u5728\u3057\u307e\u305b\u3093\u3002\n
\u30e1\u30c3\u30bb\u30fc\u30b8\u306e\u901a\u308aocc\u30b3\u30de\u30f3\u30c9\u3067\u30ab\u30e9\u30e0\u3092\u8ffd\u52a0\u3057\u307e\u3059\uff0e\u30e1\u30c3\u30bb\u30fc\u30b8\u305d\u306e\u307e\u307e\u30b3\u30d4\u30fc\u3059\u308b\u3068:\u304c\u30de\u30eb\u30c1\u30d0\u30a4\u30c8\u6587\u5b57\u306b\u306a\u3063\u3066\u3044\u308b\u306e\u3067\u6ce8\u610f\u3057\u307e\u3057\u3087\u3046\uff0e
\n$ sudo -u www-data php $NEXTCLOUDPATH/occ db:add-missing-columns\nCheck columns of the comments table.\nAdding additional reference_id column to the comments table, this can take some time...\nComments table updated successfully.\n\u300c\u30bb\u30ad\u30e5\u30ea\u30c6\u30a3\uff06\u30bb\u30c3\u30c8\u30a2\u30c3\u30d7\u8b66\u544a\u300d\u30da\u30fc\u30b8\u3092\u518d\u8aad\u8fbc\u3057\u3066\u8b66\u544a\u304c\u6d88\u3048\u308b\u306e\u3092\u78ba\u8a8d\u3057\u307e\u3059\uff0e
\n\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u5185\u306e\u3044\u304f\u3064\u304b\u306e\u5217\u3067\u3001big int\u3078\u306e\u5909\u63db\u304c\u884c\u308f\u308c\u3066\u3044\u307e\u305b\u3093\u3002 \u5927\u304d\u306a\u30c6\u30fc\u30d6\u30eb\u3067\u30ab\u30e9\u30e0\u30bf\u30a4\u30d7\u3092\u5909\u66f4\u3059\u308b\u3068\u6642\u9593\u304c\u304b\u304b\u308b\u3053\u3068\u304c\u3042\u308b\u305f\u3081\u3001\u81ea\u52d5\u7684\u306b\u306f\u5909\u66f4\u3055\u308c\u307e\u305b\u3093\u3067\u3057\u305f\u3002 'occ db\uff1aconvert-filecache-bigint'\u3092\u5b9f\u884c\u3059\u308b\u3053\u3068\u306b\u3088\u3063\u3066\u3001\u305d\u308c\u3089\u306e\u4fdd\u7559\u4e2d\u306e\u5909\u66f4\u306f\u624b\u52d5\u3067\u9069\u7528\u3067\u304d\u307e\u3059\u3002 \u3053\u306e\u64cd\u4f5c\u306f\u3001\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u304c\u30aa\u30d5\u30e9\u30a4\u30f3\u306e\u9593\u306b\u884c\u3046\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002 \u8a73\u7d30\u306b\u3064\u3044\u3066\u306f\u3053\u308c\u306b\u95a2\u3059\u308b\u30c9\u30ad\u30e5\u30e1\u30f3\u30c8\u30da\u30fc\u30b8\u3092\u8aad\u3093\u3067\u304f\u3060\u3055\u3044\u3002\nfilecache_extended.fileid\nmounts.storage_id\nmounts.root_id\nmounts.mount_id\n
\u30e1\u30c3\u30bb\u30fc\u30b8\u306e\u901a\u308aocc\u30b3\u30de\u30f3\u30c9\u3067big int\u3078\u306e\u5909\u63db\u3092\u3057\u307e\u3059\uff0e\u30e1\u30c3\u30bb\u30fc\u30b8\u305d\u306e\u307e\u307e\u30b3\u30d4\u30fc\u3059\u308b\u3068:\u304c\u30de\u30eb\u30c1\u30d0\u30a4\u30c8\u6587\u5b57\u306b\u306a\u3063\u3066\u3044\u308b\u306e\u3067\u6ce8\u610f\u3057\u307e\u3057\u3087\u3046\uff0e
\n\u9014\u4e2d\u6642\u9593\u304c\u304b\u304b\u308b\u65e8\u306e\u30e1\u30c3\u30bb\u30fc\u30b8\u304c\u8868\u793a\u3055\u308c\u307e\u3059\uff0ey \u3092\u6307\u5b9a\u3059\u308b\u3053\u3068\u3067\u51e6\u7406\u3092\u7d9a\u884c\u3057\u307e\u3059\uff0esite\u306e\u898f\u6a21\u3084\u5229\u7528\u72b6\u6cc1\u306b\u3088\u3063\u3066\u5b9f\u884c\u6642\u9593\u3092\u8003\u3048\u307e\u3057\u3087\u3046\uff0e
$ sudo -u www-data php $NEXTCLOUDPATH/occ db:convert-filecache-bigint\nFollowing columns will be updated:\n\n* filecache_extended.fileid\n* mounts.storage_id\n* mounts.root_id\n* mounts.mount_id\n\nThis can take up to hours, depending on the number of files in your instance!\nContinue with the conversion (y/n)? [n] y\n\u300c\u30bb\u30ad\u30e5\u30ea\u30c6\u30a3\uff06\u30bb\u30c3\u30c8\u30a2\u30c3\u30d7\u8b66\u544a\u300d\u30da\u30fc\u30b8\u3092\u518d\u8aad\u8fbc\u3057\u3066\u8b66\u544a\u304c\u6d88\u3048\u308b\u306e\u3092\u78ba\u8a8d\u3057\u307e\u3059\uff0e
\nPHP\u306e\u30e1\u30e2\u30ea\u5236\u9650\u304c\u63a8\u5968\u5024\u306e512MB\u4ee5\u4e0b\u3067\u3059\u3002\n
php\u306e memory_limit \u306e\u5024\u3092 /etc/php/7.4/apache2/php.ini \u3092\u7de8\u96c6\u3057\u3066\u4fee\u6b63\u3057\u307e\u3059\uff0e\u305d\u306e\u5f8chttpd\u306e\u518d\u8aad\u8fbc\u3092\u884c\u3044\u307e\u3059\uff0e
$ sudo vim /etc/php/7.4/apache2/php.ini (1)\n$ sudo git -C /etc diff /etc/php/7.4/apache2/php.ini (2)\ndiff --git a/php/7.4/apache2/php.ini b/php/7.4/apache2/php.ini\nindex ef89b713..407ee04d 100644\n--- a/php/7.4/apache2/php.ini\n+++ b/php/7.4/apache2/php.ini\n@@ -406,7 +406,7 @@ max_input_time = 60\n\n ; Maximum amount of memory a script may consume (128MB)\n ; http://php.net/memory-limit\n-memory_limit = 128M\n+memory_limit = 512M\n\n ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;\n ; Error handling and logging ;\n$ php --php-ini /etc/php/7.4/apache2/php.ini -i | grep memory_limit (3)\nmemory_limit => 512M => 512M\n$ sudo service apache2 reload (4)\n\u300c\u30bb\u30ad\u30e5\u30ea\u30c6\u30a3\uff06\u30bb\u30c3\u30c8\u30a2\u30c3\u30d7\u8b66\u544a\u300d\u30da\u30fc\u30b8\u3092\u518d\u8aad\u8fbc\u3057\u3066\u8b66\u544a\u304c\u6d88\u3048\u308b\u306e\u3092\u78ba\u8a8d\u3057\u307e\u3059\uff0e
\n\"Strict-Transport-Security\" HTTP\u30d8\u30c3\u30c0\u304c\u6700\u4f4e\u3067\u3082 \"15552000\" \u79d2\u306b\u8a2d\u5b9a\u3055\u308c\u3066\u3044\u307e\u305b\u3093\u3002\u30bb\u30ad\u30e5\u30ea\u30c6\u30a3\u3092\u5f37\u5316\u3059\u308b\u306b\u306f\u3001\u30bb\u30ad\u30e5\u30ea\u30c6\u30a3Tips ↗\u3067\u89e3\u8aac\u3057\u3066\u3044\u308bHSTS\u3092\u6709\u52b9\u306b\u3059\u308b\u3053\u3068\u3092\u63a8\u5968\u3057\u307e\u3059\u3002\n
$ sudo vi /etc/apache2/sites-available/nextcloud.conf (1)\n$ sudo git -C /etc diff /etc/apache2/sites-available/nextcloud.conf (2)\ndiff --git a/apache2/sites-available/nextcloud.conf b/apache2/sites-available/nextcloud.conf\nindex 2844232c..4a064d52 100644\n--- a/apache2/sites-available/nextcloud.conf\n+++ b/apache2/sites-available/nextcloud.conf\n@@ -135,6 +135,10 @@\n # nokeepalive ssl-unclean-shutdown \\\n # downgrade-1.0 force-response-1.0\n\n+ <IfModule mod_headers.c>\n+ Header always set Strict-Transport-Security \"max-age=15552000; includeSubDomains\"\n+ </IfModule>\n+\n </VirtualHost>\n </IfModule>\n\n$ sudo apache2ctl configtest (3)\nSyntax OK\n$ sudo service apache2 reload (4)\n\u300c\u30bb\u30ad\u30e5\u30ea\u30c6\u30a3\uff06\u30bb\u30c3\u30c8\u30a2\u30c3\u30d7\u8b66\u544a\u300d\u30da\u30fc\u30b8\u3092\u518d\u8aad\u8fbc\u3057\u3066\u8b66\u544a\u304c\u6d88\u3048\u308b\u306e\u3092\u78ba\u8a8d\u3057\u307e\u3059\uff0e
\nWeb\u30b5\u30fc\u30d0\u30fc\u306f\u9069\u5207\u306b\u30db\u30b9\u30c8\u540d \"/.well-known/caldav\" \u304c\u5f15\u3051\u308b\u3088\u3046\u306b\u8a2d\u5b9a\u3055\u308c\u3066\u3044\u307e\u305b\u3093\u3002\u3088\u308a\u8a73\u3057\u3044\u60c5\u5831\u306b\u3064\u3044\u3066\u306f\u3001\u30c9\u30ad\u30e5\u30e1\u30f3\u30c8\u3092\u53c2\u7167\u304f\u3060\u3055\u3044\u3002\nWeb\u30b5\u30fc\u30d0\u30fc\u306f\u9069\u5207\u306b\u30db\u30b9\u30c8\u540d \"/.well-known/carddav\" \u304c\u5f15\u3051\u308b\u3088\u3046\u306b\u8a2d\u5b9a\u3055\u308c\u3066\u3044\u307e\u305b\u3093\u3002\u3088\u308a\u8a73\u3057\u3044\u60c5\u5831\u306b\u3064\u3044\u3066\u306f\u3001\u30c9\u30ad\u30e5\u30e1\u30f3\u30c8\u3092\u53c2\u7167\u304f\u3060\u3055\u3044\u3002\n
\u5c02\u7528\u306e\u30c9\u30e1\u30a4\u30f3\u3067\u306f\u306a\u304f\u30b5\u30d6\u30c7\u30a3\u30ec\u30af\u30c8\u30ea( nextcloud )\u3067\u904b\u7528\u3057\u3066\u3044\u308bNextcloud \u306a\u306e\u3067\uff0c\u30c9\u30e1\u30a4\u30f3\u306e\u30c9\u30ad\u30e5\u30e1\u30f3\u30c8\u30eb\u30fc\u30c8\u306b\u4ee5\u4e0b\u306e\u3088\u3046\u306a .htaccess \u30d5\u30a1\u30a4\u30eb\u3092\u7528\u610f\u3057\u307e\u3059\uff0ecaldav/carddav\u3060\u3051\u3067\u306a\u304f\u4e00\u7dd2\u306b\u4ed6\u306e\u3082\u306e\u3082\u8a2d\u5b9a\u3057\u307e\u3057\u305f\uff0e\u5c02\u7528\u306e(\u30b5\u30d6)\u30c9\u30e1\u30a4\u30f3\u306a\u3089\u3053\u306e\u554f\u984c\u306f\u51fa\u306a\u3044\u3068\u601d\u3044\u307e\u3059\uff0e
$ sudo -u www-data vi $HTTPROOTPATH/.htaccess (1)\n$ cat $HTTPROOTPATH/.htaccess (2)\n<IfModule mod_rewrite.c>\n RewriteEngine on\n RewriteRule ^\\.well-known/host-meta /nextcloud/public.php?service=host-meta [QSA,L]\n RewriteRule ^\\.well-known/host-meta\\.json /nextcloud/public.php?service=host-meta-json [QSA,L]\n RewriteRule ^\\.well-known/webfinger /nextcloud/public.php?service=webfinger [QSA,L]\n RewriteRule ^\\.well-known/carddav /nextcloud/remote.php/dav/ [R=301,L]\n RewriteRule ^\\.well-known/caldav /nextcloud/remote.php/dav/ [R=301,L]\n</IfModule>\n.htaccess \u30d5\u30a1\u30a4\u30eb\u3092\u7de8\u96c6\u300c\u30bb\u30ad\u30e5\u30ea\u30c6\u30a3\uff06\u30bb\u30c3\u30c8\u30a2\u30c3\u30d7\u8b66\u544a\u300d\u30da\u30fc\u30b8\u3092\u518d\u8aad\u8fbc\u3057\u3066\u8b66\u544a\u304c\u6d88\u3048\u308b\u306e\u3092\u78ba\u8a8d\u3057\u307e\u3059\uff0e
\n\u30e1\u30e2\u30ea\u30ad\u30e3\u30c3\u30b7\u30e5\u304c\u8a2d\u5b9a\u3055\u308c\u3066\u3044\u307e\u305b\u3093\u3002\u53ef\u80fd\u3067\u3042\u308c\u3070\u3001\u30d1\u30d5\u30a9\u30fc\u30de\u30f3\u30b9\u3092\u5411\u4e0a\u3059\u308b\u305f\u3081\u3001memcache\u3092\u8a2d\u5b9a\u3057\u3066\u304f\u3060\u3055\u3044\u3002\u3088\u308a\u8a73\u3057\u3044\u60c5\u5831\u306f\u30c9\u30ad\u30e5\u30e1\u30f3\u30c8\u3067\u53c2\u7167\u3067\u304d\u307e\u3059\u3002\n
\n\n\n\n\n\nA memcache is not required and you may safely ignore the warning if you prefer.\n
\u3053\u306e\u8a2d\u5b9a\u306f\u5fc5\u9808\u3067\u306f\u306a\u3055\u305d\u3046\u3067\u3059\u304c\uff0cRAM\u306f\u4f59\u3063\u3066\u3044\u308b\u306e\u3067\u8a2d\u5b9a\u3057\u307e\u3059\uff0e
\n\u3044\u304f\u3064\u304b\u7a2e\u985e\u304c\u3042\u308b\u3088\u3046\u3067\u3059\u304c\uff0c\u4eca\u56de\u306fAPCu\u3092\u8a2d\u5b9a\u3057\u307e\u3057\u305f\uff0e
\n$ sudo apt install php-apcu (1)\n$ sudo -u www-data vim $NEXTCLOUDPATH/config/config.php (2)\n$ sudo git --git-dir=/var/git/nextcloud --work-tree=. diff config/config.php (3)\ndiff --git a/config/config.php b/config/config.php\nindex f62133e..62d137d 100644\n--- a/config/config.php\n+++ b/config/config.php\n@@ -41,4 +41,5 @@ $CONFIG = array (\n array (\n ),\n 'mail_sendmailmode' => 'smtp',\n+ 'memcache.local' => '\\OC\\Memcache\\APCu',\n );\n\u300c\u30bb\u30ad\u30e5\u30ea\u30c6\u30a3\uff06\u30bb\u30c3\u30c8\u30a2\u30c3\u30d7\u8b66\u544a\u300d\u30da\u30fc\u30b8\u3092\u518d\u8aad\u8fbc\u3057\u3066\u8b66\u544a\u304c\u6d88\u3048\u308b\u306e\u3092\u78ba\u8a8d\u3057\u307e\u3059\uff0e
\n:)
\n\u4eca\u56de\u306e\u30db\u30b9\u30c8\u306e\u74b0\u5883\u306fUbuntu 20.04 LTS amd64\u306eapache httpd 2.4, mysql server 8, php 7.4\u3067\u3059\uff0e
\n$ dpkg-query -W php7.4-common php7.4-apcu apache2 mysql-server\napache2 2.4.41-4ubuntu3.2\nmysql-server 8.0.23-0ubuntu0.20.04.1\nphp7.4-apcu\nphp7.4-common 7.4.3-4ubuntu2.4\n$ lsb_release -dr\nDescription: Ubuntu 20.04.2 LTS\nRelease: 20.04\n$ uname -m\nx86_64\nNextcloud\u306eWeb\u7248\u306b\u30a2\u30af\u30bb\u30b9\u3059\u308b\u3068 Internal Server Error \u304c\u5e30\u3063\u3066\u304f\u308b\u3088\u3046\u306b\u306a\u3063\u3066\u3044\u307e\u3057\u305f\uff0e
Internal Server Error
\nThe server encountered an internal error and was unable to complete your request.
\nPlease contact the server administrator if this error reappears multiple times, please include the technical details below in your report.
\nMore details can be found in the server log.
\u5225\u306e\u30e6\u30fc\u30b6\u3067\u8a66\u3059\u3068\u30ed\u30b0\u30a4\u30f3\u753b\u9762\u306f\u8868\u793a\u3055\u308c\u3066\u8a8d\u8a3c\u6a5f\u80fd\u306f\u52d5\u4f5c\u3057\u307e\u3059\uff0e\u3057\u304b\u3057\u30ed\u30b0\u30a4\u30f3\u5f8c\u540c\u3058\u3088\u3046\u306b Internal Server Error \u3053\u306e\u3068\u304dAndroid\u7248\u30a2\u30d7\u30ea\u3067\u306f\u666e\u901a\u306b\u5229\u7528\u3067\u304d\u3066\u3044\u305d\u3046\u3067\u3059\uff0e
\u3088\u304f\u3042\u308b\u306e\u304c\u30b5\u30dd\u30fc\u30c8\u5bfe\u8c61\u5916\u306b\u306a\u3063\u305f\u30ec\u30ac\u30b7\u30fc\u306a\u30a2\u30d7\u30ea\u3092\u5c0e\u5165\u3059\u308b\u3068\u540c\u3058\u3088\u3046\u306a\u72b6\u614b\u306b\u306a\u308b\u3053\u3068\u304c\u3042\u308a\u307e\u3059\uff0e
\n\u3057\u304b\u3057\uff0c\u524d\u56de\u5229\u7528\u3067\u304d\u3066\u3044\u305f\u3068\u304d\u3068\u73fe\u5728\u306e\u9593\u306b\u7279\u306b\u30c7\u30a3\u30b9\u30c8\u30ea\u30d3\u30e5\u30fc\u30b7\u30e7\u30f3, Nextcloud, Nextcloud\u30a2\u30d7\u30ea\u5171\u306b\u30a2\u30c3\u30d7\u30c7\u30fc\u30c8\u306f\u3057\u3066\u3044\u306a\u3044\u306f\u305a\u3067\u3059\uff0e
\u30ed\u30b0\u3092\u78ba\u8a8d\u3059\u308b\u3068httpd\u306eaccess/error\u306elog\u306f\u7279\u306b\u554f\u984c\u306a\u3055\u305d\u3046\uff0e
\nnextcloud.log\u3067\u305d\u308c\u3089\u3057\u3044\u306e\u306f file_put_contents failed \u3067\u3057\u3087\u3046\u304b?
config.php \u3067\u78ba\u8a8d\u3067\u304d\u308b\uff0e$ grep log config/config.php\n 'log_type' => 'file',\n 'logfile' => '/var/log/nextcloud.log',\n 'loglevel' => 0,\n$ tail -f /var/log/nextcloud.log | jq .\n
{\n \"reqId\": \"DVQsgBekfOCY3dvjYO6w\",\n \"level\": 3,\n \"time\": \"2021-01-18T14:59:53+00:00\",\n \"remoteAddr\": \"180.131.110.140\",\n \"user\": \"matoken\",\n \"app\": \"core\",\n \"method\": \"GET\",\n \"url\": \"/index.php/apps/files/\",\n \"message\": {\n \"Exception\": \"OCP\\\\Files\\\\GenericFileException\",\n \"Message\": \"file_put_contents failed\",\n \"Code\": 0,\n \"Trace\": [\n {\n\u307e\u305a\u306f\u624b\u52d5\u3067\u30d5\u30a1\u30a4\u30eb\u3068\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u306e\u30d0\u30c3\u30af\u30a2\u30c3\u30d7\u3092\u53d6\u3063\u3066\u304a\u304d\u307e\u3059\uff0e
\n$ sudo -u www-data php /var/www/files.matoken.org/occ maintenance:mode --on (1)\n$ sudo -u www-data tar cvf - ${NEXTCLOUD_PATH} | xz > ${BACKUP_PATH}/nextcloud-`date +%F_%T`.tar.xz (2)\n$ sudo -u www-data tar cvf - ${NEXTCLOUD_DATA_PATH} | xz > ${BACKUP_PATH}/nextcloud-data-`date +%F_%T`.tar.xz (3)\n$ mysqldump --opt --all-databases --events | xz > ${BACKUP_PATH}/nextcloud-`date +%F_%T`.sql.xz (4)\n$ sudo -u www-data php /var/www/files.matoken.org/occ maintenance:mode --off (5)\n| 1 | \n\u30e1\u30f3\u30c6\u30ca\u30f3\u30b9\u30e2\u30fc\u30c9\u306b\u3059\u308b | \n
| 2 | \nNextcloud\u81ea\u4f53\u306e\u30d0\u30c3\u30af\u30a2\u30c3\u30d7 | \n
| 3 | \nNextcloud\u30c7\u30fc\u30bf\u306e\u30d0\u30c3\u30af\u30a2\u30c3\u30d7 | \n
| 4 | \n\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u306e\u30d0\u30c3\u30af\u30a2\u30c3\u30d7 | \n
| 5 | \n\u30e1\u30f3\u30c6\u30f3\u30b9\u30e2\u30fc\u30c9\u3092\u7d42\u4e86 | \n
occ \u306e maintenance:repair \u30b3\u30de\u30f3\u30c9\u3092\u8a66\u3057\u307e\u3059\uff0e
$ sudo -u www-data php ${NEXTCLOUD_PATH}/occ maintenance:repair\n - Repair MySQL collation\n - All tables already have the correct collation -> nothing to do\n - Repair mime types\n : \u4ee5\u4e0b\u7565\n\u30b3\u30de\u30f3\u30c9\u7d42\u4e86\u5f8cweb\u3092\u518d\u8aad\u8fbc\u3059\u308b\u3068\u30a8\u30e9\u30fc\u306f\u89e3\u6d88\u3055\u308c\u307e\u3057\u305f\uff0e :)
\n\u3057\u304b\u3057\u30d5\u30a1\u30a4\u30eb\u306e\u4e00\u89a7\u304c\u8868\u793a\u3055\u308c\u307e\u305b\u3093\uff0e\u6700\u65b0\u30d5\u30a1\u30a4\u30eb\u306f\u8868\u793a\u3055\u308c\u308b\u306e\u3067\u305d\u306e\u30d5\u30a1\u30a4\u30eb\u3092\u78ba\u8a8d\u3059\u308b\u3068\u8868\u793a\u3055\u308c\u307e\u3059\uff0e
\n\u6b21\u306b occ files:scan \u3092\u8a66\u3057\u3066\u307f\u307e\u3057\u305f\uff0e
$ sudo -u www-data php ${NEXTCLOUD_PATH}/occ files:scan --all\nStarting scan for user 1 out of 7 (user1)\n : \u203b\u7701\u7565\n+---------+-------+--------------+\n| Folders | Files | Elapsed time |\n+---------+-------+--------------+\n| 20752 | 34164 | 00:04:33 |\n+---------+-------+--------------+\n\u3053\u308c\u3067\u306f\u5909\u308f\u3089\u306a\u304b\u3063\u305f\u3088\u3046\u3067\u3059\uff0e\u591a\u5206\u5fc5\u8981\u306a\u304b\u3063\u305f\uff0e
\n\u6b21\u306b occ files:scan-app-data \u3092\u8a66\u3057\u307e\u3059\uff0e
$ sudo -u www-data php ${NEXTCLOUD_PATH}/occ files:scan-app-data\nScanning AppData for files\n\n+---------+-------+--------------+\n| Folders | Files | Elapsed time |\n+---------+-------+--------------+\n| 84 | 97 | 00:00:01 |\n+---------+-------+--------------+\n\u3053\u308c\u304c\u5f53\u305f\u308a\u3060\u3063\u305f\u3088\u3046\u3067\u5fa9\u6d3b\u3057\u307e\u3057\u305f!
\n\u30ed\u30b0\u3092\u898b\u308b\u3068\u3053\u306e\u554f\u984c\u304c\u767a\u751f\u3057\u3066\u3044\u308b\u9593\u3082\u4ed6\u306eNextcloud\u30a2\u30d7\u30ea\u306f\u52d5\u4f5c\u3057\u3066\u3044\u305f\u3088\u3046\u3060\u3057\uff0cAndroid\u30a2\u30d7\u30ea\u7248\u3067\u306f\u30d5\u30a1\u30a4\u30eb\u306e\u81ea\u52d5\u30a2\u30c3\u30d7\u30ed\u30fc\u30c9\u3082\u52d5\u3044\u3066\u3044\u305f\u3088\u3046\u306a\u306e\u3067\u6050\u3089\u304fNextcloud Web\u7248\u306e\u90e8\u5206\u304c\u58ca\u308c\u3066\u3044\u305f\u306e\u3067\u306f\u306a\u3044\u304b\u3068\u601d\u3044\u307e\u3059\uff0e
\n\u3057\u304b\u3057\u6cbb\u3063\u305f\u306e\u306f\u3044\u3044\u3051\u3069\u306a\u305c\u3053\u308c\u304c\u8d77\u3053\u3063\u305f\u304b\u304c\u8b0e\u306a\u306e\u304c\u6c17\u6301\u3061\u60aa\u3044\u3067\u3059\u2026\u2026\uff0e
\n$ sudo -u www-data php /var/www/files.matoken.org/occ -V\nNextcloud 20.0.5\n$ dpkg-query -W php mariadb-server\nmariadb-server 1:10.3.27-0+deb10u1\nphp 2:7.3+69\n$ lsb_release -dr\nDescription: Debian GNU/Linux 10 (buster)\nRelease: 10\n$ uname -m\nx86_64\n\u5148\u65e5 Nextcloud 19.0.6 \u304b\u3089 20.0.4 \u306b\u30a2\u30c3\u30d7\u30c7\u30fc\u30c8\u3057\u307e\u3057\u305f\uff0e
\n\u3059\u308b\u3068\u300c\u30bb\u30ad\u30e5\u30ea\u30c6\u30a3\uff06\u30bb\u30c3\u30c8\u30a2\u30c3\u30d7\u8b66\u544a\u300d\u753b\u9762\u306b\u3044\u304f\u3064\u304b\u8b66\u544a\u304c\u51fa\u3066\u304d\u305f\u306e\u3067\u305d\u306e\u5bfe\u5fdc\u30e1\u30e2\u3067\u3059\uff0e
\u30bb\u30ad\u30e5\u30ea\u30c6\u30a3\uff06\u30bb\u30c3\u30c8\u30a2\u30c3\u30d7\u8b66\u544a\n\u30b5\u30fc\u30d0\u30fc\u306e\u30bb\u30ad\u30e5\u30ea\u30c6\u30a3\u3068\u30d1\u30d5\u30a9\u30fc\u30de\u30f3\u30b9\u306b\u3068\u3063\u3066\u91cd\u8981\u306a\u3053\u3068\u306f\u3001\u3059\u3079\u3066\u304c\u6b63\u78ba\u306b\u8a2d\u5b9a\u3055\u308c\u3066\u3044\u308b\u3053\u3068\u3067\u3059\u3002\u3042\u306a\u305f\u306e\u52a9\u3051\u3068\u306a\u308b\u3088\u3046\u3001Nextcloud\u3067\u306f\u4e00\u90e8\u306e\u81ea\u52d5\u30c1\u30a7\u30c3\u30af\u3092\u884c\u3063\u3066\u3044\u307e\u3059\u3002\u8a73\u7d30\u306a\u60c5\u5831\u306f\u3001\u30ea\u30f3\u30af\u5148\u306e\u30c9\u30ad\u30e5\u30e1\u30f3\u30c8\u3092\u53c2\u7167\u3057\u3066\u304f\u3060\u3055\u3044\u3002\n\n\u30bb\u30c3\u30c8\u30a2\u30c3\u30d7\u306b\u95a2\u3057\u3066\u8b66\u544a\u304c\u3044\u304f\u3064\u304b\u3042\u308a\u307e\u3059\u3002\nThe old server-side-encryption format is enabled. We recommend disabling this. For more details see the documentation.\n\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u306b\u3044\u304f\u3064\u304b\u306e\u30a4\u30f3\u30c7\u30c3\u30af\u30b9\u304c\u3042\u308a\u307e\u305b\u3093\u3002 \u5927\u304d\u306a\u30c6\u30fc\u30d6\u30eb\u306b\u30a4\u30f3\u30c7\u30c3\u30af\u30b9\u3092\u8ffd\u52a0\u3059\u308b\u3068\u3001\u81ea\u52d5\u7684\u306b\u8ffd\u52a0\u3055\u308c\u306a\u3044\u307e\u3067\u306b\u6642\u9593\u304c\u304b\u304b\u308b\u53ef\u80fd\u6027\u304c\u3042\u308b\u305f\u3081\u3067\u3059\u3002 \"occ db\uff1aadd-missing-indices\"\u3092\u5b9f\u884c\u3059\u308b\u3053\u3068\u306b\u3088\u3063\u3066\u3001\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u304c\u5b9f\u884c\u3057\u7d9a\u3051\u3066\u3044\u308b\u9593\u306b\u305d\u308c\u3089\u306e\u6b20\u3051\u3066\u3044\u308b\u30a4\u30f3\u30c7\u30c3\u30af\u30b9\u3092\u624b\u52d5\u3067\u8ffd\u52a0\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002 \u30a4\u30f3\u30c7\u30c3\u30af\u30b9\u304c\u8ffd\u52a0\u3055\u308c\u308b\u3068\u3001\u305d\u308c\u3089\u306e\u30c6\u30fc\u30d6\u30eb\u3078\u306e\u30af\u30a8\u30ea\u306f\u901a\u5e38\u306f\u308b\u304b\u306b\u901f\u304f\u306a\u308a\u307e\u3059\u3002\n\u30c6\u30fc\u30d6\u30eb \"oc_cards\"\u306e\u30a4\u30f3\u30c7\u30c3\u30af\u30b9 \"cards_abiduri\"\u304c\u898b\u3064\u304b\u308a\u307e\u305b\u3093\u3002\nThe database is missing some primary keys. Due to the fact that adding primary keys on big tables could take some time they were not added automatically. By running \"occ db:add-missing-primary-keys\" those missing primary keys could be added manually while the instance keeps running.\nMissing primary key on table \"oc_federated_reshares\".\nMissing primary key on table \"oc_systemtag_object_mapping\".\nMissing primary key on table \"oc_comments_read_markers\".\nMissing primary key on table \"oc_collres_resources\".\nMissing primary key on table \"oc_collres_accesscache\".\nMissing primary key on table \"oc_filecache_extended\".\n\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u5185\u306e\u3044\u304f\u3064\u304b\u306e\u5217\u3067\u3001big int\u3078\u306e\u5909\u63db\u304c\u884c\u308f\u308c\u3066\u3044\u307e\u305b\u3093\u3002 \u5927\u304d\u306a\u30c6\u30fc\u30d6\u30eb\u3067\u30ab\u30e9\u30e0\u30bf\u30a4\u30d7\u3092\u5909\u66f4\u3059\u308b\u3068\u6642\u9593\u304c\u304b\u304b\u308b\u3053\u3068\u304c\u3042\u308b\u305f\u3081\u3001\u81ea\u52d5\u7684\u306b\u306f\u5909\u66f4\u3055\u308c\u307e\u305b\u3093\u3067\u3057\u305f\u3002 'occ db\uff1aconvert-filecache-bigint'\u3092\u5b9f\u884c\u3059\u308b\u3053\u3068\u306b\u3088\u3063\u3066\u3001\u305d\u308c\u3089\u306e\u4fdd\u7559\u4e2d\u306e\u5909\u66f4\u306f\u624b\u52d5\u3067\u9069\u7528\u3067\u304d\u307e\u3059\u3002 \u3053\u306e\u64cd\u4f5c\u306f\u3001\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u304c\u30aa\u30d5\u30e9\u30a4\u30f3\u306e\u9593\u306b\u884c\u3046\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002 \u8a73\u7d30\u306b\u3064\u3044\u3066\u306f\u3053\u308c\u306b\u95a2\u3059\u308b\u30c9\u30ad\u30e5\u30e1\u30f3\u30c8\u30da\u30fc\u30b8\u3092\u8aad\u3093\u3067\u304f\u3060\u3055\u3044\u3002\nfederated_reshares.share_id\nfilecache_extended.fileid\nshare_external.id\nshare_external.parent\n\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u30ac\u30a4\u30c9 ↗\u3092\u518d\u78ba\u8a8d\u3057\u3066\u3001 \u30ed\u30b0 \u306b\u3042\u308b\u3059\u3079\u3066\u306e\u30a8\u30e9\u30fc\u3084\u8b66\u544a\u3092\u78ba\u8a8d\u3057\u3066\u304f\u3060\u3055\u3044\u3002\n
\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u304b\u3089\u4fee\u6b63\u3057\u3066\u3044\u304d\u307e\u3059\uff0e\u307e\u3042\u66f8\u3044\u3066\u3042\u308b\u30b3\u30de\u30f3\u30c9\u3092\u53e9\u304f\u3060\u3051\u3067\u3059\u304c\uff0e
\n$ sudo -u www-data php ${NEXTCLOUDPATH}/occ db:add-missing-indices\nCheck indices of the share table.\nCheck indices of the filecache table.\nCheck indices of the twofactor_providers table.\nCheck indices of the login_flow_v2 table.\nCheck indices of the whats_new table.\nCheck indices of the cards table.\nAdding cards_abiduri index to the cards table, this can take some time...\ncards table updated successfully.\nCheck indices of the cards_properties table.\nCheck indices of the calendarobjects_props table.\nCheck indices of the schedulingobjects table.\nCheck indices of the oc_properties table.\n\n\n\n\nThe database is missing some primary keys. Due to the fact that adding primary keys on big tables could take some time they were not added automatically. By running “occ db:add-missing-primary-keys” those missing primary keys could be added manually while the instance keeps running.
\n
\nMissing primary key on table “oc_federated_reshares”.
\nMissing primary key on table “oc_systemtag_object_mapping”.
\nMissing primary key on table “oc_comments_read_markers”.
\nMissing primary key on table “oc_collres_resources”.
\nMissing primary key on table “oc_collres_accesscache”.
\nMissing primary key on table “oc_filecache_extended”.
$ sudo -u www-data php ${NEXTCLOUDPATH}/occ db:add-missing-primary-keys\nCheck primary keys.\nAdding primary key to the federated_reshares table, this can take some time...\nfederated_reshares table updated successfully.\nAdding primary key to the systemtag_object_mapping table, this can take some time...\nsystemtag_object_mapping table updated successfully.\nAdding primary key to the comments_read_markers table, this can take some time...\ncomments_read_markers table updated successfully.\nAdding primary key to the collres_resources table, this can take some time...\ncollres_resources table updated successfully.\nAdding primary key to the collres_accesscache table, this can take some time...\ncollres_accesscache table updated successfully.\nAdding primary key to the filecache_extended table, this can take some time...\nfilecache_extended table updated successfully.\n\n\n\n\n\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u5185\u306e\u3044\u304f\u3064\u304b\u306e\u5217\u3067\u3001big int\u3078\u306e\u5909\u63db\u304c\u884c\u308f\u308c\u3066\u3044\u307e\u305b\u3093\u3002 \u5927\u304d\u306a\u30c6\u30fc\u30d6\u30eb\u3067\u30ab\u30e9\u30e0\u30bf\u30a4\u30d7\u3092\u5909\u66f4\u3059\u308b\u3068\u6642\u9593\u304c\u304b\u304b\u308b\u3053\u3068\u304c\u3042\u308b\u305f\u3081\u3001\u81ea\u52d5\u7684\u306b\u306f\u5909\u66f4\u3055\u308c\u307e\u305b\u3093\u3067\u3057\u305f\u3002 ‘occ db\uff1aconvert-filecache-bigint\u2019\u3092\u5b9f\u884c\u3059\u308b\u3053\u3068\u306b\u3088\u3063\u3066\u3001\u305d\u308c\u3089\u306e\u4fdd\u7559\u4e2d\u306e\u5909\u66f4\u306f\u624b\u52d5\u3067\u9069\u7528\u3067\u304d\u307e\u3059\u3002 \u3053\u306e\u64cd\u4f5c\u306f\u3001\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u304c\u30aa\u30d5\u30e9\u30a4\u30f3\u306e\u9593\u306b\u884c\u3046\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002
\n
$ sudo -u www-data php ${NEXTCLOUDPATH}/occ db:convert-filecache-bigint\nFollowing columns will be updated:\n\n* federated_reshares.share_id\n* filecache_extended.fileid\n* share_external.id\n* share_external.parent\n\nThis can take up to hours, depending on the number of files in your instance!\nContinue with the conversion (y/n)? [n] y\n\u3053\u3053\u306fE2EE\u3067\u4f7f\u3046\u30b5\u30fc\u30d0\u30b5\u30a4\u30c9\u306e\u6697\u53f7\u5316\u5f62\u5f0f\u3067\u53e4\u3044\u5f62\u5f0f\u304c\u6709\u52b9\u306b\u306a\u3063\u3066\u3044\u308b\u306e\u3092\u7121\u52b9\u306b\u3057\u305f\u307b\u3046\u304c\u3044\u3044\u3088\u3063\u3066\u8b66\u544a\u306e\u3088\u3046\u3067\u3059\uff0e
\n\n\n\n\nThe old server-side-encryption format is enabled. We recommend disabling this. For more details see the documentation.
\n
\u30c9\u30ad\u30e5\u30e1\u30f3\u30c8\u3092\u53c2\u8003\u306b\uff0c
\nhttps://docs.nextcloud.com/server/20/admin_manual/configuration_files/encryption_migration.html
\u53e4\u3044\u5f62\u5f0f\u304c\u4f7f\u308f\u308c\u3066\u3044\u308b\u304b\u3092\u78ba\u8a8d\u3057\u307e\u3059\uff0e
\n$ sudo -u www-data php ${NEXTCLOUDPATH}/occ encryption:scan:legacy-format\nScanning all files for legacy encryption\nScanning all files for matoken\nScanning all files for hoge\n :\n\nencryption:scan:legacy-format\n\u53e4\u3044\u5f62\u5f0f\u306f\u4f7f\u308f\u308c\u3066\u3044\u306a\u304b\u3063\u305f\u306e\u3067\u8a2d\u5b9a( ${NEXTCLOUDPATH/config/config.php )\u3067\u660e\u793a\u7684\u306b\u7121\u52b9\u306b\u3057\u3066\u3057\u307e\u3044\u307e\u3059\uff0e
\n- 'encryption.legacy_format_support' => false,\n+ 'encryption.legacy_format_support' => true,\n\n
\u3082\u3057\u53e4\u3044\u5f62\u5f0f\u304c\u6b8b\u3063\u3066\u3044\u3066\u79fb\u884c\u3057\u305f\u3044\u3067\u3082\u30de\u30b9\u30bf\u30fc\u30ad\u30fc\u3092\u8a2d\u5b9a\u3057\u3066\u3044\u306a\u3044\u3068\u3044\u3046\u5834\u5408\u306f\u8a72\u5f53\u30d5\u30a1\u30a4\u30eb\u306e\u6240\u6301\u30e6\u30fc\u30b6\u30fc\u306b\u30c7\u30fc\u30bf\u3092\u30b3\u30d4\u30fc\u3057\u76f4\u3057\u3066\u3082\u3089\u3046\u5fc5\u8981\u304c\u3042\u308a\u305d\u3046\u3067\u3059\uff0e\u3042\u307e\u308a\u3084\u308a\u305f\u304f\u306a\u3044\u4f5c\u696d\u3067\u3059\u306d\uff0e(\u4ee5\u4e0b\u306e\u30da\u30fc\u30b8\u3092\u898b\u308b\u3068\u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u304c\u30a2\u30c3\u30d7\u30ed\u30fc\u30c9\u3057\u76f4\u3057\u3092\u3057\u3066\u304f\u308c\u308b\u306e\u304b\u3082\u3057\u308c\u306a\u3044)
\n\u3053\u308c\u3067\u518d\u8aad\u8fbc\u3059\u308b\u3068\u3059\u3079\u3066\u306e\u30c1\u30a7\u30c3\u30af\u306b\u5408\u683c\u3057\u307e\u3057\u305f :)
\n$ sudo -u www-data php /var/www/files.matoken.org/occ -V\nNextcloud 20.0.4\n$ dpkg-query -W php mariadb-server\nmariadb-server 1:10.3.27-0+deb10u1\nphp 2:7.3+69\n$ lsb_release -dr\nDescription: Debian GNU/Linux 10 (buster)\nRelease: 10\n$ uname -vm\n#1 SMP Debian 4.19.160-2 (2020-11-28) x86_64\n
\u3053\u306e\u8a18\u4e8b\u306f \u65e5\u672cAndroid\u306e\u4f1a\u79cb\u8449\u539f\u652f\u90e8\u30ed\u30dc\u30c3\u30c8\u90e8 Advent Calendar 2020 \u306e20\u65e5\u5206\u306e\u8a18\u4e8b\u3067\u3059\uff0e
\n\u65e5\u672cAndroid\u306e\u4f1a\u79cb\u8449\u539f\u652f\u90e8\u30ed\u30dc\u30c3\u30c8\u90e8\u306f\u73fe\u5728\u6708\u306b\u4e00\u56de\u52c9\u5f37\u4f1a\u3092\u884c\u3044\u69d8\u3005\u306a\u8a71\u984c\u3067\u76db\u308a\u4e0a\u304c\u3063\u3066\u3044\u307e\u3059\uff0e
\n\u6b21\u306e\u52c9\u5f37\u4f1a\u306f\u3061\u3087\u3046\u3069\u4eca\u65e5(20\u65e5)\u3067\u3059\uff0e\u8208\u5473\u306e\u3042\u308b\u65b9\u306f\u8997\u3044\u3066\u307f\u3066\u304f\u3060\u3055\u3044\uff0e
\u30bb\u30f3\u30b5\u30fc\u306e\u30ed\u30b0\u306a\u3069\u3092\u30a2\u30c3\u30d7\u30ed\u30fc\u30c9\u3059\u308b\u306e\u306b\u8272\u3005\u306aweb\u30b5\u30fc\u30d3\u30b9\u3092\u4f7f\u3063\u305f\u308a\uff0cGoogle\u30b9\u30d7\u30ec\u30c3\u30c9\u30b7\u30fc\u30c8\u306b\u66f8\u3044\u305f\u308a\u3057\u3066\u3044\u307e\u3059\uff0e
\n\u4fbf\u5229\u306a\u3093\u3060\u3051\u3069\u30ed\u30c3\u30af\u30a4\u30f3\u306b\u306a\u308b\u306e\u306f\u5acc\u3060\u306a\u3063\u3066\u601d\u3063\u305f\u308a\u3057\u307e\u3059\uff0e
Nextcloud\u3068\u3044\u3046\u30d5\u30a1\u30a4\u30eb\u5171\u6709\u30b5\u30fc\u30d3\u30b9+\u03b1\u306aOSS\u304c\u3042\u308a\u307e\u3059\uff0e\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u3092\u8ffd\u52a0\u3057\u3066\u6a5f\u80fd\u3092\u5897\u3084\u3059\u3053\u3068\u304c\u51fa\u6765\u307e\u3059\uff0e\u4f8b\u3048\u3070\u30c6\u30ec\u30d3\u96fb\u8a71\u3084\uff0c\u30aa\u30f3\u30e9\u30a4\u30f3\u30aa\u30d5\u30a3\u30b9\u3068\u304b\uff0c\u30de\u30c3\u30d7\u30b5\u30fc\u30d3\u30b9\u3068\u304b\u69d8\u3005\u306a\u30a2\u30d7\u30ea\u304c\u3042\u308a\u307e\u3059\uff0e
\n\u3053\u308c\u3092\u500b\u4eba\u7684\u306b\u7acb\u3066\u3066\u4fbf\u5229\u306b\u4f7f\u3063\u3066\u3044\u307e\u3059
\u3053\u306e\u4e2d\u306e\u30a2\u30d7\u30ea\u3092\u773a\u3081\u3066\u3044\u308b\u3068Sensorlogger\u3068\u3044\u3046\u30bb\u30f3\u30b5\u30fc\u306e\u30ed\u30b0\u3092\u4fdd\u5b58\u3067\u304d\u305d\u3046\u306a\u3082\u306e\u3092\u898b\u3064\u3051\u305f\u306e\u3067\u8a66\u3057\u3066\u307f\u307e\u3057\u305f\uff0e
\n\u307e\u305aNextcloud\u3067\u3059\u304c\uff0c\u3068\u308a\u3042\u3048\u305a\u8a66\u3059\u3060\u3051\u306a\u3089snap\u3092\u5229\u7528\u3059\u308b\u306e\u304c\u304a\u624b\u8efd\u3067\u3059\uff0eRaspberry Pi + Raspberry Pi OS\u306a\u3069\u3067\u3082OK\u3067\u3059\uff0e
\nDebian sid amd64/Ubuntu 20.04 LTS/Raspberry Pi OS armhf\u3067\u306f\u4ee5\u4e0b\u306e\u624b\u9806\u3067OK\u3067\u3057\u305f\uff0e
\n$ sudo apt update && sudo apt upgrade (1)\n$ sudo apt install snapd (2)\n$ sudo snap install nextcloud (3)\nsnapd \u30d1\u30c3\u30b1\u30fc\u30b8\u3092\u5c0e\u516510\u5206\u4f4d\u5f85\u3064\u3068\u5c0e\u5165\u304c\u7d42\u308f\u308a\u307e\u3059\uff0e\u30a6\u30a7\u30d6\u30d6\u30e9\u30a6\u30b6\u306bIP\u30a2\u30c9\u30ec\u30b9\u3092\u5165\u529b\u3059\u308b\u3068\u30bb\u30c3\u30c8\u30a2\u30c3\u30d7\u753b\u9762\u304c\u8868\u793a\u3055\u308c\u308b\u306e\u3067\u7ba1\u7406\u8005ID/PASSWORD\u3092\u8a2d\u5b9a\u3057\u307e\u3059\uff0e
\n\u3053\u308c\u3067\u3068\u308a\u3042\u3048\u305a\u4f7f\u3048\u308b\u3088\u3046\u306b\u306a\u3063\u305f\u3068\u601d\u3044\u307e\u3059\uff0e
\n\u3053\u306e\u5f8cSensorlogger\u3092\u5c0e\u5165\u3057\u307e\u3059\uff0e
\n\u7ba1\u7406\u8005\u6a29\u9650\u306e\u30a2\u30ab\u30a6\u30f3\u30c8\u3067Nextcloud\u306e\u53f3\u4e0a\u306e\u30e1\u30cb\u30e5\u30fc\u304b\u3089\u300c\u30a2\u30d7\u30ea\u300d\u3092\u958b\u304d\u307e\u3059\uff0e
\u6b21\u306b\u4e0a\u306e\u691c\u7d22\u30d0\u30fc\u306b\u300cSensorlogger\u300d\u3068\u304b\u306e\u6587\u5b57\u5217\u3067\u691c\u7d22\u3057\u3066\u300c\u6709\u52b9\u300d\u30dc\u30bf\u30f3\u3092\u62bc\u3057\u3066\u5c0e\u5165\u3057\u307e\u3059\uff0e
\n| \n Tip \n | \n\nNextcloud\u306e\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u306f\u30b3\u30de\u30f3\u30c9\u30e9\u30a4\u30f3\u304b\u3089\u5c0e\u5165\u3059\u308b\u3053\u3068\u3082\u51fa\u6765\u307e\u3059\uff0e \n $ sudo -u www-data occ app:install sensorlogger #\u901a\u5e38\u5c0e\u5165\u3057\u305f\u5834\u5408\n $ sudo /snap/bin/nextcloud.occ app:install sensorlogger #snap\u3067\u5c0e\u5165\u3057\u305f\u5834\u5408 | \n
\u3053\u3053\u304b\u3089\u306f\u4e00\u822c\u30e6\u30fc\u30b6\u3067OK\u3067\u3059\uff0e
\nNextcloud\u306e\u4e0a\u90e8\u304b\u3089\u300cSensorlogger\u300d\u306e\u30a2\u30a4\u30b3\u30f3\u3092\u30af\u30ea\u30c3\u30af\u3059\u308b\u3068Sensorlogger\u306e\u753b\u9762\u304c\u8868\u793a\u3055\u308c\u307e\u3059\uff0e
\n\u306f\u3058\u3081\u306f\u30c7\u30fc\u30bf\u304c\u306a\u3044\u306e\u3067\u307e\u3063\u3055\u3089\u3067\u3059\uff0e\u300cDevice\u300d\u8fba\u308a\u3067\u30c7\u30d0\u30a4\u30b9\u306e\u767b\u9332\u3092\u3059\u308b\u306e\u304b\u306a?\u3068\u601d\u3044\u307e\u3057\u305f\u304c\u51fa\u6765\u307e\u305b\u3093\uff0e
\n\u300cRead SensorLogger Wiki Devices\u300d\u3068\u66f8\u304b\u308c\u3066\u3044\u308b\u306e\u3067Wiki\u3092\u53c2\u7167\u3057\u3066\u307f\u307e\u3059\uff0e
\u30c7\u30fc\u30bf\u3092\u9001\u308b\u3068\u81ea\u52d5\u7684\u306b\u30c7\u30d0\u30a4\u30b9\u304c\u51fa\u6765\u308b\u3088\u3046\u3067\u3059\uff0eSimple, Complex\u306e2\u7a2e\u985e\u306e\u30c7\u30fc\u30bf\u30bf\u30a4\u30d7\u304c\u3042\u308b\u3088\u3046\u3067\u3059\uff0eSimple\u306f\u6e29\u5ea6\uff0c\u6e7f\u5ea6\u306e\u3088\u3046\u3067\u3068\u308a\u3042\u3048\u305a\u3053\u308c\u3092\u8a66\u3057\u3066\u307f\u307e\u3059\uff0e
\n\u4ee5\u4e0b\u306e\u8fba\u308a\u304b\u3089 post.php \u3092\u6301\u3063\u3066\u304d\u3066\u4f7f\u3044\u307e\u3059\uff0e\u3053\u306escript\u306f\u30c0\u30df\u30fc\u306e\u30e9\u30f3\u30c0\u30e0\u306a\u6e29\u5ea6\u3068\u6e7f\u5ea6\u30c7\u30fc\u30bf\u3092\u4f5c\u3063\u3066Sensourlogger\u306b\u30c7\u30fc\u30bf\u3092\u6295\u3052\u307e\u3059\uff0e
\n$NEXTCLOUDPATH/apps/sensorlogger/tests/curl/post.php \u901a\u5e38\u5c0e\u5165\u3057\u305f\u5834\u5408/snap/nextcloud/current/htdocs/apps/sensorlogger/tests/curl/post.php snap\u3067\u5c0e\u5165\u3057\u305f\u5834\u5408\u4f55\u7b87\u6240\u304b\u66f8\u304d\u63db\u3048\u307e\u3059\uff0e
\n* $url = ` \u3092\u81ea\u5206\u306eNextcloud\u306eURL\u306b\u5909\u66f4\u3057\u307e\u3059\uff0e \u3092
\n* `$array = array(\"deviceId\" \u21d2uuidgen \u30b3\u30de\u30f3\u30c9\u306a\u3069\u3067\u751f\u6210\u3057\u305fUUID\u306b\u5909\u66f4\u3057\u307e\u3059\uff0e
\n* $username = \u3092Nextcloud\u306e\u81ea\u5206\u306e\u30e6\u30fc\u30b6\u30fc\u306b\u5909\u66f4\u3057\u307e\u3059\uff0e
\n* $token = \u306b\u300c\u8a2d\u5b9a\u300d\u300c\u30bb\u30ad\u30e5\u30ea\u30c6\u30a3\u300d\u30da\u30fc\u30b8\u306e\u300c\u30c7\u30d0\u30a4\u30b9\u3068\u30bb\u30c3\u30b7\u30e7\u30f3\u300d\u306e\u4e00\u756a\u4e0b\u306e\u300c\u65b0\u3057\u3044\u30a2\u30d7\u30ea\u30d1\u30b9\u30ef\u30fc\u30c9\u3092\u4f5c\u6210\u300d\u3067\u4f5c\u6210\u3057\u305f\u30c8\u30fc\u30af\u30f3\u306b\u4fee\u6b63\u3057\u307e\u3059\uff0e
\u305d\u3057\u3066php\u3068php-curl\u304c\u5fc5\u8981\u306a\u306e\u3067\u5c0e\u5165\u3057\u307e\u3059\uff0e
\n$ sudo apt install php-cli php-curl\n\u3053\u306e\u72b6\u614b\u3067 post.php \u3092\u5b9f\u884c\u3057\u3066\u6210\u529f\u3059\u308b\u3068\u4ee5\u4e0b\u306e\u3088\u3046\u306a\u30e1\u30c3\u30bb\u30fc\u30b8\u304c\u5e30\u3063\u3066\u304d\u307e\u3059\uff0e
$ php ./post.php\n{\"success\":true,\"message\":\"Sensor Log successfully stored\",\"data\":null}\nSensorlogger\u306e\u30da\u30fc\u30b8\u306e List \u3092\u898b\u308b\u3068\u30a8\u30fc\u30bf\u304c\u30a2\u30c3\u30d7\u30ed\u30fc\u30c9\u3055\u308c\u3066\u3044\u308b\u306e\u304c\u89e3\u308a\u307e\u3059 :)
\u624b\u52d5\u3067\u5b9f\u884c\u3059\u308b\u306e\u306f\u5927\u5909\u306a\u306e\u3067crontab\u306b\u3053\u3093\u306a\u611f\u3058\u3067\u767b\u9332\u3057\u3066\u307f\u307e\u3059\uff0e5\u5206\u306b\u4e00\u56de\u30c7\u30fc\u30bf\u3092\u9001\u4fe1\u3057\u307e\u3059\uff0e
\n$ crontab -e (1)\n$ crontab -l | grep post.php (2)\n*/5 * * * * php ~/tmp/post.php 2&>1 > ~/tmp/post.php.log\n\u540c\u69d8\u306bRaspberry Pi\u306e\u6e29\u5ea6\u3082\u9001\u3063\u3066\u307f\u307e\u3059\uff0e\u6e29\u5ea6\u306e $temperature \u3092\u4ee5\u4e0b\u306e\u3088\u3046\u306a\u611f\u3058\u3067\u66f8\u304d\u63db\u3048\u3066\uff0cUUID\u3082\u66f8\u304d\u63db\u3048\u308b\u3068OK\uff0e\u3053\u308c\u3082crontab\u306b\u767b\u9332\u3057\u307e\u3059\uff0e
$temperature = system( '/opt/vc/bin/vcgencmd measure_temp | awk -F \"[=\\']\" \\'{print $2 }\\' | tr -d \\'\\n\\'' );\n\u3057\u3070\u3089\u304f\u52d5\u304b\u3057\u3066\u304b\u3089\u30c0\u30c3\u30b7\u30e5\u30dc\u30fc\u30c9\u3092\u8a2d\u5b9a\u3059\u308b\u3068\u3053\u3093\u306a\u611f\u3058\u306e\u30c1\u30e3\u30fc\u30c8\u304c\u8868\u793a\u3067\u304d\u307e\u3057\u305f\uff0e
\n\u5bc6\u96c6\u3057\u3066\u3088\u304f\u308f\u304b\u3089\u306a\u3044\u90e8\u5206\u306f\u30de\u30a6\u30b9\u30c9\u30e9\u30c3\u30b0\u3067\u77e9\u5f62\u9078\u629e\u3059\u308b\u3068\u305d\u306e\u90e8\u5206\u304c\u30ba\u30fc\u30e0\u3055\u308c\u307e\u3059\uff0e
\n\u3068\u3044\u3046\u611f\u3058\u3067\u3068\u308a\u3042\u3048\u305a\u52d5\u304d\u307e\u3057\u305f\uff0e\u30c9\u30ad\u30e5\u30e1\u30f3\u30c8\u304c\u672a\u3060\u5145\u5b9f\u3057\u3066\u3044\u306a\u8cb7\u3063\u305f\u308a\u4f7f\u3044\u52dd\u624b\u3082\u60aa\u3044\u3067\u3059\u304c\u6700\u4f4e\u9650\u306e\u6a5f\u80fd\u306f\u3042\u308b\u304b\u306a\u3068\u3044\u3046\u611f\u3058\u3067\u3059\uff0e
\n\u8208\u5473\u304c\u3042\u3063\u305f\u3089\u8a66\u3057\u3066\u307f\u3066\u304f\u3060\u3055\u3044\uff0e
\n\u82e5\u3057\u304f\u306f\u304a\u3059\u3059\u3081\u306e\u30a2\u30d7\u30ea\u3084\u30b5\u30fc\u30d3\u30b9\u3092\u6559\u3048\u3066\u304f\u3060\u3055\u3044\uff0e
Nextcloud\u5c0e\u5165\u304c\u9762\u5012?snap\u3092\u4f7f\u3046\u3068\u3053\u308c\u3060\u3051\u3067GoogleDoc\u307f\u305f\u3044\u306a\u3053\u3068\u304c\u3067\u304d\u307e\u3059(Debian sid amd64/Ubuntu 20.04 LTS\u3067\u78ba\u8a8d\u6e08\u307f)\uff0e
\n$ sudo apt update && sudo apt upgrade\n$ sudo apt install snapd\n$ sudo snap install nextcloud\n$ sudo /snap/bin/nextcloud.occ app:install documentserver_community\n$ sudo /snap/bin/nextcloud.occ app:install onlyoffice\n\u7c21\u5358\u306b\u8aac\u660e\u3057\u3066\u3044\u304d\u307e\u3059\uff0e
\n$ sudo apt update && sudo apt upgrade\n$ sudo apt install snapd\n$ snap find nextcloud\nName Version Publisher Notes Summary\nnextcloud 18.0.4snap3 nextcloud\u2713 - Nextcloud Server - A safe home for all your data\nspreedme 0.29.5snap1 nextcloud\u2713 - Spreed.ME audio/video calls and conferences feature for the Nextcloud Snap\nonlyoffice-desktopeditors 5.5.1 onlyoffice\u2713 - A comprehensive office suite for editing documents, spreadsheets and presentations\nqownnotes 20.6.2 pbek - Plain-text file markdown note taking with Nextcloud / ownCloud integration\nnextcloud-port8080 1.01 arcticslyfox - Nextcloud Server\nnextcloud-snap-abacao 11.0.3snap4 abacao - Nextcloud Server\nnextcloud-nextant 11.0.0snap3 rmescandon - Nextcloud Server + search support\nnextcloud-abacao 11.0.3snap4 abacao - Nextcloud Server\ncashbox-nextcloud 11.0.2snap2 cashbox - Nextcloud Server for www.cashBOX.plus\nnextcloudsnap 12.0.4snap1 oscarbrolin - Nextcloud Server - A safe home for all your data\nghostcloud 0.9.5 beidl - A modern cross-platform client for Nextcloud, ownCloud, WebDav.\nhtxucloud 12.0.3snap7 htxu - Nextcloud Server\ncarnet 0.22.1 alexandre-roux-m - Powerful note taking app with sync, online editor and android app\nopentodolist 3.23.0 mhoeher - Todo list and note taking application\nsolr 0.1 rmescandon - Starts up solr as forking daemon\nmdns-hostname 0.0.1 welike - mDNS mini-daemon to published hostname.local\nnextcloud-stondino 15.0.10snap3+git1.ff25cb9 zmusselman - Nextcloud Server - A safe home for all your data\nvmcloud-nextcloud 1.0.0 victoriususm - Nextcloud 16.0.3 Optimized-Boosted\nfeedreader 0+git.9ac478f7 ken-vandine - RSS client for various webservices\ntest003-nc 13.0.4.snap1 reinism - Nextcloud Server - A safe home for all your data\n$ snap info nextcloud\nname: nextcloud\nsummary: Nextcloud Server - A safe home for all your data\npublisher: Nextcloud*\nstore-url: https://snapcraft.io/nextcloud\ncontact: https://github.com/nextcloud/nextcloud-snap\nlicense: unset\ndescription: |\n Where are your photos and documents? With Nextcloud you pick a server of\n your choice, at home, in a data center or at a provider. And that is where\n your files will be. Nextcloud runs on that server, protecting your data and\n giving you access from your desktop or mobile devices. Through Nextcloud\n you also access, sync and share your existing data on that FTP drive at\n school, a Dropbox or a NAS you have at home.\ncommands:\n - nextcloud.disable-https\n - nextcloud.enable-https\n - nextcloud.export\n - nextcloud.import\n - nextcloud.manual-install\n - nextcloud.mysql-client\n - nextcloud.mysqldump\n - nextcloud.occ\nservices:\n nextcloud.apache: simple, enabled, active\n nextcloud.mdns-publisher: simple, enabled, active\n nextcloud.mysql: simple, enabled, active\n nextcloud.nextcloud-cron: simple, enabled, active\n nextcloud.nextcloud-fixer: simple, enabled, inactive\n nextcloud.php-fpm: simple, enabled, active\n nextcloud.redis-server: simple, enabled, active\n nextcloud.renew-certs: simple, enabled, active\nsnap-id: njObIbGQEaVx1H4nyWxchk1i8opy4h54\ntracking: latest/stable\nrefresh-date: yesterday at 21:53 JST\nchannels:\n latest/stable: 18.0.4snap4 2020-06-08 (21413) 264MB -\n latest/candidate: ^\n latest/beta: 18.0.4snap4+git5.31f0acd 2020-06-09 (21469) 264MB -\n latest/edge: master-2020-06-10 2020-06-10 (21487) 267MB -\n 18/stable: 18.0.4snap4 2020-06-08 (21413) 264MB -\n 18/candidate: ^\n 18/beta: ^\n 18/edge: 18-2020-06-10 2020-06-10 (21482) 265MB -\n 17/stable: 17.0.6snap1 2020-05-03 (20616) 229MB -\n 17/candidate: ^\n 17/beta: 17.0.6snap1+git10.8f765f8 2020-06-09 (21474) 249MB -\n 17/edge: 17-2020-06-10 2020-06-10 (21483) 250MB -\n 16/stable: 16.0.11snap1 2020-06-08 (21459) 225MB -\n 16/candidate: ^\n 16/beta: ^\n 16/edge: ^\n 15/stable: 15.0.14snap1 2020-01-20 (18374) 216MB -\n 15/candidate: ^\n 15/beta: ^\n 15/edge: ^\n 14/stable: 14.0.10snap1 2019-05-04 (13208) 202MB -\n 14/candidate: ^\n 14/beta: ^\n 14/edge: ^\n 13/stable: 13.0.12snap1 2019-05-03 (13155) 193MB -\n 13/candidate: ^\n 13/beta: ^\n 13/edge: ^\n 12/stable: 12.0.13snap1 2019-01-07 (10632) 206MB -\n 12/candidate: ^\n 12/beta: ^\n 12/edge: ^\n 11/stable: 11.0.8snap1 2018-05-10 (6942) 202MB -\n 11/candidate: ^\n 11/beta: ^\n 11/edge: ^\n\u3044\u304f\u3064\u304b\u3067\u3066\u304d\u307e\u3059\u304c\uff0cPublisher\u304c nextcloud \u306b\u306a\u3063\u3066\u3044\u308b\u516c\u5f0f\u306estable\u3092\u4f7f\u3044\u307e\u3059\uff0e\u3061\u306a\u307f\u306b\u3053\u306e\u30b3\u30de\u30f3\u30c9\u3092\u53e9\u3044\u305f\u6642\u70b9\u306719.0.0\u308418.0.5\u304c\u51fa\u3066\u3044\u3066\u3053\u306e\u8a18\u4e8b\u57f7\u7b46\u6642\u70b9\u306718.0.6\u304c\u51fa\u3066\u3044\u307e\u3059\uff0e\u3061\u3087\u3063\u3068\u53cd\u6620\u304c\u9045\u3044\u307f\u305f\u3044\u3067\u3059\u306d\uff0e
$ sudo snap install nextcloud\n\u3057\u3070\u3089\u304f\u6642\u9593\u304c\u304b\u304b\u308a\u307e\u3059\u304c\uff0c\u3053\u308c\u3067Nextcloud\u3068\u95a2\u9023\u306eApache httpd/PHP/MySQL\u7b49\u304c\u8a2d\u5b9a\u6e08\u307f\u306e\u72b6\u614b\u3067\u5c0e\u5165\u3055\u308c\u307e\u3059\uff0e
\n$ ps aux | grep -i nextcloud\nroot 17628 0.0 0.0 1872 196 ? Ss 00:10 0:00 /bin/sh /snap/nextcloud/21169/bin/delay-on-failure mdns-publisher nextcloud\nroot 17615 0.0 0.1 1872 1168 ? Ss 00:10 0:00 /bin/sh /snap/nextcloud/21169/bin/nextcloud-cron\nroot 17657 0.0 0.1 1872 1200 ? Ss 00:10 0:00 /bin/sh /snap/nextcloud/21169/bin/renew-certs\nroot 17681 0.0 0.1 1872 1272 ? Ss 00:10 0:00 /bin/sh /snap/nextcloud/21169/bin/start-php-fpm\nroot 17712 0.0 0.1 1872 1216 ? Ss 00:10 0:00 /bin/sh /snap/nextcloud/21169/bin/start-redis-server\nroot 17765 0.0 0.6 258120 6008 ? Sl 00:10 0:00 mdns-publisher nextcloud\nroot 17987 0.0 0.1 1872 1200 ? Ss 00:10 0:00 /bin/sh /snap/nextcloud/21169/bin/run-httpd -k start -DFOREGROUND\nroot 18069 0.1 0.1 1872 1168 ? Ss 00:10 0:01 /bin/sh /snap/nextcloud/21169/bin/start_mysql\nroot 18111 0.0 0.1 1872 1100 ? S 00:10 0:00 /bin/sh /snap/nextcloud/21169/bin/mysqld_safe --datadir=/var/snap/nextcloud/21169/mysql --pid-file=/tmp/pids/mys\nql.pid --lc-messages-dir=/snap/nextcloud/21169/share --socket=/tmp/sockets/mysql.sock\nroot 18128 0.9 22.0 1815000 210060 ? Sl 00:10 0:08 /snap/nextcloud/21169/bin/mysqld --basedir=/snap/nextcloud/21169 --datadir=/var/snap/nextcloud/21169/mysql --plu\ngin-dir=/snap/nextcloud/21169/lib/plugin --lc-messages-dir=/snap/nextcloud/21169/share --log-error=error.log --pid-file=/tmp/pids/mysql.pid --socket=/tmp/sockets/mysql.sock\nroot 18196 0.0 2.1 200580 21712 ? Ss 00:10 0:00 php-fpm: master process (/snap/nextcloud/21169/config/php/php-fpm.conf)\nroot 18980 0.0 0.1 1872 1276 ? S 00:10 0:00 /bin/sh /snap/nextcloud/21169/bin/httpd-wrapper -k start -DFOREGROUND\nroot 19017 0.0 0.0 6168 0280 ? S 00:10 0:00 httpd -d /snap/nextcloud/21169 -k start -DFOREGROUND\nroot 19018 0.0 0.1 1211772 1612 ? Sl 00:10 0:00 httpd -d /snap/nextcloud/21169 -k start -DFOREGROUND\nroot 19019 0.0 0.1 880108 1668 ? Sl 00:10 0:00 httpd -d /snap/nextcloud/21169 -k start -DFOREGROUND\nroot 19020 0.0 0.1 1080512 1656 ? Sl 00:10 0:00 httpd -d /snap/nextcloud/21169 -k start -DFOREGROUND\nroot 19221 0.0 0.0 1716012 0292 ? Sl 00:10 0:00 httpd -d /snap/nextcloud/21169 -k start -DFOREGROUND\n\u3053\u308c\u3067\u3082\u3046\u30c7\u30fc\u30e2\u30f3\u3082\u8d77\u52d5\u3057\u3066\u3044\u308b\u306e\u3067\u5bfe\u8c61\u30de\u30b7\u30f3\u306e\u30db\u30b9\u30c8\u540d\u3084ip\u30a2\u30c9\u30ec\u30b9\u3092\u30a6\u30a7\u30d6\u30d6\u30e9\u30a6\u30b6\u306b\u5165\u529b\u3057\u3066\u4efb\u610f\u306e\u7ba1\u7406\u8005\u30e6\u30fc\u30b6\u306e\u30e6\u30fc\u30b6\u540d\u3068\u30d1\u30b9\u30ef\u30fc\u30c9\u3092\u5165\u529b\u3057\u3066\u767b\u9332\u3057\u307e\u3059\uff0e\u540c\u3058\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u3060\u3068\u8ab0\u3067\u3082\u7e4b\u3044\u3067\u8a2d\u5b9a\u3067\u304d\u3066\u3057\u307e\u3046\u306e\u3067\u6ce8\u610f\u3057\u307e\u3057\u3087\u3046\uff0e
\n\u300c\u63a8\u5968\u30a2\u30d7\u30ea\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u300d\u306b\u30c1\u30a7\u30c3\u30af\u3092\u5165\u308c\u3066\u304a\u304f\u3068\u4fbf\u5229\u306a\u63a8\u5968\u30a2\u30d7\u30ea\u304c\u5c0e\u5165\u3055\u308c\u307e\u3059\uff0e\u6642\u9593\u304c\u304b\u304b\u308b\u306e\u3067\u5f8c\u3067\u3082\u3044\u3044\u304b\u3082\u3057\u308c\u307e\u305b\u3093\uff0e
\n\u3053\u308c\u3067\u3068\u308a\u3042\u3048\u305aNextcloud\u304c\u5229\u7528\u3067\u304d\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3057\u305f\uff0e\u5b9f\u306f\u3053\u3053\u307e\u3067\u306f snap\u30d1\u30c3\u30b1\u30fc\u30b8\u304c amd64\u4ee5\u5916\u306b\u3082 arm64. armhf, i386, ppc64el \u306b\u5bfe\u5fdc\u3057\u3066\u3044\u308b\u306e\u3067 armhf/arm64 \u306a Raspberry Pi \u306a\u3069\u3067\u3082\u52d5\u4f5c\u3057\u307e\u3059\uff0e
\n\u7d9a\u3044\u3066 OnlyOffice, community edition \u306e server\u7248\u3092\u5c0e\u5165\u3057\u307e\u3059\uff0e
\nNextcloud\u306e\u30a6\u30a7\u30d6\u304b\u3089\u3082\u5c0e\u5165\u3067\u304d\u308b\u306e\u3067\u3059\u304c\uff0c300MB\u7a0b\u3068\u30b5\u30a4\u30ba\u304c\u5927\u304d\u304f\u56de\u7dda\u306b\u3088\u3063\u3066\u306f\u30bf\u30a4\u30e0\u30a2\u30a6\u30c8\u3057\u3066\u3057\u307e\u3044\u307e\u3059\uff0e
\n\u305d\u306e\u5834\u5408\u306f occ \u30b3\u30de\u30f3\u30c9\u3067\u5c0e\u5165\u3057\u307e\u3059\uff0e(snap\u306a\u306e\u3067 nextcloud.occ \u30b3\u30de\u30f3\u30c9\u3092\u4f7f\u3044\u307e\u3059)
$ sudo /snap/bin/nextcloud.occ app:install documentserver_community\n\u3053\u308c\u3067\u3082\u5931\u6557\u3059\u308b\u3053\u3068\u304c\u3042\u308a\u307e\u3059\uff0e\u305d\u306e\u5834\u5408\u306f\u624b\u52d5\u3067GitHub \u304b\u3089\u30a2\u30fc\u30ab\u30a4\u30d6\u3092\u5165\u624b\u3057\u3066\u624b\u52d5\u3067\u5c55\u958b\u3057\u3066\u6709\u52b9\u5316\u3057\u307e\u3059\uff0e(\u3053\u306e\u65b9\u6cd5\u3060\u3068amd64\u4ee5\u5916\u3067\u3082\u5c0e\u5165\u306f\u3067\u304d\u3061\u3083\u3044\u307e\u3059\u304c\u52d5\u304b\u306a\u3044\u306e\u3067\u6ce8\u610f)
\n$ COUNT=1; while :;do wget https://github.com/nextcloud/documentserver_community/releases/download/v0.1.6/documentserver_community.tar.gz && break; c=$(( $c + 1 )) ;sleep 10; done;echo $COUNT\n$ sudo tar xvf ./documentserver_community.tar.gz -C /var/snap/nextcloud/current/nextcloud/extra-apps/\n$ sudo chown -R root.root /var/snap/nextcloud/current/nextcloud/extra-apps/documentserver_community\n$ sudo /snap/bin/nextcloud.occ app:enable documentserver_community\nCollabora\u306fAppImage\u3092\u4f7f\u3063\u3066\u3044\u305f\u306e\u3067\u30d5\u30a1\u30a4\u30eb\u6570\u306f\u5c11\u306a\u304b\u3063\u305f\u3067\u3059\u304c\u3053\u3061\u3089\u306f\u666e\u901a\u306b\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u306b\u5c55\u958b\u3055\u308c\u308b\u3088\u3046\u3067\u305f\u304f\u3055\u3093\u3042\u308a\u307e\u3059\uff0e
\n$ sudo find /var/snap/nextcloud/current/nextcloud/extra-apps/documentserver_community | wc -l\n12935\n\u7d9a\u3044\u3066OnlyOffice\u30a2\u30d7\u30ea\u3082\u5c0e\u5165\u3057\u307e\u3059\uff0e
\n\u3053\u308c\u306fOnlyOffice Server\u306b\u7e4b\u3044\u3067\u3084\u308a\u53d6\u308a\u3059\u308b\u3082\u306e\u3067\u3059\uff0eNextcloud \u306e\u30a2\u30d7\u30ea\u753b\u9762\u82e5\u3057\u304f\u306f\u4ee5\u4e0b\u306e\u30b3\u30de\u30f3\u30c9\u3067\u5c0e\u5165\u3057\u307e\u3059\uff0e
\n$ sudo /snap/bin/nextcloud.occ app:install onlyoffice\n\u3053\u308c\u3067Nextcloud\u306b\u623b\u3063\u3066\u5bfe\u5fdc\u30c9\u30ad\u30e5\u30e1\u30f3\u30c8\u3092\u958b\u3044\u305f\u308a\u65b0\u898f\u4f5c\u6210\u3059\u308b\u3068OnlyOffice\u304c\u8d77\u52d5\u3057\u3066\u7de8\u96c6\u3067\u304d\u308b\u306f\u305a\u3067\u3059 :)
\n
\n
\u30a2\u30d7\u30ea\u304c\u5c0e\u5165\u3055\u308c\u3066\u3044\u308b\u3051\u3069\u3046\u307e\u304f\u884c\u304b\u306a\u3044\u5834\u5408\u306fOnlyOffice\u30a2\u30d7\u30ea\u3092\u5c0e\u5165\u3057\u76f4\u3059\u3068\u3046\u307e\u304f\u884c\u304f\u304b\u3082\u3057\u308c\u307e\u305b\u3093\uff0e(OnlyOffice\u30a2\u30d7\u30ea\u304cServer\u3088\u308a\u5148\u306b\u5c0e\u5165\u3055\u308c\u308b\u3068\u3046\u307e\u304f\u884c\u304b\u306a\u3044)
\n$ sudo /snap/bin/nextcloud.occ app:remove onlyoffice\n$ sudo /snap/bin/nextcloud.occ app:install onlyoffice\n\u3068\u308a\u3042\u3048\u305a\u3053\u308c\u3067\u304a\u8a66\u3057\u306f\u51fa\u6765\u308b\u611f\u3058\u3067\u3059\uff0e\u5b9f\u969b\u306b\u904b\u7528\u3059\u308b\u306b\u306fhttps\u5316\u3057\u305f\u308a\u30d0\u30c3\u30af\u30a2\u30c3\u30d7\u3092\u5b9a\u671f\u7684\u306b\u53d6\u308b\u3088\u3046\u306b\u3057\u305f\u308a\u306a\u3069\u8a2d\u5b9a\u3057\u305f\u307b\u3046\u304c\u3044\u3044\u3067\u3059\u304c\u30d1\u30b9\u3084\u30b3\u30de\u30f3\u30c9\u4ee5\u5916\u306f\u901a\u5e38\u306eNextcloud\u3068\u540c\u3058\u3060\u3068\u601d\u3044\u307e\u3059\uff0e
\n\u4e3b\u306a\u30d1\u30b9\u3084\u30b3\u30de\u30f3\u30c9\u306f\u3053\u3046\u306a\u3063\u3066\u3044\u307e\u3059\uff0e
db\u306e\u30a2\u30ab\u30a6\u30f3\u30c8\u60c5\u5831\u306f\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\u306b\u8f09\u3063\u3066\u3044\u307e\u3059\uff0e
\n$ sudo grep db /var/snap/nextcloud/current/nextcloud/config/config.php\n 'dbtype' => 'mysql',\n 'dbname' => 'nextcloud',\n 'dbhost' => 'localhost:/tmp/sockets/mysql.sock',\n 'dbport' => '',\n 'dbtableprefix' => 'oc_',\n 'dbuser' => 'nextcloud',\n 'dbpassword' => 'wdwYevflNhziZDUxxG2OXJs6el4zThtkmX20Bijih7Zh_4XU58OkZs3TAt7TCJjt',\n\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\u3092\u7de8\u96c6\u3057\u3066\u30c7\u30fc\u30e2\u30f3\u3092\u518d\u8d77\u52d5\u3057\u305f\u3044\u5834\u5408\u306f\u3053\u3093\u306a\u611f\u3058\u3067\u518d\u8d77\u52d5\u3067\u304d\u307e\u3059\uff0e
\n$ sudo snap restart nextcloud\n\u3066\u3053\u3068\u3067snap\u7248Nextcloud\u306f\u304a\u8a66\u3057\u306b\u306f\u304a\u3059\u3059\u3081\u3067\u3059\uff0e
\nOnlyOffice\u306f\u4eca\u306e\u3068\u3053\u308damd64\u74b0\u5883\u3057\u304b\u63d0\u4f9b\u3055\u308c\u3066\u3044\u307e\u305b\u3093\u304cRaspberry Pi \u306a\u3069\u3067\u3082\u52d5\u304f\u3088\u3046\u306b\u3057\u305f\u3044\u3068\u8a00\u3063\u3066\u3044\u308b\u306e\u3067\u3053\u308c\u3082\u671f\u5f85\u3067\u3059\uff0e
Nextcloud 19 \u3060\u3068\u5148\u65e5\u7d39\u4ecb\u3057\u305fCollabora\u3082\u540c\u69d8\u306bWeb\u304b\u3089\u5c0e\u5165\u3067\u304d\u308b\u306e\u3067\u304a\u3059\u3059\u3081\u3067\u3059\uff0e
\nNextcloud 19\u304c\u30ea\u30ea\u30fc\u30b9\u3055\u308c\u307e\u3057\u305f\uff0e
\n\u4eca\u56de\u306e\u65b0\u6a5f\u80fd\u306bCollabora Online \u304cNextcloud Hub \u306b\u542b\u307e\u308c\u308b\u3088\u3046\u306b\u306a\u308a\uff0c\u7c21\u5358\u306b\u3059\u3079\u3066\u306e\u30e6\u30fc\u30b6\u304c\u5229\u7528\u3067\u304d\u308b\u3088\u3046\u306b\u306a\u3063\u305f\u305d\u3046\u3067\u3059\uff0e
\n\n\n\n\nEasy to install for every user
\n
\nCollabora Online will be shipped out of the box with the new Nextcloud 19 Hub. A special community server has been developed, that can easily be installed with a single click by every user, and so avoiding web server and docker containers installation and configuration.
\u5c11\u3057\u524d\u306b\u3082\u30c7\u30e2\u30b5\u30fc\u30d0\u30fc\u3092\u7528\u610f\u3057\u3066\u304f\u308c\u3066\u304a\u624b\u8efd\u306b\u8a66\u305b\u308b\u3088\u3046\u306b\u3057\u3066\u304f\u308c\u3066\u3044\u307e\u3057\u305f\u304c\u4eca\u56de\u306f\u81ea\u5206\u306e\u74b0\u5883\u3067\u3068\u3066\u3082\u7c21\u5358\u306b\u52d5\u304f\u3088\u3046\u306b\u306a\u3063\u305f\u3088\u3046\u3067\u3059\uff0e
\n\u3068\u3044\u3046\u3053\u3068\u3067Nextcloud 19 \u306b\u30a2\u30c3\u30d7\u30c7\u30fc\u30c8\u3057\u3066\u8a66\u3057\u3066\u307f\u307e\u3057\u305f\uff0e
\nNextcloud 19\u74b0\u5883\u7ba1\u7406\u8005\u6a29\u9650\u3067 https://$NEXTCLOUDURL/index.php/settings/admin/richdocuments \u306b\u30a2\u30af\u30bb\u30b9\u3057\u3066\u8a2d\u5b9a\u3092\u898b\u3066\u307f\u307e\u3059\uff0e
Use the built-in CODE \u3068\u3044\u3046\u8a2d\u5b9a\u304c\u5897\u3048\u3066\u3044\u307e\u3059\uff0e\u304c\u30b0\u30ec\u30fc\u30a2\u30a6\u30c8\u3057\u3066\u3044\u307e\u3059\uff0e
\n\n\n\nUse the built-in CODE – Collabora Online Development Edition
\n
\nEasy to install, for personal use or for small teams. A bit slower than a standalone server and without the advanced scalability features.
\u3066\u3053\u3068\u3067\uff0c\u4ee5\u4e0b\u306eNextcloud \u30a2\u30d7\u30ea\u3092\u5c0e\u5165\u3057\u307e\u3059\uff0e
\n\u5c0e\u5165\u306f\u672c\u5f53\u306b\u7c21\u5358\u3067\u300c\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3057\u3066\u6709\u52b9\u306b\u3059\u308b\u300d\u3092\u62bc\u3059\u3060\u3051\u3067\u3059\uff0e
\n\u30b3\u30de\u30f3\u30c9\u30e9\u30a4\u30f3\u3067\u306f\u3053\u3093\u306a\u611f\u3058\u3067\u5c0e\u5165\u3067\u304d\u307e\u3059\uff0e
\n$ sudo -u www-data php ./occ app:install richdocumentscode\nrichdocumentscode installed\nrichdocumentscode enabled\n\u5c0e\u5165\u3055\u308c\u308b\u3068 Built-in CODE \u304c\u9078\u3079\u308b\u3088\u3046\u306b\u306a\u3063\u3066\u3044\u308b\u306e\u3067\u9078\u629e\u3057\u307e\u3059\uff0e\u5f8c\u306f\u30d5\u30a1\u30a4\u30eb\u3067\u30aa\u30d5\u30a3\u30b9\u6587\u7ae0\u3092\u958b\u3044\u305f\u308a\u65b0\u898f\u4f5c\u6210\u3059\u308c\u3070\u81ea\u52d5\u7684\u306b\u8d77\u52d5\u3057\u3066\u5229\u7528\u3067\u304d\u307e\u3059\uff0e
\u521d\u56de\u306f\u3061\u3087\u3063\u3068\u6642\u9593\u304c\u304b\u304b\u308a\u307e\u3059\uff0e\u3053\u308c\u306fCODE\u304c\u88cf\u3067\u8d77\u52d5\u3059\u308b\u6642\u9593\u304c\u304b\u304b\u308b\u304b\u3089\u307f\u305f\u3044\u3067\u3059\uff0e
\n\u5f8c\u306f\u666e\u901a\u306b\u5229\u7528\u3067\u304d\u307e\u3059 :)
\nDemo\u30b5\u30fc\u30d0\u3068\u9055\u3063\u3066\u5236\u9650\u3082\u306a\u3044\u306e\u3067\u666e\u901a\u306b\u4f7f\u3048\u307e\u3059\uff0eNextcloud\u3067URL\u5171\u6709\u3092\u3059\u308b\u3068GoogleDoc \u306e\u3088\u3046\u306b\u307f\u3093\u306a\u3067\u540c\u6642\u306b\u30c9\u30ad\u30e5\u30e1\u30f3\u30c8\u3092\u7de8\u96c6\u3057\u305f\u308a\u3082\u51fa\u6765\u307e\u3059\uff0e(Nextcloud\u306e\u6307\u5b9a\u30e6\u30fc\u30b6\u3060\u3051\u7de8\u96c6\u53ef\u80fd\u3068\u304bURL\u3092\u77e5\u3063\u3066\u308b\u4eba\u306f\u8ab0\u3067\u3082\u7de8\u96c6\u3067\u304d\u308b\u3068\u304b\u3082\u51fa\u6765\u307e\u3059\uff0e)
\u5c11\u3057\u4f7f\u3063\u3066\u3044\u3066\u6c17\u306b\u306a\u3063\u305f\u306e\u306f\u4ee5\u4e0b\u306e\u30e1\u30c3\u30bb\u30fc\u30b8\u304c\u305f\u307e\u306b\u51fa\u307e\u3059\uff0e\u30c7\u30a3\u30b9\u30af\u7a7a\u304d\u5bb9\u91cf\u304c 4GB\u3067\u51fa\u308b\u3068\u304d\u3068\u51fa\u306a\u3044\u3068\u304d\u304c\u3042\u308a\u304e\u308a\u304e\u308a\u52d5\u3044\u3066\u3044\u308b\u306e\u304b\u306a\u3068\u601d\u3044\u307e\u3057\u305f\u304c\uff0c\u7a7a\u304d\u5bb9\u91cf\u30926GB\u306b\u7a7a\u3051\u3066\u3082\u51fa\u305f\u308a\u51fa\u306a\u304b\u3063\u305f\u308a\u3057\u307e\u3059\uff0e\u3082\u3057\u304b\u3057\u305f\u3089\u30d0\u30b0\u304b\u3082?
\n\u305d\u3057\u3066\u3053\u3061\u3089\u306e\u753b\u9762\u306f\u30bb\u30c3\u30b7\u30e7\u30f3\u304c\u6570\u500b(2\u500b\u306e\u3064\u3082\u308a)\u3067\u3082\u51fa\u307e\u3059\uff0e\u30bb\u30c3\u30b7\u30e7\u30f3\u306e\u30ab\u30a6\u30f3\u30c8\u304c\u304a\u304b\u3057\u3044\u306e\u304b\u4ed6\u306e\u30d0\u30b0\u306a\u306e\u304b?
\n\u4eca\u56de\u306eCollabora Online \u306f\u3069\u3093\u306a\u4ed5\u7d44\u307f\u306a\u306e\u304b\u306a\u3068\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u3092\u8997\u304f\u3068\uff0cCollabora Online \u304cAppImage \u5316\u3055\u308c\u3066\u3054\u308d\u3063\u3068\u7f6e\u304b\u308c\u3066\u3044\u308b\u3088\u3046\u3067\u3059\uff0e
\n$ ls -l apps/richdocumentscode/collabora/\ntotal 339320\n-rwxr--r-- 1 www-data www-data 347455528 Jun 5 01:27 Collabora_Online.AppImage\n\u3053\u308c\u304c\u6587\u7ae0\u3092\u9589\u3058\u3066\u3082\u305a\u3063\u3068\u8d77\u52d5\u3057\u3066\u3044\u308b\u3088\u3046\u3067\u3059\uff0eRAM\u304c\u5c11\u306a\u3044\u306e\u3067\u3061\u3087\u3063\u3068\u8f9b\u3044\uff0e
\n$ ps aux | pee \"head -1\" \"grep Collabora_OnlineAppImage\"\nUSER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND\nmk 29361 0.0 0.0 2272 752 pts/2 S+ 23:04 0:00 pee head -1 grep Collabora_OnlineAppImage\n\u3053\u306e\u30de\u30b7\u30f3\u306f\u30ea\u30e2\u30fc\u30c8\u306e\u30b5\u30fc\u30d0\u3067\u65e5\u672c\u8a9e\u30d5\u30a9\u30f3\u30c8\u304c\u307b\u3068\u3093\u3069\u5165\u3063\u3066\u3044\u306a\u3044\u306e\u3067Collabora Online \u3067\u3082\u30d5\u30a9\u30f3\u30c8\u304c\u3042\u307e\u308a\u9078\u3079\u307e\u305b\u3093\uff0e\u30b7\u30b9\u30c6\u30e0\u306b\u30d5\u30a9\u30f3\u30c8\u3092\u5c0e\u5165\u3057\u307e\u3059\uff0e\u4eca\u56de\u306fNoto CJK \u3092\u5c0e\u5165\u3057\u3066\u307f\u307e\u3057\u305f\uff0e
\n$ sudo apt install fonts-noto-cjk\n\u5c0e\u5165\u3057\u3066\u3082\u305d\u306e\u307e\u307e\u3067\u306fCollabora Online \u306b\u306f\u53cd\u6620\u3055\u308c\u307e\u305b\u3093\u3067\u3057\u305f\uff0e\u6587\u7ae0\u3092\u9589\u3058\u3066\uff0cAppImage \u306e\u30d7\u30ed\u30bb\u30b9\u3092kill \u3057\u3066\u518d\u5ea6\u6587\u7ae0\u3092\u958b\u304f\u3068\u307e\u305f AppImage \u304c\u8d77\u52d5\u3057\u3066\u53cd\u6620\u3055\u308c\u307e\u3057\u305f\uff0e
\u3068\u3044\u3046\u3053\u3068\u3067\u3068\u3066\u3082\u7c21\u5358\u306bWeb\u3060\u3051\u3067Nextcloud \u304b\u3089Collabora Online \u304c\u5c0e\u5165\u3067\u304d\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3057\u305f\uff0e
\n\u3068\u3066\u3082\u4fbf\u5229\u306a\u306e\u3067\u304a\u3059\u3059\u3081\u3067\u3059\uff0e
$ sudo -u www-data php ./occ app:list | grep richdocuments\n - richdocuments: 3.7.0\n - richdocumentscode: 4.2.403\n$ sudo -u www-data php ./occ status\n - installed: true\n - version: 19.0.0.12\n - versionstring: 19.0.0\n - edition:\n$ dpkg-query -W php apache2\napache2 2.4.38-3+deb10u3\nphp 2:7.3+69\n$ lsb_release -dr\nDescription: Debian GNU/Linux 10 (buster)\nRelease: 10\n$ uname -m\nx86_64\n
Nextcloud 19\u304c06/03\u306b\u30ea\u30ea\u30fc\u30b9\u3055\u308c\u307e\u3057\u305f\uff0e
\n\u672a\u306018\u304b\u3089\u306e\u30a2\u30c3\u30d7\u30c7\u30fc\u30c8\u306f\u6765\u3066\u3044\u307e\u305b\u3093\u304c\u4e00\u6642\u7684\u306b beta channel \u306b\u3057\u3066 19 \u306b\u30a2\u30c3\u30d7\u30b0\u30ec\u30fc\u30c9\u3057\u3066\u307f\u307e\u3057\u305f\uff0e
\n$ sudo -u www-data php ./updater/updater.phar\nNextcloud Updater - version: v16.0.3-3-ga0c2b25 dirty\n\nCurrent version is 18.0.5.\n\nNo update available.\n\nNothing to do.\n\u5148\u305a\u306f\u30d0\u30c3\u30af\u30a2\u30c3\u30d7\u3092\u3068\u3063\u3066\u304a\u304d\u307e\u3059\uff0eNextcloud\u306e\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u4ee5\u4e0b\u3068\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u3092\u30d0\u30c3\u30af\u30a2\u30c3\u30d7\u3057\u3066\u304a\u3051\u3070\u6700\u60aa\u30c7\u30fc\u30bf\u304c\u58ca\u308c\u305f\u308a\u6d88\u3048\u3066\u3057\u307e\u3063\u3066\u5fa9\u5143\u3067\u304d\u307e\u3059\uff0e\u30c7\u30fc\u30bf\u304c\u591a\u3044\u3068\u6642\u9593\u304c\u304b\u304b\u308b\u306e\u3067\u65e5\u9803\u53d6\u5f97\u3057\u3066\u5dee\u5206\u30d0\u30c3\u30af\u30a2\u30c3\u30d7\u3059\u308b\u3088\u3046\u306b\u3057\u3066\u304a\u304f\u3068\u3044\u3044\u3067\u3059\uff0e
\n\u6b21\u306bscript \u30b3\u30de\u30f3\u30c9\u7b49\u3067\u30ed\u30b0\u3092\u53d6\u3063\u3066\u304a\u304d\u307e\u3059\uff0e\u30ea\u30e2\u30fc\u30c8\u3067ssh\u7d4c\u7531\u306e\u5834\u5408\u306a\u3069\u306fGNU screen \u3084tmux \u306a\u3069\u3067\u5207\u65ad\u3055\u308c\u3066\u3082\u5fa9\u5e30\u51fa\u6765\u308b\u3088\u3046\u306b\u3057\u3066\u304a\u304d\u307e\u3059\uff0e
\n\u6e96\u5099\u304c\u51fa\u6765\u305f\u3089\u5148\u305a\u306f Nextcloud \u309218 \u306e\u6700\u65b0\u306b\u3057\u3066\u304a\u304d\u307e\u3059\uff0e
\n$ cd $(NEXTCLOUDPATH}\n$ sudo -u www-data php ./occ app:update --all\n$ sudo -u www-data php ./updater/updater.phar\n$ sudo -u www-data php ./occ app:update --all\nNextcloud \u306e update channel \u3092 stable \u304b\u3089 beta \u306b\u3057\u307e\u3059\uff0e
\n$ sudo -u www-data php ./occ config:system:set updater.release.channel --value 'beta'\nSystem config value updater.release.channel set to string beta\nchannel \u306f\u3059\u3050\u306b\u306f\u53cd\u6620\u3055\u308c\u307e\u305b\u3093\uff0e\u4eca\u56de\u306f20\u5206\u307b\u3069\u3067\u53cd\u6620\u3055\u308c\u307e\u3057\u305f\u6570\u6642\u9593\u639b\u304b\u308b\u3053\u3068\u3082\u3042\u308b\u3088\u3046\uff0e
\n19 \u304c\u964d\u308a\u3066\u304d\u305f\u3089\u5f8c\u306f\u666e\u901a\u306b\u30a2\u30c3\u30d7\u30b0\u30ec\u30fc\u30c9\u3057\u307e\u3059\uff0e
$ sudo -u www-data php ./updater/updater.phar\nNextcloud Updater - version: v16.0.3-3-ga0c2b25 dirty\n\nCurrent version is 18.0.5.\n\nUpdate to Nextcloud 19.0.0 available. (channel: \"beta\")\nFollowing file will be downloaded automatically: https://download.nextcloud.com/server/releases/nextcloud-19.0.0.zip\nOpen changelog ↗\n\nSteps that will be executed:\n[ ] Check for expected files\n[ ] Check for write permissions\n[ ] Create backup\n[ ] Downloading\n[ ] Verify integrity\n[ ] Extracting\n[ ] Enable maintenance mode\n[ ] Replace entry points\n[ ] Delete old files\n[ ] Move new files in place\n[ ] Done\n\nStart update? [y/N] y\nInfo: Pressing Ctrl-C will finish the currently running step and then stops the updater.\n\n[✔] Check for expected files\n[✔] Check for write permissions\n[✔] Create backup\n[✔] Downloading\n[✔] Verify integrity\n[✔] Extracting\n[✔] Enable maintenance mode\n[✔] Replace entry points\n[✔] Delete old files\n[✔] Move new files in place\n[✔] Done\n\nUpdate of code successful.\n\nShould the \"occ upgrade\" command be executed? [Y/n]\n :\n :\nKeep maintenance mode active? [y/N]\nMaintenance mode disabled\n\nMaintenance mode is disabled\nNextcloud 19 \u306b\u306a\u308a\u307e\u3057\u305f :)
\n$ sudo -u www-data php /var/www/files.matoken.org/updater/updater.phar\nNextcloud Updater - version: v16.0.3-3-ga0c2b25 dirty\n\nCurrent version is 19.0.0.\n\nNo update available.\n\nNothing to do.\nchannel \u3092 stable \u306b\u623b\u3057\u3066\u304a\u304d\u307e\u3059\uff0e\u4e00\u65e619\u306b\u4e0a\u3052\u3066\u3044\u308c\u307018\u306b\u623b\u308a\u307e\u305b\u3093\uff0e
\n$ sudo -u www-data php /var/www/files.matoken.org/occ config:system:set updater.release.channel --value 'stable'\nSystem config value updater.release.channel set to string stable\n$ sudo -u www-data php /var/www/files.matoken.org/updater/updater.phar\nNextcloud Updater - version: v16.0.3-3-ga0c2b25 dirty\n\nCurrent version is 19.0.0.\n\nNo update available.\n\nNothing to do.\nhttps://$NEXTCLOUDURL/index.php/settings/admin/overview \u306e\u300c\u30bb\u30ad\u30e5\u30ea\u30c6\u30a3\uff06\u30bb\u30c3\u30c8\u30a2\u30c3\u30d7\u8b66\u544a\u300d\u3092\u78ba\u8a8d\u3059\u308b\u3068\u3044\u304f\u3064\u304b\u30e1\u30c3\u30bb\u30fc\u30b8\u304c\u51fa\u3066\u3044\u308b\u306e\u3067\u4fee\u6b63\u3057\u307e\u3059\uff0e
\n\n\n\n\u30bb\u30ad\u30e5\u30ea\u30c6\u30a3\uff06\u30bb\u30c3\u30c8\u30a2\u30c3\u30d7\u8b66\u544a
\n
\n\u30b5\u30fc\u30d0\u30fc\u306e\u30bb\u30ad\u30e5\u30ea\u30c6\u30a3\u3068\u30d1\u30d5\u30a9\u30fc\u30de\u30f3\u30b9\u306b\u3068\u3063\u3066\u91cd\u8981\u306a\u3053\u3068\u306f\u3001\u3059\u3079\u3066\u304c\u6b63\u78ba\u306b\u8a2d\u5b9a\u3055\u308c\u3066\u3044\u308b\u3053\u3068\u3067\u3059\u3002\u3042\u306a\u305f\u306e\u52a9\u3051\u3068\u306a\u308b\u3088\u3046\u3001Nextcloud\u3067\u306f\u4e00\u90e8\u306e\u81ea\u52d5\u30c1\u30a7\u30c3\u30af\u3092\u884c\u3063\u3066\u3044\u307e\u3059\u3002\u8a73\u7d30\u306a\u60c5\u5831\u306f\u3001\u30ea\u30f3\u30af\u5148\u306e\u30c9\u30ad\u30e5\u30e1\u30f3\u30c8\u3092\u53c2\u7167\u3057\u3066\u304f\u3060\u3055\u3044\u3002\n\n\u30bb\u30c3\u30c8\u30a2\u30c3\u30d7\u306b\u95a2\u3057\u3066\u8b66\u544a\u304c\u3044\u304f\u3064\u304b\u3042\u308a\u307e\u3059\u3002
\n
\n\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u306b\u3044\u304f\u3064\u304b\u306e\u30a4\u30f3\u30c7\u30c3\u30af\u30b9\u304c\u3042\u308a\u307e\u305b\u3093\u3002 \u5927\u304d\u306a\u30c6\u30fc\u30d6\u30eb\u306b\u30a4\u30f3\u30c7\u30c3\u30af\u30b9\u3092\u8ffd\u52a0\u3059\u308b\u3068\u3001\u81ea\u52d5\u7684\u306b\u8ffd\u52a0\u3055\u308c\u306a\u3044\u307e\u3067\u306b\u6642\u9593\u304c\u304b\u304b\u308b\u53ef\u80fd\u6027\u304c\u3042\u308b\u305f\u3081\u3067\u3059\u3002 “occ db\uff1aadd-missing-indices”\u3092\u5b9f\u884c\u3059\u308b\u3053\u3068\u306b\u3088\u3063\u3066\u3001\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u304c\u5b9f\u884c\u3057\u7d9a\u3051\u3066\u3044\u308b\u9593\u306b\u305d\u308c\u3089\u306e\u6b20\u3051\u3066\u3044\u308b\u30a4\u30f3\u30c7\u30c3\u30af\u30b9\u3092\u624b\u52d5\u3067\u8ffd\u52a0\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002 \u30a4\u30f3\u30c7\u30c3\u30af\u30b9\u304c\u8ffd\u52a0\u3055\u308c\u308b\u3068\u3001\u305d\u308c\u3089\u306e\u30c6\u30fc\u30d6\u30eb\u3078\u306e\u30af\u30a8\u30ea\u306f\u901a\u5e38\u306f\u308b\u304b\u306b\u901f\u304f\u306a\u308a\u307e\u3059\u3002
\n\u30c6\u30fc\u30d6\u30eb “oc_properties”\u306e\u30a4\u30f3\u30c7\u30c3\u30af\u30b9 “properties_path_index”\u304c\u898b\u3064\u304b\u308a\u307e\u305b\u3093\u3002
\n\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u306b\u306f\u30aa\u30d7\u30b7\u30e7\u30f3\u306e\u30ab\u30e9\u30e0\u304c\u3044\u304f\u3064\u304b\u3042\u308a\u307e\u305b\u3093\u3002\u5927\u304d\u306a\u30c6\u30fc\u30d6\u30eb\u306b\u30ab\u30e9\u30e0\u3092\u8ffd\u52a0\u3059\u308b\u306b\u306f\u6642\u9593\u304c\u304b\u304b\u308b\u305f\u3081\u3001\u30aa\u30d7\u30b7\u30e7\u30f3\u306e\u30ab\u30e9\u30e0\u306f\u81ea\u52d5\u7684\u306b\u8ffd\u52a0\u3055\u308c\u307e\u305b\u3093\u3067\u3057\u305f\u3002”occ db:add-missing-columns”\u3092\u5b9f\u884c\u3059\u308b\u3053\u3068\u3067\u3001\u4e0d\u8db3\u3057\u3066\u3044\u308b\u30ab\u30e9\u30e0\u306f\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u306e\u5b9f\u884c\u4e2d\u306b\u624b\u52d5\u3067\u8ffd\u52a0\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002\u30ab\u30e9\u30e0\u304c\u8ffd\u52a0\u3055\u308c\u308b\u3068\u3001\u5fdc\u7b54\u6027\u3084\u4f7f\u3044\u52dd\u624b\u304c\u6539\u5584\u3055\u308c\u308b\u53ef\u80fd\u6027\u304c\u3042\u308a\u307e\u3059\u3002
\n\u30c6\u30fc\u30d6\u30eb “oc_comments” \u306b\u30aa\u30d7\u30b7\u30e7\u30f3\u306e\u30ab\u30e9\u30e0 “reference_id” \u304c\u5b58\u5728\u3057\u307e\u305b\u3093\u3002
\n\u3053\u306e\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u306b\u306f\u63a8\u5968\u3055\u308c\u308bPHP\u30e2\u30b8\u30e5\u30fc\u30eb\u304c\u3044\u304f\u3064\u304b\u3042\u308a\u307e\u305b\u3093\u3002 \u30d1\u30d5\u30a9\u30fc\u30de\u30f3\u30b9\u306e\u5411\u4e0a\u3068\u4e92\u63db\u6027\u306e\u5411\u4e0a\u306e\u305f\u3081\u306b\u3001\u305d\u308c\u3089\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u3053\u3068\u3092\u5f37\u304f\u304a\u52e7\u3081\u3057\u307e\u3059\u3002
\nbcmath
\ngmp
\n\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u30ac\u30a4\u30c9\u3092\u518d\u78ba\u8a8d\u3057\u3066\u3001 \u30ed\u30b0 \u306b\u3042\u308b\u3059\u3079\u3066\u306e\u30a8\u30e9\u30fc\u3084\u8b66\u544a\u3092\u78ba\u8a8d\u3057\u3066\u304f\u3060\u3055\u3044\u3002
\n\nNextcloud\u306e\u30bb\u30ad\u30e5\u30ea\u30c6\u30a3\u306f\u3001\u30bb\u30ad\u30e5\u30ea\u30c6\u30a3\u30b9\u30ad\u30e3\u30f3
\n\u3067\u30c1\u30a7\u30c3\u30af\u3057\u3066\u304f\u3060\u3055\u3044\u3002
\u3068\u8a00\u3063\u3066\u3082\u57fa\u672c\u7684\u306b\u30e1\u30c3\u30bb\u30fc\u30b8\u306b\u5f93\u3046\u3060\u3051\u3067\u3059\uff0e
\n$ sudo -u www-data php ./occ db:add-missing-indices\nCheck indices of the share table.\nCheck indices of the filecache table.\nCheck indices of the twofactor_providers table.\nCheck indices of the login_flow_v2 table.\nCheck indices of the whats_new table.\nCheck indices of the cards table.\nCheck indices of the cards_properties table.\nCheck indices of the calendarobjects_props table.\nCheck indices of the schedulingobjects table.\nCheck indices of the oc_properties table.\nAdding properties_path_index index to the oc_properties table, this can take some time...\noc_properties table updated successfully.\n$ sudo -u www-data php ./occ db:add-missing-columns\nCheck columns of the comments table.\nAdding additional reference_id column to the comments table, this can take some time...\nComments table updated successfully.\n\u3053\u308c\u306f\u74b0\u5883\u306b\u3088\u3063\u3066\u5c11\u3057\u4ee3\u308f\u308a\u307e\u3059\uff0e\u5bfe\u5fdc\u30d1\u30c3\u30b1\u30fc\u30b8\u3092\u5c0e\u5165\u3057\u3066httpd\u3092\u518d\u8d77\u52d5\u3057\u3066\u53cd\u6620\u3057\u307e\u3059\uff0e\u4ee5\u4e0b\u306fDebian Buster amd64 \u3067\u306e\u30d1\u30c3\u30b1\u30fc\u30b8\u540d\uff0e\u305d\u3057\u3066Apache httpd \u3067\u30db\u30b9\u30c8\u3057\u3066\u3044\u308b\u5834\u5408\u306e\u4f8b\u3067\u3059\uff0e
\n$ sudo apt install php7.3-bcmath php7.3-gmp\n$ sudo service apache2 reload\n\u3053\u308c\u3067\u300c\u30bb\u30ad\u30e5\u30ea\u30c6\u30a3\uff06\u30bb\u30c3\u30c8\u30a2\u30c3\u30d7\u8b66\u544a\u300d\u30da\u30fc\u30b8\u3092\u518d\u8aad\u8fbc\u3059\u308b\u3068\uff0c\u300c\u3059\u3079\u3066\u306e\u30c1\u30a7\u30c3\u30af\u306b\u5408\u683c\u3057\u307e\u3057\u305f\u3002\u300d\u3068\u306a\u308a\u307e\u3057\u305f :)
\n\u3053\u308c\u306f\u5fc5\u9808\u3067\u306f\u306a\u3044\u306e\u3067\u3059\u304c\uff0c\u3053\u306e\u74b0\u5883\u306f\u30c7\u30a3\u30b9\u30af\u306e\u7a7a\u304d\u9818\u57df\u304c\u5c11\u306a\u3044\u306e\u3067\u30ea\u30e2\u30fc\u30c8\u306b\u30d0\u30c3\u30af\u30a2\u30c3\u30d7\u3057\u305f\u4e0a\u3067\u6700\u65b0\u4ee5\u5916\u306e\u30d0\u30c3\u30af\u30a2\u30c3\u30d7\u306f\u524a\u9664\u3057\u3066\u3044\u307e\u3059\uff0e\u4ee5\u4e0b\u306e updater-ocws62au2wl3 \u90e8\u5206\u306f\u74b0\u5883\u306b\u3088\u3063\u3066\u5909\u308f\u308b\u3068\u601d\u3044\u307e\u3059\uff0e
$ rm -rf ./data/updater-ocws62au2wl3/backups/nextcloud-18.0.4.2\n$ dpkg-query -W php7.3 php7.3-bcmath php7.3-gmp apache2\napache2 2.4.38-3+deb10u3\nphp7.3 7.3.14-1~deb10u1\nphp7.3-bcmath 7.3.14-1~deb10u1\nphp7.3-gmp 7.3.14-1~deb10u1\n$ lsb_release -dr\nDescription: Debian GNU/Linux 10 (buster)\nRelease: 10\n$ uname -m\nx86_64\n
\u3053\u3061\u3089\u306e\u8a18\u4e8b\u3067\u77e5\u3063\u305f\u306e\u3067\u3059\u304c\uff0cNextcloud \u3067Collabora Online \u306eDemo Server \u304c\u7c21\u5358\u306b\u4f7f\u3048\u308b\u3088\u3046\u306b\u306a\u3063\u305f\u3088\u3046\u3067\u3059\uff0e\u8a66\u3057\u3066\u307f\u307e\u3057\u305f\uff0e
\n\u3053\u306e\u6a5f\u80fd\u306f Collabora Online 3.6.0 \u3067\u5165\u3063\u305f\u3088\u3046\u3067\u3059\uff0e
\n\n\n\nAdd demo server selector and show hint about that when Collabora is not setup
\n
\u306a\u306e\u3067\uff0cCollabora Online 3.6.0 \u306e\u52d5\u4f5c\u3059\u308bNextcloud 15\u301c19 \u74b0\u5883\u304c\u5fc5\u8981\u3067\u3059\uff0e\u4eca\u56de\u306f Nextcloud 18.0.4 \u74b0\u5883\u3067\u8a66\u3057\u307e\u3057\u305f\uff0e
Nextcloud \u306bCollabora Online App \u3092\u5c0e\u5165\u3057\u307e\u3059\uff0e
\n\u5c0e\u5165\u306f\u7c21\u5358\u3067\uff0c\u7ba1\u7406\u8005\u6a29\u9650\u306e\u3042\u308b\u30e6\u30fc\u30b6\u3067Web\u7d4c\u7531\u3067\u5c0e\u5165\u3057\u305f\u308a\uff0cCLI\u3067\u5c0e\u5165\u3067\u304d\u307e\u3059\uff0e
\n$ sudo -u www-data php $NEXTCLOUD/occ app:install richdocuments\nrichdocuments installed\nrichdocuments enabled\n\u6b21\u306bDemo Server \u3092\u8a2d\u5b9a\u3057\u307e\u3059\uff0e
\n\u7ba1\u7406\u8005\u30e6\u30fc\u30b6\u3067\u30ed\u30b0\u30a4\u30f3\u3057\u305f\u72b6\u614b\u306eNextcloud \u3067\u300c\u8a2d\u5b9a\u300d\u2192\u300cCollabora Online\u300d\u3067\u8a2d\u5b9a\u3057\u307e\u3059\uff0e
\u78ba\u8a8d\u30e1\u30c3\u30bb\u30fc\u30b8\u304c\u8868\u793a\u3055\u308c\u307e\u3059\uff0e
\n\u300cUse a demo server\u300d\u306b\u30c1\u30a7\u30c3\u30af\u3059\u308b\u3068Demo Server\u304c\u9078\u629e\u3067\u304d\u307e\u3059\uff0e\u3044\u304f\u3064\u304b\u9078\u629e\u80a2\u304c\u3042\u308b\u306e\u3067\u4eca\u56de\u306f\u300cTokyo, Japan\u300d\u3092\u9078\u3073\u307e\u3057\u305f\uff0e
\n\u5c11\u3057\u8a2d\u5b9a\u304c\u51fa\u6765\u307e\u3059\uff0e
\n\u3053\u306e\u72b6\u614b\u3067\u30d5\u30a1\u30a4\u30eb\u753b\u9762\u306b\u9077\u79fb\u3057\u3066\uff0c\u300c\u65b0\u3057\u3044\u30c9\u30ad\u30e5\u30e1\u30f3\u30c8\u300d\u3092\u4f5c\u6210\u3057\u3066\u307f\u307e\u3059\uff0e
\nLibreOffice Online\u304c\u8d77\u52d5\u3057\u3066Demo Server \u306e\u30e1\u30c3\u30bb\u30fc\u30b8\u304c\u8868\u793a\u3055\u308c\u307e\u3059\uff0e
\n\u5f8c\u306f\u666e\u901a\u306b\u7de8\u96c6\u3067\u304d\u307e\u3059 :)
\nDemo Server\u306a\u306e\u3067\u3053\u307e\u3081\u306bDemo\u306e\u30e1\u30c3\u30bb\u30fc\u30b8\u304c\u8868\u793a\u3055\u308c\u307e\u3059\u304c\u3053\u308c\u306fDemo\u306a\u306e\u3067\u3057\u3087\u3046\u304c\u306a\u3044\u3067\u3059\u306d\uff0e\u30c6\u30ad\u30b9\u30c8\u7de8\u96c6\u306f\u7279\u306b\u3082\u305f\u3064\u304f\u611f\u3058\u306f\u306a\u304f\u30cd\u30a4\u30c6\u30a3\u30d6\u3068\u305d\u3046\u5909\u308f\u3089\u306a\u3044\u611f\u3058\uff0e\u30b9\u30e9\u30a4\u30c9\u3067\u753b\u50cf\u3084\u30b7\u30a7\u30a4\u30d7\u56f3\u5f62\u306a\u3069\u4f7f\u3046\u3068\u307e\u305f\u9055\u3046\u304b\u3082\u3057\u308c\u307e\u305b\u3093\uff0e
LibreOffice Online \u3092\u81ea\u5206\u306e\u30b5\u30fc\u30d0\u306b\u5c0e\u5165\u3059\u308b\u306e\u3082\u4ee5\u4e0b\u306e\u3042\u305f\u308a\u3067\u30d0\u30a4\u30ca\u30ea\u304c\u914d\u5e03\u3055\u308c\u3066\u3044\u308b\u306e\u3067\u6848\u5916\u304a\u624b\u8efd\u306a\u306e\u3067\u3053\u306eDemo Server \u3067\u6c17\u306b\u5165\u3063\u305f\u3089LibreOffice Online \u3092\u5c0e\u5165\u3059\u308b\u3068\u3044\u3044\u3068\u601d\u3044\u307e\u3059\uff0e
\n$ sudo -u www-data php /var/www/files.matoken.org/occ app:list | grep richdocuments\n - richdocuments: 3.6.0\n$ sudo -u www-data php /var/www/files.matoken.org/occ --version\nNextcloud 18.0.4\n$ dpkg-query -W php apache2 mariadb-server\napache2 2.4.38-3+deb10u3\nmariadb-server 1:10.3.22-0+deb10u1\nphp 2:7.3+69\n$ lsb_release -dr\nDescription: Debian GNU/Linux 10 (buster)\nRelease: 10\n$ uname -m\nx86_64\n