Nextcloud Upgrade
をテンプレートにして作成
[
トップ
] [
新規
|
一覧
|
検索
|
最終更新
|
ヘルプ
|
ログイン
]
開始行:
[[Nextcloud Upgrade error]]
CONTENTS
#contents
----
Lastmodified &lastmod;
----
[[Web上からバージョンアップをしてみると、新バージョンのダ...
CLIで実施して成功。
# cd /usr/local/www/nextcloud/updater
# sudo -u www php updater.phar
----
*ブルートフォース対策機能 [#f5d5a463]
Nextclooud管理画面へのログインを数回間違うと・・・こうな...
あなたのIPアドレスは、 "xxx.xxx.xxx.xxx" として認識され...
https://manualmaton.com/2023/12/14/nextcloud%E3%80%81%E3%...
https://nextcloud.stylez.co.jp/blog/techblog/too_many_req...
# cd /usr/local/www/nextcloud
# sudo -u www php occ security:bruteforce:reset {xxx.xxx...
*php80 to php81 [#pf109a99]
history
1003 8:01 pkg info \*php80\* > ~/installed-php-port...
1004 8:02 pkg delete \*php80\*
1005 8:02 portinstall lang/php81 ...
1005 8:02 portinstall lang/php81-extensions ...
1006 8:20 portinstall www/mod_php81 ...
1007 8:26 portinstall databases/phpmyadmin devel/pe...
すべてのチェックに合格しました。
----
*Redis [#h443bb13]
&ref(Nextcloud_Sus.PNG);
セットアップに関して警告がいくつかあります。
データベースは取引ファイルを見ることに使われています。パ...
https://docs.nextcloud.com/server/27/admin_manual/configu...
**# portinstall databases/redis [#o021c2e8]
Installing redis-7.0.11...
===> Creating groups.
Creating group 'redis' with gid '535'.
===> Creating users
Creating user 'redis' with uid '535'.
To setup "redis" you need to edit the configuratio...
/usr/local/etc/redis.conf
To run redis from startup, add redis_enable="YES"
in your /etc/rc.conf.
===> SECURITY REPORT:
This port has installed the following files which ...
servers and may therefore pose a remote security r...
/usr/local/bin/redis-sentinel
/usr/local/bin/redis-cli
/usr/local/bin/redis-server
/usr/local/bin/redis-check-rdb
/usr/local/bin/redis-check-aof
/usr/local/bin/redis-benchmark
If there are vulnerabilities in these programs the...
risk to the system. FreeBSD makes no guarantee abo...
ports included in the Ports Collection. Please typ...
to deinstall the port if this is a concern.
For more information, and contact details about th...
status of this software, see the following webpage:
https://redis.io/
===> Cleaning for redis-7.0.11
/etc/rc.conf
redis_enable="YES"
** # portinstall databases/pecl-redis [#v4311127]
--------------------------------------------------------...
Libraries have been installed in:
/usr/ports/databases/pecl-redis/work-php81/redis-5.3....
If you ever happen to want to link against installed lib...
in a given directory, LIBDIR, you must either use libtoo...
specify the full pathname of the library, or use the `-L...
flag during linking and do at least one of the following:
- add LIBDIR to the `LD_LIBRARY_PATH' environment var...
during execution
- add LIBDIR to the `LD_RUN_PATH' environment variable
during linking
- use the `-Wl,--rpath -Wl,LIBDIR' linker flag
See any operating system documentation about shared libr...
more information, such as the ld(1) and ld.so(8) manual ...
--------------------------------------------------------...
--- all ---
Build complete.
Don't forget to run 'make test'.
===> Staging for php81-pecl-redis-5.3.7
===> php81-pecl-redis-5.3.7 depends on file: /usr/loca...
===> php81-pecl-redis-5.3.7 depends on file: /usr/loca...
===> Generating temporary packing list
====> Compressing man pages (compress-man)
---> Installing the new version via the port
===> Deinstalling for php81-pecl-redis
===> php81-pecl-redis not installed, skipping
===> Installing for php81-pecl-redis-5.3.7
===> Checking if php81-pecl-redis is already installed
===> Registering installation for php81-pecl-redis-5.3.7
Installing php81-pecl-redis-5.3.7...
This file has been added to automatically load the insta...
/usr/local/etc/php/ext-30-redis.ini
===> Cleaning for php81-pecl-redis-5.3.7
** /usr/local/www/nextcloud/config/config.php [#h2fda78a]
'filelocking.enabled' => true,
'memcache.locking' => '\OC\Memcache\Redis',
'redis' => array(
'host' => 'localhost',
'port' => 6379,
'timeout' => 0.0,
'password' => '', // Optional, if not defined no pa...
),
apachectl restart
&ref(Nextcloud_OK.PNG);
*Nextcloud Hub 5 (27.0.0) [#vd9aaaa2]
【概要】
** あなたは現在、PHP 8.0.29 を使用しています。 [#z80c0a8d]
ディストリビューションでサポートされたら、すぐにPHPのバー...
http://www.lifewithunix.jp/notes/2023/06/18/freebsd12_4-u...
/usr/ports/UPDATING
20221126:
AFFECTS: users of lang/php80
AUTHOR: bofh@FreeBSD.org
The default version of PHP has been switched from 8.0 to...
If you use binary packages you should make a list of php...
before running 'pkg upgrade':
# pkg info \*php80\* > ~/installed-php-ports-list
After the upgrade, check with such list if all your php ...
are still installed, and reinstall them if needed.
I f you use mod_php80 you need to deinstall it and insta...
# pkg delete \*php80\*
して、
# portinstall lang/php81-extensions
# portinstall www/mod_php81
したら、Nextcloud が Internal Server Error で開かなくな...
あれこれログとか見てみたら 、config.php の設定「'memcache...
本来なら、[[Memcache \OC\Memcache\APCu]]
# php -i | grep -i apcu
/usr/local/etc/php/ext-20-apcu.ini,
apcu
APCu Support => Enabled
APCu Debugging => Disabled
となるはずが、
# php -i | grep -i apcu
PHP Warning: PHP Startup: Unable to load dynamic librar...
/usr/local/etc/php/ext-20-apcu.ini,
こんな・・・具合。
とりあえず、正常にインストール・動作しているサーバから、a...
アクセス出来た!
*** 追加インストールすべきports [#b5679d0b]
portinstall databases/phpmyadmin devel/pecl-APCu graphic...
コレをしておけば上記エラーは解消できる模様( ̄。 ̄;)
** バックグラウンドジョブの設定を確認してください↗。 [#g6...
最後のバックグラウンドジョブの実行は1 時間前を実行しまし...
*** www権限でcronを設定 [#x223ff6e]
# crontab -u www -e
*/5 * * * * /usr/local/bin/p...
書き込んだファイルは、/var/cron/tabs に、www として保存...
https://nofu.jp/wiki/freebsd/freebsd_12_install_nextcloud...
**データベースは取引ファイルを見ることに使われています。 ...
パフォーマンスをあげるには、可能であればメモリーのキャッ...
** データベースにいくつかのインデックスがありません。 [#c...
大きなテーブルにインデックスを追加すると、自動的に追加さ...
テーブル "oc_mounts"のインデックス "mounts_user_root_pat...
# su -m www -c "php /usr/local/www/nextcloud/occ db:add-...
----
*Nextcloud 26.0.2 to Nextcloud 27.0.0 [#p6437ec2]
Downloading でエラー
# sudo -u www php occ maintenance:repair
後、リトライ
----
*Nextcloud 25.0.7 to Nextcloud 26.0.2 [#l0938925]
WebUpdate 中の
Extracting
Parsing response failed.
Show detailed response
でエラー
#cd /usr/local/www/nextcloud
# sudo -u www php occ maintenance:repair
でもう一度WebUpdate
すべてのチェックに合格しました。
----
*Nextcloud 24.0.12 to Nextcloud 25.0.7 [#p422756a]
WebUpdate && Page reload
データベースにいくつかのインデックスがありません。
# su -m www -c "php /usr/local/www/nextcloud/occ db:add-...
OK
----
*Nextcloud 24.0.0 to Nextcloud 24.0.12 [#k734bc6a]
Site backup
# cd /usr/local/www
# tar cvfzp nextcloud_20230620.tar.gz nextcloud
WebUpdate
**Page reload de 概要をみる [#t34dcf35]
データベースにいくつかのインデックスがありません。 大き...
テーブル "oc_filecache"のインデックス "fs_parent"が見つ...
テーブル "oc_mounts"のインデックス "mounts_class_index"...
# su -m www -c "php /usr/local/www/nextcloud/occ db:add-...
Check indices of the share table.
Check indices of the filecache table.
Adding additional parent index to the filecache table, t...
Filecache table updated successfully.
Check indices of the twofactor_providers table.
Check indices of the login_flow_v2 table.
Check indices of the whats_new table.
Check indices of the cards table.
Check indices of the cards_properties table.
Check indices of the calendarobjects_props table.
Check indices of the schedulingobjects table.
Check indices of the oc_properties table.
Check indices of the oc_jobs table.
Check indices of the oc_direct_edit table.
Check indices of the oc_mounts table.
Adding mounts_class_index index to the oc_mounts table, ...
oc_mounts table updated successfully.
**Web Page reload [#pe841324]
PHP OPcacheモジュールが正しく設定されていません。詳細は ...
OPcacheのインターン化文字列バッファーがまもなく一杯にな...
/usr/local/etc/php.ini
:
[opcache]
opcache.enable=1
opcache.enable_cli=1
opcache.interned_strings_buffer=8 ←ここを 16 へ
:
# apachectl restart
データベース内の一部のカラムで、大きなint型への変換が欠...
# su -m www -c "php /usr/local/www/nextcloud/occ dbconve...
Command "dbconvert-filecache-bigint" is not defined.
Do you want to run "db:convert-filecache-bigint" instead...
> yes
Following columns will be updated:
* files_trash.auto_id
* file_metadata.id
This can take up to hours, depending on the number of fi...
Continue with the conversion (y/n)? [n] yes
WebPageReload
***すべてのチェックに合格しました。 [#s3a6f306]
----
*Nextcloud 24.0.0 [#a2d786c9]
データベースにいくつかのインデックスがありません。 大き...
"occ db:add-missing-indices"を実行することによって、イン...
テーブル "oc_direct_edit"のインデ...
*** # su -m www -c "php /usr/local/www/nextcloud/occ db:a...
Check indices of the share table.
Check indices of the filecache table.
Check indices of the twofactor_providers table.
Check indices of the login_flow_v2 table.
Check indices of the whats_new table.
Check indices of the cards table.
Check indices of the cards_properties table.
Check indices of the calendarobjects_props table.
Check indices of the schedulingobjects table.
Check indices of the oc_properties table.
Check indices of the oc_jobs table.
Check indices of the oc_direct_edit table.
Adding direct_edit_timestamp index to the oc_direct_edit...
oc_direct_edit table updated successfully.
** PHPを7.3>7.4へ [#h7142bd4]
pkg set -o lang/php73:lang/php74
pkg remove '*php73*'
cd /usr/ports/lang/php74 && make config
ZTS にチェック
portinstall lang/php74 --batch
cd /usr/ports/lang/php74-extensions && make config
portinstall lang/php74-extensions --batch
portinstall devel/pecl-APCu --batch
portinstall /usr/ports/graphics/pecl-imagick --batch
cd /usr/ports/www/mod_php74 && make config
ZTS にチェック
portinstall /usr/ports/www/mod_php74 --batch
*Nextcloud 21.0.2 to Nextcloud 21.0.4 [#keec9089]
Web Update で、「Step 3 is currently in process. Please r...
/usr/local/www/nextcloud をバックアップする。
# tar cvfzp nextcloud_20210815.tar.gz nextcloud
コマンドラインで、修復操作する
# sudo -u www php occ maintenance:repair
{"reqId":"DxllvxhIlveX2Q9yZKTH","level":1,"time":"2021-0...
- Repair MySQL collation
{"reqId":"DxllvxhIlveX2Q9yZKTH","level":1,"time":"2021-0...
- All tables already have the correct collation -> n...
{"reqId":"DxllvxhIlveX2Q9yZKTH","level":1,"time":"2021-0...
: : :
: : :
: : :
{"reqId":"djJba9NV3q0oeXpeCv1Y","level":1,"time":"2021-0...
- Add background job to check for backup codes
{"reqId":"djJba9NV3q0oeXpeCv1Y","level":1,"time":"2021-0...
- Populating added database structures for workflows
Webからの操作が可能になっていれば、WebUpdateする。
途中でエラーでメンテナンスモードになってしまったら、
/usr/local/www/nextcloud/config/config.php の
'maintenance' => false,
として、再度
# sudo -u www php occ maintenance:repair
をすると、再度WebUpdate出来る様になるので、再Update する...
https://docs.nextcloud.com/server/19/admin_manual/mainten...
----
root@blackcube2:~ # /usr/bin/su -m www -c "php /usr/loca...
Cannot write into "config" directory!
This can usually be fixed by giving the webserver write ...
But, if you prefer to keep config.php file read only, se...
See https://docs.nextcloud.com/server/22/go.php?to=admin...
root@blackcube2:~ # portupgrade -ar --batch && reboot
[Reading data from pkg(8) ... - 484 packages found - done]
---> Upgrading 'nextcloud-php73-22.0.0' to 'nextcloud-p...
---> Building '/usr/ports/www/nextcloud'
===> Cleaning for nextcloud-php73-22.0.0_1
===> Cleaning for nextcloud-php74-22.0.0_1
===> Cleaning for nextcloud-php80-22.0.0_1
===> License AGPLv3 accepted by the user
===> nextcloud-php73-22.0.0_1 depends on file: /usr/lo...
===> Fetching all distfiles required by nextcloud-php73-...
===> Extracting for nextcloud-php73-22.0.0_1
=> SHA256 Checksum OK for nextcloud/nextcloud-22.0.0.tar...
===> Patching for nextcloud-php73-22.0.0_1
===> Applying FreeBSD patches for nextcloud-php73-22.0....
===> nextcloud-php73-22.0.0_1 depends on shared librar...
===> Configuring for nextcloud-php73-22.0.0_1
===> Staging for nextcloud-php73-22.0.0_1
===> nextcloud-php73-22.0.0_1 depends on package: php7...
===> nextcloud-php73-22.0.0_1 depends on package: php7...
===> nextcloud-php73-22.0.0_1 depends on file: /usr/lo...
===> nextcloud-php73-22.0.0_1 depends on file: /usr/lo...
===> nextcloud-php73-22.0.0_1 depends on file: /usr/lo...
===> nextcloud-php73-22.0.0_1 depends on file: /usr/lo...
===> nextcloud-php73-22.0.0_1 depends on file: /usr/lo...
===> nextcloud-php73-22.0.0_1 depends on file: /usr/lo...
===> nextcloud-php73-22.0.0_1 depends on file: /usr/lo...
===> nextcloud-php73-22.0.0_1 depends on file: /usr/lo...
===> nextcloud-php73-22.0.0_1 depends on file: /usr/lo...
===> nextcloud-php73-22.0.0_1 depends on file: /usr/lo...
===> nextcloud-php73-22.0.0_1 depends on file: /usr/lo...
===> nextcloud-php73-22.0.0_1 depends on file: /usr/lo...
===> nextcloud-php73-22.0.0_1 depends on file: /usr/lo...
===> nextcloud-php73-22.0.0_1 depends on file: /usr/lo...
===> nextcloud-php73-22.0.0_1 depends on file: /usr/lo...
===> nextcloud-php73-22.0.0_1 depends on file: /usr/lo...
===> nextcloud-php73-22.0.0_1 depends on file: /usr/lo...
===> nextcloud-php73-22.0.0_1 depends on file: /usr/lo...
===> nextcloud-php73-22.0.0_1 depends on file: /usr/lo...
===> nextcloud-php73-22.0.0_1 depends on file: /usr/lo...
===> nextcloud-php73-22.0.0_1 depends on file: /usr/lo...
===> nextcloud-php73-22.0.0_1 depends on file: /usr/lo...
===> nextcloud-php73-22.0.0_1 depends on file: /usr/lo...
===> nextcloud-php73-22.0.0_1 depends on file: /usr/lo...
===> nextcloud-php73-22.0.0_1 depends on file: /usr/lo...
===> nextcloud-php73-22.0.0_1 depends on file: /usr/lo...
===> nextcloud-php73-22.0.0_1 depends on file: /usr/lo...
===> nextcloud-php73-22.0.0_1 depends on file: /usr/lo...
===> nextcloud-php73-22.0.0_1 depends on file: /usr/lo...
===> nextcloud-php73-22.0.0_1 depends on file: /usr/lo...
===> nextcloud-php73-22.0.0_1 depends on file: /usr/lo...
===> nextcloud-php73-22.0.0_1 depends on file: /usr/lo...
===> Generating temporary packing list
install -m 555 /usr/ports/www/nextcloud/work-php73/conf...
(cd /usr/ports/www/nextcloud/work-php73/nextcloud; /usr/...
/bin/cat /usr/ports/www/nextcloud/work-php73/plist.post ...
====> Compressing man pages (compress-man)
---> Backing up the old version
---> Uninstalling the old version
[Reading data from pkg(8) ... - 484 packages found - done]
---> Deinstalling 'nextcloud-php73-22.0.0'
Updating database digests format: 100%
Checking integrity... done (0 conflicting)
Deinstallation has been requested for the following 1 pa...
Installed packages to be REMOVED:
nextcloud-php73: 22.0.0
Number of packages to be removed: 1
The operation will free 403 MiB.
[1/1] Deinstalling nextcloud-php73-22.0.0...
[1/1] Deleting files for nextcloud-php73-22.0.0: 100%
You may need to manually remove /usr/local/www/nextcloud...
[Reading data from pkg(8) ... - 483 packages found - done]
---> Installing the new version via the port
===> Deinstalling for nextcloud-php73
===> nextcloud-php73 not installed, skipping
===> Installing for nextcloud-php73-22.0.0_1
===> Checking if nextcloud-php73 is already installed
===> Registering installation for nextcloud-php73-22.0...
Installing nextcloud-php73-22.0.0_1...
/!\ The FreeBSD package REQUIRES the apps_paths configur...
/!\ seen in config/config.sample.php to function ...
Please note that everything has been installed in /usr/l...
You will probably want to add an alias to your httpd.con...
something like this:
Alias /nextcloud /usr/local/www/nextcloud
AcceptPathInfo On
<Directory /usr/local/www/nextcloud>
AllowOverride All
Require all granted
</Directory>
And restart Apache. Nextcloud will start the bundled ins...
access. Once the bundled installer finishes, further con...
be done via 'Settings', 'Administration'. Additional con...
options are available in
/usr/local/www/nextcloud/config/config.php
You can find annotated configuration options in config.d...
in the same directory. Nextcloud's configuration documen...
https://docs.nextcloud.com/server/stable/admin_m...
The caching options require additional Nextcloud configu...
===> Cleaning for nextcloud-php73-22.0.0_1
===> Cleaning for nextcloud-php74-22.0.0_1
===> Cleaning for nextcloud-php80-22.0.0_1
---> Cleaning out obsolete shared libraries
----
/usr/bin/su -m www -c "php /usr/local/www/nextcloud/occ u...
Nextcloud or one of the apps require upgrade - only a li...
You may use your browser or the occ upgrade command to d...
Setting log level to debug
Updating database schema
Updated database
Checking for update of app accessibility in appstore
Checked for update of app "accessibility" in App Store
Checking for update of app activity in appstore
Checked for update of app "activity" in App Store
Checking for update of app bruteforcesettings in appstore
Checked for update of app "bruteforcesettings" in App St...
Checking for update of app calendar in appstore
Checked for update of app "calendar" in App Store
Checking for update of app circles in appstore
Checked for update of app "circles" in App Store
Checking for update of app cloud_federation_api in appst...
Checked for update of app "cloud_federation_api" in App ...
Checking for update of app comments in appstore
Checked for update of app "comments" in App Store
Checking for update of app contacts in appstore
Checked for update of app "contacts" in App Store
Checking for update of app contactsinteraction in appstore
Checked for update of app "contactsinteraction" in App S...
Checking for update of app dashboard in appstore
Checked for update of app "dashboard" in App Store
Checking for update of app dav in appstore
Checked for update of app "dav" in App Store
Checking for update of app federatedfilesharing in appst...
Checked for update of app "federatedfilesharing" in App ...
Checking for update of app federation in appstore
Checked for update of app "federation" in App Store
Checking for update of app files in appstore
Checked for update of app "files" in App Store
Checking for update of app files_pdfviewer in appstore
Checked for update of app "files_pdfviewer" in App Store
Checking for update of app files_rightclick in appstore
Checked for update of app "files_rightclick" in App Store
Checking for update of app files_sharing in appstore
Checked for update of app "files_sharing" in App Store
Checking for update of app files_trashbin in appstore
Checked for update of app "files_trashbin" in App Store
Checking for update of app files_versions in appstore
Checked for update of app "files_versions" in App Store
Checking for update of app files_videoplayer in appstore
Checked for update of app "files_videoplayer" in App Store
Checking for update of app firstrunwizard in appstore
Checked for update of app "firstrunwizard" in App Store
Checking for update of app logreader in appstore
Checked for update of app "logreader" in App Store
Checking for update of app lookup_server_connector in ap...
Checked for update of app "lookup_server_connector" in A...
Checking for update of app mail in appstore
Checked for update of app "mail" in App Store
Checking for update of app nextcloud_announcements in ap...
Checked for update of app "nextcloud_announcements" in A...
Checking for update of app notifications in appstore
Checked for update of app "notifications" in App Store
Checking for update of app oauth2 in appstore
Checked for update of app "oauth2" in App Store
Checking for update of app password_policy in appstore
Checked for update of app "password_policy" in App Store
Checking for update of app photos in appstore
Checked for update of app "photos" in App Store
Checking for update of app privacy in appstore
Checked for update of app "privacy" in App Store
Checking for update of app provisioning_api in appstore
Checked for update of app "provisioning_api" in App Store
Checking for update of app recommendations in appstore
Checked for update of app "recommendations" in App Store
Checking for update of app richdocuments in appstore
Checked for update of app "richdocuments" in App Store
Checking for update of app serverinfo in appstore
Checked for update of app "serverinfo" in App Store
Checking for update of app settings in appstore
Checked for update of app "settings" in App Store
Checking for update of app sharebymail in appstore
Checked for update of app "sharebymail" in App Store
Checking for update of app spreed in appstore
Checked for update of app "spreed" in App Store
Checking for update of app support in appstore
Checked for update of app "support" in App Store
Checking for update of app survey_client in appstore
Checked for update of app "survey_client" in App Store
Checking for update of app systemtags in appstore
Checked for update of app "systemtags" in App Store
Checking for update of app text in appstore
Checked for update of app "text" in App Store
Checking for update of app theming in appstore
Checked for update of app "theming" in App Store
Checking for update of app twofactor_backupcodes in apps...
Checked for update of app "twofactor_backupcodes" in App...
Checking for update of app updatenotification in appstore
Checked for update of app "updatenotification" in App St...
Checking for update of app user_status in appstore
Checked for update of app "user_status" in App Store
Checking for update of app viewer in appstore
Checked for update of app "viewer" in App Store
Checking for update of app weather_status in appstore
Checked for update of app "weather_status" in App Store
Checking for update of app workflowengine in appstore
Checked for update of app "workflowengine" in App Store
Starting code integrity check...
Finished code integrity check
Update successful
Maintenance mode is kept active
Resetting log level
*Nextcloud ver 21.0.2.1 [#l6794925]
/usr/bin/su -m www -c "php /usr/local/www/nextcloud/occ ...
すると、コンソールに、
{ :"/appinfo/app.php is deprecated, use \\OCP\\AppFram...
,"userAgent":"--","version":"21.0.2.1"}
{"reqId":"xxxxxxxx","level":0,"time":"2021-06-28T06:47:3...
Nextcloud is already latest version
とでるのは、
/usr/local/www/nextcloud/config/config.php
の
'loglevel' => 1,
が、
'loglevel' => 0,
と変更されたためのよう。"1"へ戻すと、エラーメッセージは抑...
*Nextcloud 20.0.5.2 [#db99d7bf]
/usr/bin/su -m www -c "php /usr/local/www/nextcloud/occ u...
{"reqId":"********************","level":1,"time":"2021-0...
{"reqId":"********************","level":1,"time":"2021-0...
{"reqId":"********************","level":0,"time":"2021-0...
Nextcloud is already latest version
{"reqId":"********************","level":3,"time":"2021-0...
Nextcloud 20.0.5.2にUPしたところ、このwarningが出るように...
/usr/local/www/nextcloud/config/config.php
'loglevel' => 2,
で消えるがいいのか?
*Nextcloud 19.0.3 [#yce75cb2]
•データベースにいくつかのインデックスがありません。 大き...
root@g7:~:20_09_11:14:30 # cd /usr/local/www/nextcloud
root@g7:/usr/local/www/nextcloud:20_09_11:14:32 # su -m ...
Check columns of the comments table.
Adding additional reference_id column to the comments ta...
Comments table updated successfully.
root@g7:/usr/local/www/nextcloud:20_09_11:14:32 #
https://matoken.org/blog/2020/06/05/upgrade-from-nextclou...
** テーブル “oc_properties”のインデックス “properties_pat...
phpmyadmin で、properties_path_index ちうindex を「新規...
** Step 4 is currently in process. Please reload this pag...
https://nc.suzunet.info/blogs/blog_entries/view/5/c694d12...
root@sun1:~:20_09_12:8:12 # cd /usr/local/www/nextcloud
root@sun1:/usr/local/www/nextcloud:20_09_12:8:12 # sudo ...
- Repair MySQL collation
- All tables already have the correct collation -> n...
- Repair mime types
- Clean tags and favorites
- 0 tags of deleted users have been removed.
- 0 tags for delete files have been removed.
- 0 tag entries for deleted tags have been removed.
- 0 tags with no entries have been removed.
- Repair invalid shares
- Move .step file of updater to backup location
- .step file exists
- .step-previous-update removed
- .step file moved to .step-previous-update
- Fix potential broken mount points
- No mounts updated
- Add log rotate job
- Clear frontend caches
- Image cache cleared
- SCSS cache cleared
- JS cache cleared
- Clear every generated avatar on major updates
- Add preview background cleanup job
- Queue a one-time job to cleanup old backups of the upd...
- Cleanup invalid photocache files for carddav
- Add background job to cleanup login flow v2 tokens
- Remove potentially over exposing share links
- No need to remove link shares.
- Clear access cache of projects
- Switches from deprecated "production" to "stable" upda...
- Sets the enterprise logo
- Repair step already executed
- Reset generated avatar flag
- Fix component of birthday calendars
- 1 birthday calendars updated.
- Regenerating birthday calendars to use new icons and f...
- Repair step already executed
- Fix broken values of calendar objects
0 [>---------------------------]
- Registering building of calendar search index as backg...
- Repair step already executed
- Registering background jobs to update cache for webcal...
- Added 0 background jobs to update webcal calendars
- Registering building of calendar reminder index as bac...
- Repair step already executed
- Clean up orphan event and contact data
- 0 events without a calendar have been cleaned up
- 0 properties without an events have been cleaned up
- 0 changes without a calendar have been cleaned up
- 0 cached events without a calendar subscription ha...
- 0 changes without a calendar subscription have bee...
- 0 contacts without an addressbook have been cleane...
- 0 properties without a contact have been cleaned up
- 0 changes without an addressbook have been cleaned...
- Remove activity entries of private events
- Removed 0 activity entries
- Fix the share type of guest shares when migrating from...
- Copy the share password into the dedicated column
- Set existing shares as accepted
- Update OAuth token expiration times
- Switches from default updater server to the customer o...
- Repair step already executed
- Add background job to check for backup codes
- Populating added database structures for workflows
** PHPを7.2>7.3へ [#z0969dd9]
https://piano2nd.smb.net/PukiWiki/index.php?PHP%205.6%20%...
pkg set -o lang/php72:lang/php73
pkg remove '*php72*'
cd /usr/ports/lang/php73 && make config
ZTS にチェック
portinstall lang/php73 --batch
cd /usr/ports/lang/php73-extensions && make config
portinstall lang/php73-extensions --batch
portinstall devel/pecl-APCu --batch
portinstall /usr/ports/graphics/pecl-imagick --batch
cd /usr/ports/www/mod_php73 && make config
ZTS にチェック
portinstall /usr/ports/www/mod_php73 --batch
----
Total access &counter(total);:本日 &counter(today);:昨...
#counter([total|today|yesterday]);
終了行:
[[Nextcloud Upgrade error]]
CONTENTS
#contents
----
Lastmodified &lastmod;
----
[[Web上からバージョンアップをしてみると、新バージョンのダ...
CLIで実施して成功。
# cd /usr/local/www/nextcloud/updater
# sudo -u www php updater.phar
----
*ブルートフォース対策機能 [#f5d5a463]
Nextclooud管理画面へのログインを数回間違うと・・・こうな...
あなたのIPアドレスは、 "xxx.xxx.xxx.xxx" として認識され...
https://manualmaton.com/2023/12/14/nextcloud%E3%80%81%E3%...
https://nextcloud.stylez.co.jp/blog/techblog/too_many_req...
# cd /usr/local/www/nextcloud
# sudo -u www php occ security:bruteforce:reset {xxx.xxx...
*php80 to php81 [#pf109a99]
history
1003 8:01 pkg info \*php80\* > ~/installed-php-port...
1004 8:02 pkg delete \*php80\*
1005 8:02 portinstall lang/php81 ...
1005 8:02 portinstall lang/php81-extensions ...
1006 8:20 portinstall www/mod_php81 ...
1007 8:26 portinstall databases/phpmyadmin devel/pe...
すべてのチェックに合格しました。
----
*Redis [#h443bb13]
&ref(Nextcloud_Sus.PNG);
セットアップに関して警告がいくつかあります。
データベースは取引ファイルを見ることに使われています。パ...
https://docs.nextcloud.com/server/27/admin_manual/configu...
**# portinstall databases/redis [#o021c2e8]
Installing redis-7.0.11...
===> Creating groups.
Creating group 'redis' with gid '535'.
===> Creating users
Creating user 'redis' with uid '535'.
To setup "redis" you need to edit the configuratio...
/usr/local/etc/redis.conf
To run redis from startup, add redis_enable="YES"
in your /etc/rc.conf.
===> SECURITY REPORT:
This port has installed the following files which ...
servers and may therefore pose a remote security r...
/usr/local/bin/redis-sentinel
/usr/local/bin/redis-cli
/usr/local/bin/redis-server
/usr/local/bin/redis-check-rdb
/usr/local/bin/redis-check-aof
/usr/local/bin/redis-benchmark
If there are vulnerabilities in these programs the...
risk to the system. FreeBSD makes no guarantee abo...
ports included in the Ports Collection. Please typ...
to deinstall the port if this is a concern.
For more information, and contact details about th...
status of this software, see the following webpage:
https://redis.io/
===> Cleaning for redis-7.0.11
/etc/rc.conf
redis_enable="YES"
** # portinstall databases/pecl-redis [#v4311127]
--------------------------------------------------------...
Libraries have been installed in:
/usr/ports/databases/pecl-redis/work-php81/redis-5.3....
If you ever happen to want to link against installed lib...
in a given directory, LIBDIR, you must either use libtoo...
specify the full pathname of the library, or use the `-L...
flag during linking and do at least one of the following:
- add LIBDIR to the `LD_LIBRARY_PATH' environment var...
during execution
- add LIBDIR to the `LD_RUN_PATH' environment variable
during linking
- use the `-Wl,--rpath -Wl,LIBDIR' linker flag
See any operating system documentation about shared libr...
more information, such as the ld(1) and ld.so(8) manual ...
--------------------------------------------------------...
--- all ---
Build complete.
Don't forget to run 'make test'.
===> Staging for php81-pecl-redis-5.3.7
===> php81-pecl-redis-5.3.7 depends on file: /usr/loca...
===> php81-pecl-redis-5.3.7 depends on file: /usr/loca...
===> Generating temporary packing list
====> Compressing man pages (compress-man)
---> Installing the new version via the port
===> Deinstalling for php81-pecl-redis
===> php81-pecl-redis not installed, skipping
===> Installing for php81-pecl-redis-5.3.7
===> Checking if php81-pecl-redis is already installed
===> Registering installation for php81-pecl-redis-5.3.7
Installing php81-pecl-redis-5.3.7...
This file has been added to automatically load the insta...
/usr/local/etc/php/ext-30-redis.ini
===> Cleaning for php81-pecl-redis-5.3.7
** /usr/local/www/nextcloud/config/config.php [#h2fda78a]
'filelocking.enabled' => true,
'memcache.locking' => '\OC\Memcache\Redis',
'redis' => array(
'host' => 'localhost',
'port' => 6379,
'timeout' => 0.0,
'password' => '', // Optional, if not defined no pa...
),
apachectl restart
&ref(Nextcloud_OK.PNG);
*Nextcloud Hub 5 (27.0.0) [#vd9aaaa2]
【概要】
** あなたは現在、PHP 8.0.29 を使用しています。 [#z80c0a8d]
ディストリビューションでサポートされたら、すぐにPHPのバー...
http://www.lifewithunix.jp/notes/2023/06/18/freebsd12_4-u...
/usr/ports/UPDATING
20221126:
AFFECTS: users of lang/php80
AUTHOR: bofh@FreeBSD.org
The default version of PHP has been switched from 8.0 to...
If you use binary packages you should make a list of php...
before running 'pkg upgrade':
# pkg info \*php80\* > ~/installed-php-ports-list
After the upgrade, check with such list if all your php ...
are still installed, and reinstall them if needed.
I f you use mod_php80 you need to deinstall it and insta...
# pkg delete \*php80\*
して、
# portinstall lang/php81-extensions
# portinstall www/mod_php81
したら、Nextcloud が Internal Server Error で開かなくな...
あれこれログとか見てみたら 、config.php の設定「'memcache...
本来なら、[[Memcache \OC\Memcache\APCu]]
# php -i | grep -i apcu
/usr/local/etc/php/ext-20-apcu.ini,
apcu
APCu Support => Enabled
APCu Debugging => Disabled
となるはずが、
# php -i | grep -i apcu
PHP Warning: PHP Startup: Unable to load dynamic librar...
/usr/local/etc/php/ext-20-apcu.ini,
こんな・・・具合。
とりあえず、正常にインストール・動作しているサーバから、a...
アクセス出来た!
*** 追加インストールすべきports [#b5679d0b]
portinstall databases/phpmyadmin devel/pecl-APCu graphic...
コレをしておけば上記エラーは解消できる模様( ̄。 ̄;)
** バックグラウンドジョブの設定を確認してください↗。 [#g6...
最後のバックグラウンドジョブの実行は1 時間前を実行しまし...
*** www権限でcronを設定 [#x223ff6e]
# crontab -u www -e
*/5 * * * * /usr/local/bin/p...
書き込んだファイルは、/var/cron/tabs に、www として保存...
https://nofu.jp/wiki/freebsd/freebsd_12_install_nextcloud...
**データベースは取引ファイルを見ることに使われています。 ...
パフォーマンスをあげるには、可能であればメモリーのキャッ...
** データベースにいくつかのインデックスがありません。 [#c...
大きなテーブルにインデックスを追加すると、自動的に追加さ...
テーブル "oc_mounts"のインデックス "mounts_user_root_pat...
# su -m www -c "php /usr/local/www/nextcloud/occ db:add-...
----
*Nextcloud 26.0.2 to Nextcloud 27.0.0 [#p6437ec2]
Downloading でエラー
# sudo -u www php occ maintenance:repair
後、リトライ
----
*Nextcloud 25.0.7 to Nextcloud 26.0.2 [#l0938925]
WebUpdate 中の
Extracting
Parsing response failed.
Show detailed response
でエラー
#cd /usr/local/www/nextcloud
# sudo -u www php occ maintenance:repair
でもう一度WebUpdate
すべてのチェックに合格しました。
----
*Nextcloud 24.0.12 to Nextcloud 25.0.7 [#p422756a]
WebUpdate && Page reload
データベースにいくつかのインデックスがありません。
# su -m www -c "php /usr/local/www/nextcloud/occ db:add-...
OK
----
*Nextcloud 24.0.0 to Nextcloud 24.0.12 [#k734bc6a]
Site backup
# cd /usr/local/www
# tar cvfzp nextcloud_20230620.tar.gz nextcloud
WebUpdate
**Page reload de 概要をみる [#t34dcf35]
データベースにいくつかのインデックスがありません。 大き...
テーブル "oc_filecache"のインデックス "fs_parent"が見つ...
テーブル "oc_mounts"のインデックス "mounts_class_index"...
# su -m www -c "php /usr/local/www/nextcloud/occ db:add-...
Check indices of the share table.
Check indices of the filecache table.
Adding additional parent index to the filecache table, t...
Filecache table updated successfully.
Check indices of the twofactor_providers table.
Check indices of the login_flow_v2 table.
Check indices of the whats_new table.
Check indices of the cards table.
Check indices of the cards_properties table.
Check indices of the calendarobjects_props table.
Check indices of the schedulingobjects table.
Check indices of the oc_properties table.
Check indices of the oc_jobs table.
Check indices of the oc_direct_edit table.
Check indices of the oc_mounts table.
Adding mounts_class_index index to the oc_mounts table, ...
oc_mounts table updated successfully.
**Web Page reload [#pe841324]
PHP OPcacheモジュールが正しく設定されていません。詳細は ...
OPcacheのインターン化文字列バッファーがまもなく一杯にな...
/usr/local/etc/php.ini
:
[opcache]
opcache.enable=1
opcache.enable_cli=1
opcache.interned_strings_buffer=8 ←ここを 16 へ
:
# apachectl restart
データベース内の一部のカラムで、大きなint型への変換が欠...
# su -m www -c "php /usr/local/www/nextcloud/occ dbconve...
Command "dbconvert-filecache-bigint" is not defined.
Do you want to run "db:convert-filecache-bigint" instead...
> yes
Following columns will be updated:
* files_trash.auto_id
* file_metadata.id
This can take up to hours, depending on the number of fi...
Continue with the conversion (y/n)? [n] yes
WebPageReload
***すべてのチェックに合格しました。 [#s3a6f306]
----
*Nextcloud 24.0.0 [#a2d786c9]
データベースにいくつかのインデックスがありません。 大き...
"occ db:add-missing-indices"を実行することによって、イン...
テーブル "oc_direct_edit"のインデ...
*** # su -m www -c "php /usr/local/www/nextcloud/occ db:a...
Check indices of the share table.
Check indices of the filecache table.
Check indices of the twofactor_providers table.
Check indices of the login_flow_v2 table.
Check indices of the whats_new table.
Check indices of the cards table.
Check indices of the cards_properties table.
Check indices of the calendarobjects_props table.
Check indices of the schedulingobjects table.
Check indices of the oc_properties table.
Check indices of the oc_jobs table.
Check indices of the oc_direct_edit table.
Adding direct_edit_timestamp index to the oc_direct_edit...
oc_direct_edit table updated successfully.
** PHPを7.3>7.4へ [#h7142bd4]
pkg set -o lang/php73:lang/php74
pkg remove '*php73*'
cd /usr/ports/lang/php74 && make config
ZTS にチェック
portinstall lang/php74 --batch
cd /usr/ports/lang/php74-extensions && make config
portinstall lang/php74-extensions --batch
portinstall devel/pecl-APCu --batch
portinstall /usr/ports/graphics/pecl-imagick --batch
cd /usr/ports/www/mod_php74 && make config
ZTS にチェック
portinstall /usr/ports/www/mod_php74 --batch
*Nextcloud 21.0.2 to Nextcloud 21.0.4 [#keec9089]
Web Update で、「Step 3 is currently in process. Please r...
/usr/local/www/nextcloud をバックアップする。
# tar cvfzp nextcloud_20210815.tar.gz nextcloud
コマンドラインで、修復操作する
# sudo -u www php occ maintenance:repair
{"reqId":"DxllvxhIlveX2Q9yZKTH","level":1,"time":"2021-0...
- Repair MySQL collation
{"reqId":"DxllvxhIlveX2Q9yZKTH","level":1,"time":"2021-0...
- All tables already have the correct collation -> n...
{"reqId":"DxllvxhIlveX2Q9yZKTH","level":1,"time":"2021-0...
: : :
: : :
: : :
{"reqId":"djJba9NV3q0oeXpeCv1Y","level":1,"time":"2021-0...
- Add background job to check for backup codes
{"reqId":"djJba9NV3q0oeXpeCv1Y","level":1,"time":"2021-0...
- Populating added database structures for workflows
Webからの操作が可能になっていれば、WebUpdateする。
途中でエラーでメンテナンスモードになってしまったら、
/usr/local/www/nextcloud/config/config.php の
'maintenance' => false,
として、再度
# sudo -u www php occ maintenance:repair
をすると、再度WebUpdate出来る様になるので、再Update する...
https://docs.nextcloud.com/server/19/admin_manual/mainten...
----
root@blackcube2:~ # /usr/bin/su -m www -c "php /usr/loca...
Cannot write into "config" directory!
This can usually be fixed by giving the webserver write ...
But, if you prefer to keep config.php file read only, se...
See https://docs.nextcloud.com/server/22/go.php?to=admin...
root@blackcube2:~ # portupgrade -ar --batch && reboot
[Reading data from pkg(8) ... - 484 packages found - done]
---> Upgrading 'nextcloud-php73-22.0.0' to 'nextcloud-p...
---> Building '/usr/ports/www/nextcloud'
===> Cleaning for nextcloud-php73-22.0.0_1
===> Cleaning for nextcloud-php74-22.0.0_1
===> Cleaning for nextcloud-php80-22.0.0_1
===> License AGPLv3 accepted by the user
===> nextcloud-php73-22.0.0_1 depends on file: /usr/lo...
===> Fetching all distfiles required by nextcloud-php73-...
===> Extracting for nextcloud-php73-22.0.0_1
=> SHA256 Checksum OK for nextcloud/nextcloud-22.0.0.tar...
===> Patching for nextcloud-php73-22.0.0_1
===> Applying FreeBSD patches for nextcloud-php73-22.0....
===> nextcloud-php73-22.0.0_1 depends on shared librar...
===> Configuring for nextcloud-php73-22.0.0_1
===> Staging for nextcloud-php73-22.0.0_1
===> nextcloud-php73-22.0.0_1 depends on package: php7...
===> nextcloud-php73-22.0.0_1 depends on package: php7...
===> nextcloud-php73-22.0.0_1 depends on file: /usr/lo...
===> nextcloud-php73-22.0.0_1 depends on file: /usr/lo...
===> nextcloud-php73-22.0.0_1 depends on file: /usr/lo...
===> nextcloud-php73-22.0.0_1 depends on file: /usr/lo...
===> nextcloud-php73-22.0.0_1 depends on file: /usr/lo...
===> nextcloud-php73-22.0.0_1 depends on file: /usr/lo...
===> nextcloud-php73-22.0.0_1 depends on file: /usr/lo...
===> nextcloud-php73-22.0.0_1 depends on file: /usr/lo...
===> nextcloud-php73-22.0.0_1 depends on file: /usr/lo...
===> nextcloud-php73-22.0.0_1 depends on file: /usr/lo...
===> nextcloud-php73-22.0.0_1 depends on file: /usr/lo...
===> nextcloud-php73-22.0.0_1 depends on file: /usr/lo...
===> nextcloud-php73-22.0.0_1 depends on file: /usr/lo...
===> nextcloud-php73-22.0.0_1 depends on file: /usr/lo...
===> nextcloud-php73-22.0.0_1 depends on file: /usr/lo...
===> nextcloud-php73-22.0.0_1 depends on file: /usr/lo...
===> nextcloud-php73-22.0.0_1 depends on file: /usr/lo...
===> nextcloud-php73-22.0.0_1 depends on file: /usr/lo...
===> nextcloud-php73-22.0.0_1 depends on file: /usr/lo...
===> nextcloud-php73-22.0.0_1 depends on file: /usr/lo...
===> nextcloud-php73-22.0.0_1 depends on file: /usr/lo...
===> nextcloud-php73-22.0.0_1 depends on file: /usr/lo...
===> nextcloud-php73-22.0.0_1 depends on file: /usr/lo...
===> nextcloud-php73-22.0.0_1 depends on file: /usr/lo...
===> nextcloud-php73-22.0.0_1 depends on file: /usr/lo...
===> nextcloud-php73-22.0.0_1 depends on file: /usr/lo...
===> nextcloud-php73-22.0.0_1 depends on file: /usr/lo...
===> nextcloud-php73-22.0.0_1 depends on file: /usr/lo...
===> nextcloud-php73-22.0.0_1 depends on file: /usr/lo...
===> nextcloud-php73-22.0.0_1 depends on file: /usr/lo...
===> nextcloud-php73-22.0.0_1 depends on file: /usr/lo...
===> nextcloud-php73-22.0.0_1 depends on file: /usr/lo...
===> Generating temporary packing list
install -m 555 /usr/ports/www/nextcloud/work-php73/conf...
(cd /usr/ports/www/nextcloud/work-php73/nextcloud; /usr/...
/bin/cat /usr/ports/www/nextcloud/work-php73/plist.post ...
====> Compressing man pages (compress-man)
---> Backing up the old version
---> Uninstalling the old version
[Reading data from pkg(8) ... - 484 packages found - done]
---> Deinstalling 'nextcloud-php73-22.0.0'
Updating database digests format: 100%
Checking integrity... done (0 conflicting)
Deinstallation has been requested for the following 1 pa...
Installed packages to be REMOVED:
nextcloud-php73: 22.0.0
Number of packages to be removed: 1
The operation will free 403 MiB.
[1/1] Deinstalling nextcloud-php73-22.0.0...
[1/1] Deleting files for nextcloud-php73-22.0.0: 100%
You may need to manually remove /usr/local/www/nextcloud...
[Reading data from pkg(8) ... - 483 packages found - done]
---> Installing the new version via the port
===> Deinstalling for nextcloud-php73
===> nextcloud-php73 not installed, skipping
===> Installing for nextcloud-php73-22.0.0_1
===> Checking if nextcloud-php73 is already installed
===> Registering installation for nextcloud-php73-22.0...
Installing nextcloud-php73-22.0.0_1...
/!\ The FreeBSD package REQUIRES the apps_paths configur...
/!\ seen in config/config.sample.php to function ...
Please note that everything has been installed in /usr/l...
You will probably want to add an alias to your httpd.con...
something like this:
Alias /nextcloud /usr/local/www/nextcloud
AcceptPathInfo On
<Directory /usr/local/www/nextcloud>
AllowOverride All
Require all granted
</Directory>
And restart Apache. Nextcloud will start the bundled ins...
access. Once the bundled installer finishes, further con...
be done via 'Settings', 'Administration'. Additional con...
options are available in
/usr/local/www/nextcloud/config/config.php
You can find annotated configuration options in config.d...
in the same directory. Nextcloud's configuration documen...
https://docs.nextcloud.com/server/stable/admin_m...
The caching options require additional Nextcloud configu...
===> Cleaning for nextcloud-php73-22.0.0_1
===> Cleaning for nextcloud-php74-22.0.0_1
===> Cleaning for nextcloud-php80-22.0.0_1
---> Cleaning out obsolete shared libraries
----
/usr/bin/su -m www -c "php /usr/local/www/nextcloud/occ u...
Nextcloud or one of the apps require upgrade - only a li...
You may use your browser or the occ upgrade command to d...
Setting log level to debug
Updating database schema
Updated database
Checking for update of app accessibility in appstore
Checked for update of app "accessibility" in App Store
Checking for update of app activity in appstore
Checked for update of app "activity" in App Store
Checking for update of app bruteforcesettings in appstore
Checked for update of app "bruteforcesettings" in App St...
Checking for update of app calendar in appstore
Checked for update of app "calendar" in App Store
Checking for update of app circles in appstore
Checked for update of app "circles" in App Store
Checking for update of app cloud_federation_api in appst...
Checked for update of app "cloud_federation_api" in App ...
Checking for update of app comments in appstore
Checked for update of app "comments" in App Store
Checking for update of app contacts in appstore
Checked for update of app "contacts" in App Store
Checking for update of app contactsinteraction in appstore
Checked for update of app "contactsinteraction" in App S...
Checking for update of app dashboard in appstore
Checked for update of app "dashboard" in App Store
Checking for update of app dav in appstore
Checked for update of app "dav" in App Store
Checking for update of app federatedfilesharing in appst...
Checked for update of app "federatedfilesharing" in App ...
Checking for update of app federation in appstore
Checked for update of app "federation" in App Store
Checking for update of app files in appstore
Checked for update of app "files" in App Store
Checking for update of app files_pdfviewer in appstore
Checked for update of app "files_pdfviewer" in App Store
Checking for update of app files_rightclick in appstore
Checked for update of app "files_rightclick" in App Store
Checking for update of app files_sharing in appstore
Checked for update of app "files_sharing" in App Store
Checking for update of app files_trashbin in appstore
Checked for update of app "files_trashbin" in App Store
Checking for update of app files_versions in appstore
Checked for update of app "files_versions" in App Store
Checking for update of app files_videoplayer in appstore
Checked for update of app "files_videoplayer" in App Store
Checking for update of app firstrunwizard in appstore
Checked for update of app "firstrunwizard" in App Store
Checking for update of app logreader in appstore
Checked for update of app "logreader" in App Store
Checking for update of app lookup_server_connector in ap...
Checked for update of app "lookup_server_connector" in A...
Checking for update of app mail in appstore
Checked for update of app "mail" in App Store
Checking for update of app nextcloud_announcements in ap...
Checked for update of app "nextcloud_announcements" in A...
Checking for update of app notifications in appstore
Checked for update of app "notifications" in App Store
Checking for update of app oauth2 in appstore
Checked for update of app "oauth2" in App Store
Checking for update of app password_policy in appstore
Checked for update of app "password_policy" in App Store
Checking for update of app photos in appstore
Checked for update of app "photos" in App Store
Checking for update of app privacy in appstore
Checked for update of app "privacy" in App Store
Checking for update of app provisioning_api in appstore
Checked for update of app "provisioning_api" in App Store
Checking for update of app recommendations in appstore
Checked for update of app "recommendations" in App Store
Checking for update of app richdocuments in appstore
Checked for update of app "richdocuments" in App Store
Checking for update of app serverinfo in appstore
Checked for update of app "serverinfo" in App Store
Checking for update of app settings in appstore
Checked for update of app "settings" in App Store
Checking for update of app sharebymail in appstore
Checked for update of app "sharebymail" in App Store
Checking for update of app spreed in appstore
Checked for update of app "spreed" in App Store
Checking for update of app support in appstore
Checked for update of app "support" in App Store
Checking for update of app survey_client in appstore
Checked for update of app "survey_client" in App Store
Checking for update of app systemtags in appstore
Checked for update of app "systemtags" in App Store
Checking for update of app text in appstore
Checked for update of app "text" in App Store
Checking for update of app theming in appstore
Checked for update of app "theming" in App Store
Checking for update of app twofactor_backupcodes in apps...
Checked for update of app "twofactor_backupcodes" in App...
Checking for update of app updatenotification in appstore
Checked for update of app "updatenotification" in App St...
Checking for update of app user_status in appstore
Checked for update of app "user_status" in App Store
Checking for update of app viewer in appstore
Checked for update of app "viewer" in App Store
Checking for update of app weather_status in appstore
Checked for update of app "weather_status" in App Store
Checking for update of app workflowengine in appstore
Checked for update of app "workflowengine" in App Store
Starting code integrity check...
Finished code integrity check
Update successful
Maintenance mode is kept active
Resetting log level
*Nextcloud ver 21.0.2.1 [#l6794925]
/usr/bin/su -m www -c "php /usr/local/www/nextcloud/occ ...
すると、コンソールに、
{ :"/appinfo/app.php is deprecated, use \\OCP\\AppFram...
,"userAgent":"--","version":"21.0.2.1"}
{"reqId":"xxxxxxxx","level":0,"time":"2021-06-28T06:47:3...
Nextcloud is already latest version
とでるのは、
/usr/local/www/nextcloud/config/config.php
の
'loglevel' => 1,
が、
'loglevel' => 0,
と変更されたためのよう。"1"へ戻すと、エラーメッセージは抑...
*Nextcloud 20.0.5.2 [#db99d7bf]
/usr/bin/su -m www -c "php /usr/local/www/nextcloud/occ u...
{"reqId":"********************","level":1,"time":"2021-0...
{"reqId":"********************","level":1,"time":"2021-0...
{"reqId":"********************","level":0,"time":"2021-0...
Nextcloud is already latest version
{"reqId":"********************","level":3,"time":"2021-0...
Nextcloud 20.0.5.2にUPしたところ、このwarningが出るように...
/usr/local/www/nextcloud/config/config.php
'loglevel' => 2,
で消えるがいいのか?
*Nextcloud 19.0.3 [#yce75cb2]
•データベースにいくつかのインデックスがありません。 大き...
root@g7:~:20_09_11:14:30 # cd /usr/local/www/nextcloud
root@g7:/usr/local/www/nextcloud:20_09_11:14:32 # su -m ...
Check columns of the comments table.
Adding additional reference_id column to the comments ta...
Comments table updated successfully.
root@g7:/usr/local/www/nextcloud:20_09_11:14:32 #
https://matoken.org/blog/2020/06/05/upgrade-from-nextclou...
** テーブル “oc_properties”のインデックス “properties_pat...
phpmyadmin で、properties_path_index ちうindex を「新規...
** Step 4 is currently in process. Please reload this pag...
https://nc.suzunet.info/blogs/blog_entries/view/5/c694d12...
root@sun1:~:20_09_12:8:12 # cd /usr/local/www/nextcloud
root@sun1:/usr/local/www/nextcloud:20_09_12:8:12 # sudo ...
- Repair MySQL collation
- All tables already have the correct collation -> n...
- Repair mime types
- Clean tags and favorites
- 0 tags of deleted users have been removed.
- 0 tags for delete files have been removed.
- 0 tag entries for deleted tags have been removed.
- 0 tags with no entries have been removed.
- Repair invalid shares
- Move .step file of updater to backup location
- .step file exists
- .step-previous-update removed
- .step file moved to .step-previous-update
- Fix potential broken mount points
- No mounts updated
- Add log rotate job
- Clear frontend caches
- Image cache cleared
- SCSS cache cleared
- JS cache cleared
- Clear every generated avatar on major updates
- Add preview background cleanup job
- Queue a one-time job to cleanup old backups of the upd...
- Cleanup invalid photocache files for carddav
- Add background job to cleanup login flow v2 tokens
- Remove potentially over exposing share links
- No need to remove link shares.
- Clear access cache of projects
- Switches from deprecated "production" to "stable" upda...
- Sets the enterprise logo
- Repair step already executed
- Reset generated avatar flag
- Fix component of birthday calendars
- 1 birthday calendars updated.
- Regenerating birthday calendars to use new icons and f...
- Repair step already executed
- Fix broken values of calendar objects
0 [>---------------------------]
- Registering building of calendar search index as backg...
- Repair step already executed
- Registering background jobs to update cache for webcal...
- Added 0 background jobs to update webcal calendars
- Registering building of calendar reminder index as bac...
- Repair step already executed
- Clean up orphan event and contact data
- 0 events without a calendar have been cleaned up
- 0 properties without an events have been cleaned up
- 0 changes without a calendar have been cleaned up
- 0 cached events without a calendar subscription ha...
- 0 changes without a calendar subscription have bee...
- 0 contacts without an addressbook have been cleane...
- 0 properties without a contact have been cleaned up
- 0 changes without an addressbook have been cleaned...
- Remove activity entries of private events
- Removed 0 activity entries
- Fix the share type of guest shares when migrating from...
- Copy the share password into the dedicated column
- Set existing shares as accepted
- Update OAuth token expiration times
- Switches from default updater server to the customer o...
- Repair step already executed
- Add background job to check for backup codes
- Populating added database structures for workflows
** PHPを7.2>7.3へ [#z0969dd9]
https://piano2nd.smb.net/PukiWiki/index.php?PHP%205.6%20%...
pkg set -o lang/php72:lang/php73
pkg remove '*php72*'
cd /usr/ports/lang/php73 && make config
ZTS にチェック
portinstall lang/php73 --batch
cd /usr/ports/lang/php73-extensions && make config
portinstall lang/php73-extensions --batch
portinstall devel/pecl-APCu --batch
portinstall /usr/ports/graphics/pecl-imagick --batch
cd /usr/ports/www/mod_php73 && make config
ZTS にチェック
portinstall /usr/ports/www/mod_php73 --batch
----
Total access &counter(total);:本日 &counter(today);:昨...
#counter([total|today|yesterday]);
ページ名: