Nextcloud Error
をテンプレートにして作成
[
トップ
] [
新規
|
一覧
|
検索
|
最終更新
|
ヘルプ
|
ログイン
]
開始行:
CONTENTS
#contents
----
Lastmodified &lastmod;
----
Allowed memory size of 4294967296 bytes exhausted (tried...
https://nextcloud.com/
MySql 5.7.x
# /usr/local/libexec/mysqld --verbose --help > /dev/null
2019-02-12 08:31:49 0 [Note] /usr/local/libexec/mysqld (...
2019-02-12 08:31:49 8434 [Note] Plugin 'FEDERATED' is di...
2019-02-12 08:31:49 8434 [Note] Binlog end
2019-02-12 08:31:49 8434 [Note] Shutting down plugin 'My...
2019-02-12 08:31:49 8434 [Note] Shutting down plugin 'CSV'
PHP7.x と必要な、php7x-* (extensions)
cd /usr/local/www/
unzip nextcloud-14.0.1.zip
chown -R www:www nextcloud
* DB 接続エラーがでる [#g570d3f7]
以下の様なエラーが短時間に膨大に出て、/var/log/http-acces...
[Thu Jan 31 13:53:43.078979 2019] [php7:error] [pid 5970...
PHP Fatal error: Uncaught Doctrine\\DBAL\\DBALException...
An exception occured in driver: SQLSTATE[HY000] [1040] T...
#0 /usr/local/www/nextcloud/3rdparty/doctrine/dbal/lib/D...
#1 /usr/local/www/nextcloud/3rdparty/doctrine/dbal/lib/D...
#2 /usr/local/www/nextcloud/3rdparty/doctrine/dbal/lib/D...
#3 /usr/local/www/nextcloud/3rdparty/doctrine/dbal/lib/D...
#4 /usr/local/www/nextcloud/lib/private/DB/Connection.ph...
#5 /usr/local/www/nextcloud/3rdparty/doctrine/dbal/lib/D...
Object(Doctr in /usr/local/www/nextcloud/lib/private/DB/...
で、
# apachectl restart
すると、一旦落ち着く。
https://help.nextcloud.com/t/nextcloud-13-php-7-1-mysql-8...
[Thu Jan 31 13:54:25.879562 2019] [mpm_worker:notice] [p...
[Thu Jan 31 13:54:29.249208 2019] [:notice] [pid 69639:t...
[Thu Jan 31 13:54:29.249396 2019] [:notice] [pid 69639:t...
[Thu Jan 31 13:54:29.258820 2019] [mpm_worker:notice] [p...
[Thu Jan 31 13:54:29.258898 2019] [core:notice] [pid 696...
[Thu Jan 31 13:54:54.734583 2019] [php7:notice] [pid 696...
"remoteAddr":"210.255.122.209","user":"kuji","app":"PHP"...
boolean given at \\/usr\\/local\\/www\\/nextcloud\\/apps...
"userAgent":"Mozilla\\/5.0 (Windows) mirall\\/2.5.1final...
[Thu Jan 31 13:54:54.760578 2019] [php7:notice] [pid 696...
* web update 中に[#d50f5cb2]
/usr/bin/su -m www -c "php /usr/local/www/nextcloud/occ ...
したら、黄色い文字で
Nextcloud is in maintenance mode - no apps have been loa...
<warning>Nextcloud is in maintenance mode</warning>
Maybe an upgrade is already in process. Please check the...
and call this script again.
* sun1:: pkg autoremove したら、 [#h3432037]
Doctrine\DBAL\Exception: Failed to connect to the databa...
Stack trace:
#0 /usr/local/www/nextcloud/3rdparty/doctrine/dbal/src/C...
#1 /usr/local/www/nextcloud/3rdparty/doctrine/dbal/src/C...
#2 /usr/local/www/nextcloud/lib/private/DB/Connection.ph...
#3 /usr/local/www/nextcloud/3rdparty/doctrine/dbal/src/Q...
#4 /usr/local/www/nextcloud/lib/private/DB/QueryBuilder/...
#5 /usr/local/www/nextcloud/lib/private/AppConfig.php(41...
#6 /usr/local/www/nextcloud/lib/private/AppConfig.php(18...
#7 /usr/local/www/nextcloud/lib/private/AppConfig.php(37...
#8 /usr/local/www/nextcloud/lib/private/legacy/OC_App.ph...
#9 /usr/local/www/nextcloud/lib/private/Server.php(733):...
#10 /usr/local/www/nextcloud/lib/private/AppFramework/Ut...
#11 /usr/local/www/nextcloud/3rdparty/pimple/pimple/src/...
#12 /usr/local/www/nextcloud/lib/private/AppFramework/Ut...
#13 /usr/local/www/nextcloud/lib/private/ServerContainer...
#14 /usr/local/www/nextcloud/lib/private/AppFramework/Ut...
#15 /usr/local/www/nextcloud/lib/private/AppFramework/Ut...
#16 /usr/local/www/nextcloud/lib/private/AppFramework/Ut...
#17 /usr/local/www/nextcloud/3rdparty/pimple/pimple/src/...
#18 /usr/local/www/nextcloud/lib/private/AppFramework/Ut...
#19 /usr/local/www/nextcloud/lib/private/ServerContainer...
#20 /usr/local/www/nextcloud/lib/private/AppFramework/Ut...
#21 /usr/local/www/nextcloud/lib/private/Server.php(1115...
#22 /usr/local/www/nextcloud/lib/private/AppFramework/Ut...
#23 /usr/local/www/nextcloud/3rdparty/pimple/pimple/src/...
#24 /usr/local/www/nextcloud/lib/private/AppFramework/Ut...
#25 /usr/local/www/nextcloud/lib/private/ServerContainer...
#26 /usr/local/www/nextcloud/lib/private/AppFramework/Ut...
#27 /usr/local/www/nextcloud/lib/private/Server.php(2067...
#28 /usr/local/www/nextcloud/lib/private/Files/View.php(...
#29 /usr/local/www/nextcloud/lib/private/Server.php(467)...
#30 /usr/local/www/nextcloud/lib/private/AppFramework/Ut...
#31 /usr/local/www/nextcloud/3rdparty/pimple/pimple/src/...
#32 /usr/local/www/nextcloud/lib/private/AppFramework/Ut...
#33 /usr/local/www/nextcloud/lib/private/ServerContainer...
#34 /usr/local/www/nextcloud/lib/private/AppFramework/Ut...
#35 /usr/local/www/nextcloud/lib/private/Server.php(1469...
#36 /usr/local/www/nextcloud/lib/base.php(638): OC\Serve...
#37 /usr/local/www/nextcloud/lib/base.php(1180): OC::ini...
#38 /usr/local/www/nextcloud/cron.php(43): require_once(...
#39 {main}
と言うエラー
portinstall lang/php81-extensions
で復旧
php81-pdo_dblib-8.1.22 The pdo_dblib shared exte...
php81-pdo_firebird-8.1.22 The pdo_firebird shared e...
php81-pdo_mysql-8.1.22 The pdo_mysql shared exte...
php81-pdo_odbc-8.1.22 The pdo_odbc shared exten...
php81-pdo_pgsql-8.1.22 The pdo_pgsql shared exte...
あたりが、消えていた模様
* G7:: pkg autoremove したら、Nextcloud が Internal Serve...
Nextcloud は、ports にもあるが、手動インストールしたので...
# portinstall devel/pecl-APCu
で、復旧した。
因みにログの最後ブロックに、
"message":{"Exception":"OC\\HintException","Message":"Me...
の文字列を発見して、原因にたどり着いた。ふぅ~
他に、/usr/ports/www/nextcloud/Makefile に出てくるports ...
894 12:36 portinstall graphics/pecl-imagick -m "DIS...
895 12:46 portinstall databases/pecl-redis --batch
896 12:48 portinstall net/pecl-smbclient --batch
897 13:20 portinstall devel/pecl-APCu --batch
*pecl-APCu [#x08e37a1]
# portinstall devel/pecl-APCu
/usr/local/www/nextcloud/config/config.php
'maintenance' => false,
'memcache.local' => '\\OC\\Memcache\\APCu', ←この行...
'updater.secret' => '$2y$10$bKv9D................
);
*nextcloud.log が巨大な件 [#d8cfbd37]
/usr/local/www/nextcloud/data
total 117047840
-rw-r--r-- 1 www www 324 Sep 12 06:18 .htac...
-rw-r--r-- 1 www www 0 Sep 12 06:18 .ocdata
drwxr-xr-x 4 www www 512 Sep 17 15:53 USR1/
drwxr-xr-x 10 www www 512 Sep 17 15:34 appda...
drwxr-xr-x 5 www www 512 Mar 10 2018 appda...
drwxr-xr-x 10 www www 512 Oct 19 2017 appda...
drwxr-xr-x 2 www www 512 Sep 12 06:19 files...
drwxr-xr-x 4 www www 512 Sep 17 21:02 foo/
-rw-r--r-- 1 www www 0 Sep 12 06:18 index...
drwxr-xr-x 7 www www 512 Sep 28 11:25 Mydata/
-rw-r----- 1 www www 119811864566 Sep 28 10:56 nextc...
-rw-r--r-- 1 www www 15761408 Mar 10 2018 owncl...
# rm nextcloud.log
# touch nextcloud.log
# df -h
Filesystem Size Used Avail Capacity Mounted on
/dev/ada0s1a 899G 548G 279G 66% /
devfs 1.0K 1.0K 0B 100% /dev
ふと気付いたら119 GB にもなっていたので、
/usr/local/etc/newsyslog.conf.d/nextcloud.conf
# configuration file for newsyslog for necxtcloud
# logfilename [owner:group] mode count size ...
/usr/local/www/nextcloud/data/nextcloud.log 644 12 ...
/usr/local/www/nextcloud/data/nextcloud.log
*ERR_TOO_MANY_REDIRECTS [#zbedb02c]
Nextcloud Install 画面からの遷移で、
このページは動作していません
Server_Name でリダイレクトが繰り返し行われました。
Cookie を消去してみてください.
ERR_TOO_MANY_REDIRECTS
となる。
/usr/local/www/nextcloud/data/nextcloud.log
You are using a fallback implementation of the intl exte...
at \/usr\/local\/www\/nextcloud\/3rdparty\/patchwork\/ut...
"userAgent":"Mozilla\/5.0 (Windows NT 6.1; WOW64; Triden...
とのことなので、/usr/ports/lang/php71-extensions の make...
php71-intl
*Server replied: service unavailable - operation cancelle...
Nextcloud を SV & CL で運用していて、CLで同期エラーがで...
Server replied: service unavailable - operation cancelled
という赤いバックに白文字のエラーが出て、そのファイル以後...
この現象が出るのはWindows10のクライエントで、Windows7のク...
Windows10側の端末であれこれエラー回避操作してみるが、一向...
【回避策】
回避策として好奏したのは、
+エラーの出ていない端末で、バックグラウンドジョブとして動...
+そのディレクトリをそっくり外付けSSDなどへコピー。
+エラーする端末で、コピーしたディレクトリを書き込んで、サ...
+差分ではなく全ファイルをチェックするためか、初回のスキャ...
と、いったもので、取り敢えずは復活。
%%ひょっとすると、同期ディレクトリルートにある、%%
._sync_8a7ff09e8109.db
%%などの、nextcloud関連のドットファイルをいれかえるだけで...
*php71-extensions が腐ったら [#v858a045]
/var/log/httpd-error.log
[Fri Nov 30 11:15:34.924252 2018] [php7:error] [pid 921:...
PDO::getAttribute() in /usr/local/www/nextcloud/3rdparty...
\n#0 /usr/local/www/nextcloud/3rdparty/doctrine/dbal/lib...
\n#1 /usr/local/www/nextcloud/3rdparty/doctrine/dbal/lib...
\n#2 /usr/local/www/nextcloud/3rdparty/doctrine/dbal/lib...
\n#3 /usr/local/www/nextcloud/lib/private/DB/ReconnectWr...
OC\\DB\\ReconnectWrapper->connect()\n#5 /usr/local/www/n...
\n#6 /usr/local/www/nextcloud/3rdparty/doctrine/dbal/lib...
in /usr/local/www/nextcloud/3rdparty/doctrine/dbal/lib/D...
428 11:24 cd /usr/ports/lang/php71-extensions
429 11:24 make install
430 11:24 make config
431 11:25 make install
432 11:30 apachectl restart
433 11:30 tail -100 /var/log/httpd-error.log
----
Total access &counter(total);:本日 &counter(today);:昨...
#counter([total|today|yesterday]);
終了行:
CONTENTS
#contents
----
Lastmodified &lastmod;
----
Allowed memory size of 4294967296 bytes exhausted (tried...
https://nextcloud.com/
MySql 5.7.x
# /usr/local/libexec/mysqld --verbose --help > /dev/null
2019-02-12 08:31:49 0 [Note] /usr/local/libexec/mysqld (...
2019-02-12 08:31:49 8434 [Note] Plugin 'FEDERATED' is di...
2019-02-12 08:31:49 8434 [Note] Binlog end
2019-02-12 08:31:49 8434 [Note] Shutting down plugin 'My...
2019-02-12 08:31:49 8434 [Note] Shutting down plugin 'CSV'
PHP7.x と必要な、php7x-* (extensions)
cd /usr/local/www/
unzip nextcloud-14.0.1.zip
chown -R www:www nextcloud
* DB 接続エラーがでる [#g570d3f7]
以下の様なエラーが短時間に膨大に出て、/var/log/http-acces...
[Thu Jan 31 13:53:43.078979 2019] [php7:error] [pid 5970...
PHP Fatal error: Uncaught Doctrine\\DBAL\\DBALException...
An exception occured in driver: SQLSTATE[HY000] [1040] T...
#0 /usr/local/www/nextcloud/3rdparty/doctrine/dbal/lib/D...
#1 /usr/local/www/nextcloud/3rdparty/doctrine/dbal/lib/D...
#2 /usr/local/www/nextcloud/3rdparty/doctrine/dbal/lib/D...
#3 /usr/local/www/nextcloud/3rdparty/doctrine/dbal/lib/D...
#4 /usr/local/www/nextcloud/lib/private/DB/Connection.ph...
#5 /usr/local/www/nextcloud/3rdparty/doctrine/dbal/lib/D...
Object(Doctr in /usr/local/www/nextcloud/lib/private/DB/...
で、
# apachectl restart
すると、一旦落ち着く。
https://help.nextcloud.com/t/nextcloud-13-php-7-1-mysql-8...
[Thu Jan 31 13:54:25.879562 2019] [mpm_worker:notice] [p...
[Thu Jan 31 13:54:29.249208 2019] [:notice] [pid 69639:t...
[Thu Jan 31 13:54:29.249396 2019] [:notice] [pid 69639:t...
[Thu Jan 31 13:54:29.258820 2019] [mpm_worker:notice] [p...
[Thu Jan 31 13:54:29.258898 2019] [core:notice] [pid 696...
[Thu Jan 31 13:54:54.734583 2019] [php7:notice] [pid 696...
"remoteAddr":"210.255.122.209","user":"kuji","app":"PHP"...
boolean given at \\/usr\\/local\\/www\\/nextcloud\\/apps...
"userAgent":"Mozilla\\/5.0 (Windows) mirall\\/2.5.1final...
[Thu Jan 31 13:54:54.760578 2019] [php7:notice] [pid 696...
* web update 中に[#d50f5cb2]
/usr/bin/su -m www -c "php /usr/local/www/nextcloud/occ ...
したら、黄色い文字で
Nextcloud is in maintenance mode - no apps have been loa...
<warning>Nextcloud is in maintenance mode</warning>
Maybe an upgrade is already in process. Please check the...
and call this script again.
* sun1:: pkg autoremove したら、 [#h3432037]
Doctrine\DBAL\Exception: Failed to connect to the databa...
Stack trace:
#0 /usr/local/www/nextcloud/3rdparty/doctrine/dbal/src/C...
#1 /usr/local/www/nextcloud/3rdparty/doctrine/dbal/src/C...
#2 /usr/local/www/nextcloud/lib/private/DB/Connection.ph...
#3 /usr/local/www/nextcloud/3rdparty/doctrine/dbal/src/Q...
#4 /usr/local/www/nextcloud/lib/private/DB/QueryBuilder/...
#5 /usr/local/www/nextcloud/lib/private/AppConfig.php(41...
#6 /usr/local/www/nextcloud/lib/private/AppConfig.php(18...
#7 /usr/local/www/nextcloud/lib/private/AppConfig.php(37...
#8 /usr/local/www/nextcloud/lib/private/legacy/OC_App.ph...
#9 /usr/local/www/nextcloud/lib/private/Server.php(733):...
#10 /usr/local/www/nextcloud/lib/private/AppFramework/Ut...
#11 /usr/local/www/nextcloud/3rdparty/pimple/pimple/src/...
#12 /usr/local/www/nextcloud/lib/private/AppFramework/Ut...
#13 /usr/local/www/nextcloud/lib/private/ServerContainer...
#14 /usr/local/www/nextcloud/lib/private/AppFramework/Ut...
#15 /usr/local/www/nextcloud/lib/private/AppFramework/Ut...
#16 /usr/local/www/nextcloud/lib/private/AppFramework/Ut...
#17 /usr/local/www/nextcloud/3rdparty/pimple/pimple/src/...
#18 /usr/local/www/nextcloud/lib/private/AppFramework/Ut...
#19 /usr/local/www/nextcloud/lib/private/ServerContainer...
#20 /usr/local/www/nextcloud/lib/private/AppFramework/Ut...
#21 /usr/local/www/nextcloud/lib/private/Server.php(1115...
#22 /usr/local/www/nextcloud/lib/private/AppFramework/Ut...
#23 /usr/local/www/nextcloud/3rdparty/pimple/pimple/src/...
#24 /usr/local/www/nextcloud/lib/private/AppFramework/Ut...
#25 /usr/local/www/nextcloud/lib/private/ServerContainer...
#26 /usr/local/www/nextcloud/lib/private/AppFramework/Ut...
#27 /usr/local/www/nextcloud/lib/private/Server.php(2067...
#28 /usr/local/www/nextcloud/lib/private/Files/View.php(...
#29 /usr/local/www/nextcloud/lib/private/Server.php(467)...
#30 /usr/local/www/nextcloud/lib/private/AppFramework/Ut...
#31 /usr/local/www/nextcloud/3rdparty/pimple/pimple/src/...
#32 /usr/local/www/nextcloud/lib/private/AppFramework/Ut...
#33 /usr/local/www/nextcloud/lib/private/ServerContainer...
#34 /usr/local/www/nextcloud/lib/private/AppFramework/Ut...
#35 /usr/local/www/nextcloud/lib/private/Server.php(1469...
#36 /usr/local/www/nextcloud/lib/base.php(638): OC\Serve...
#37 /usr/local/www/nextcloud/lib/base.php(1180): OC::ini...
#38 /usr/local/www/nextcloud/cron.php(43): require_once(...
#39 {main}
と言うエラー
portinstall lang/php81-extensions
で復旧
php81-pdo_dblib-8.1.22 The pdo_dblib shared exte...
php81-pdo_firebird-8.1.22 The pdo_firebird shared e...
php81-pdo_mysql-8.1.22 The pdo_mysql shared exte...
php81-pdo_odbc-8.1.22 The pdo_odbc shared exten...
php81-pdo_pgsql-8.1.22 The pdo_pgsql shared exte...
あたりが、消えていた模様
* G7:: pkg autoremove したら、Nextcloud が Internal Serve...
Nextcloud は、ports にもあるが、手動インストールしたので...
# portinstall devel/pecl-APCu
で、復旧した。
因みにログの最後ブロックに、
"message":{"Exception":"OC\\HintException","Message":"Me...
の文字列を発見して、原因にたどり着いた。ふぅ~
他に、/usr/ports/www/nextcloud/Makefile に出てくるports ...
894 12:36 portinstall graphics/pecl-imagick -m "DIS...
895 12:46 portinstall databases/pecl-redis --batch
896 12:48 portinstall net/pecl-smbclient --batch
897 13:20 portinstall devel/pecl-APCu --batch
*pecl-APCu [#x08e37a1]
# portinstall devel/pecl-APCu
/usr/local/www/nextcloud/config/config.php
'maintenance' => false,
'memcache.local' => '\\OC\\Memcache\\APCu', ←この行...
'updater.secret' => '$2y$10$bKv9D................
);
*nextcloud.log が巨大な件 [#d8cfbd37]
/usr/local/www/nextcloud/data
total 117047840
-rw-r--r-- 1 www www 324 Sep 12 06:18 .htac...
-rw-r--r-- 1 www www 0 Sep 12 06:18 .ocdata
drwxr-xr-x 4 www www 512 Sep 17 15:53 USR1/
drwxr-xr-x 10 www www 512 Sep 17 15:34 appda...
drwxr-xr-x 5 www www 512 Mar 10 2018 appda...
drwxr-xr-x 10 www www 512 Oct 19 2017 appda...
drwxr-xr-x 2 www www 512 Sep 12 06:19 files...
drwxr-xr-x 4 www www 512 Sep 17 21:02 foo/
-rw-r--r-- 1 www www 0 Sep 12 06:18 index...
drwxr-xr-x 7 www www 512 Sep 28 11:25 Mydata/
-rw-r----- 1 www www 119811864566 Sep 28 10:56 nextc...
-rw-r--r-- 1 www www 15761408 Mar 10 2018 owncl...
# rm nextcloud.log
# touch nextcloud.log
# df -h
Filesystem Size Used Avail Capacity Mounted on
/dev/ada0s1a 899G 548G 279G 66% /
devfs 1.0K 1.0K 0B 100% /dev
ふと気付いたら119 GB にもなっていたので、
/usr/local/etc/newsyslog.conf.d/nextcloud.conf
# configuration file for newsyslog for necxtcloud
# logfilename [owner:group] mode count size ...
/usr/local/www/nextcloud/data/nextcloud.log 644 12 ...
/usr/local/www/nextcloud/data/nextcloud.log
*ERR_TOO_MANY_REDIRECTS [#zbedb02c]
Nextcloud Install 画面からの遷移で、
このページは動作していません
Server_Name でリダイレクトが繰り返し行われました。
Cookie を消去してみてください.
ERR_TOO_MANY_REDIRECTS
となる。
/usr/local/www/nextcloud/data/nextcloud.log
You are using a fallback implementation of the intl exte...
at \/usr\/local\/www\/nextcloud\/3rdparty\/patchwork\/ut...
"userAgent":"Mozilla\/5.0 (Windows NT 6.1; WOW64; Triden...
とのことなので、/usr/ports/lang/php71-extensions の make...
php71-intl
*Server replied: service unavailable - operation cancelle...
Nextcloud を SV & CL で運用していて、CLで同期エラーがで...
Server replied: service unavailable - operation cancelled
という赤いバックに白文字のエラーが出て、そのファイル以後...
この現象が出るのはWindows10のクライエントで、Windows7のク...
Windows10側の端末であれこれエラー回避操作してみるが、一向...
【回避策】
回避策として好奏したのは、
+エラーの出ていない端末で、バックグラウンドジョブとして動...
+そのディレクトリをそっくり外付けSSDなどへコピー。
+エラーする端末で、コピーしたディレクトリを書き込んで、サ...
+差分ではなく全ファイルをチェックするためか、初回のスキャ...
と、いったもので、取り敢えずは復活。
%%ひょっとすると、同期ディレクトリルートにある、%%
._sync_8a7ff09e8109.db
%%などの、nextcloud関連のドットファイルをいれかえるだけで...
*php71-extensions が腐ったら [#v858a045]
/var/log/httpd-error.log
[Fri Nov 30 11:15:34.924252 2018] [php7:error] [pid 921:...
PDO::getAttribute() in /usr/local/www/nextcloud/3rdparty...
\n#0 /usr/local/www/nextcloud/3rdparty/doctrine/dbal/lib...
\n#1 /usr/local/www/nextcloud/3rdparty/doctrine/dbal/lib...
\n#2 /usr/local/www/nextcloud/3rdparty/doctrine/dbal/lib...
\n#3 /usr/local/www/nextcloud/lib/private/DB/ReconnectWr...
OC\\DB\\ReconnectWrapper->connect()\n#5 /usr/local/www/n...
\n#6 /usr/local/www/nextcloud/3rdparty/doctrine/dbal/lib...
in /usr/local/www/nextcloud/3rdparty/doctrine/dbal/lib/D...
428 11:24 cd /usr/ports/lang/php71-extensions
429 11:24 make install
430 11:24 make config
431 11:25 make install
432 11:30 apachectl restart
433 11:30 tail -100 /var/log/httpd-error.log
----
Total access &counter(total);:本日 &counter(today);:昨...
#counter([total|today|yesterday]);
ページ名: