CONTENTS
Lastmodified 2019-12-30 (月) 05:00:40
php71から72に・・・
976 10:59 portupgrade -ar --batch && reboot
だけだと、Nextcloudがエラー
979 12:03 pkg set -o lang/php71:lang/php72 980 12:03 /root/bin/check.sh 981 12:04 portupgrade -ar --batch && reboot
まだまだ、エラー
982 12:05 portinstall www/mod_php72 983 12:09 pkg delete mod_php71-7.1.33 984 12:09 portinstall www/mod_php72 985 12:19 /root/bin/check.sh 986 12:20 apachectl restart 987 12:21 pkg info 988 12:22 pkg remove '*php71*' 989 12:23 portinstall lang/php72 991 12:23 portupgrade -fr portinstall lang/php72 992 14:04 screen -dr 993 14:13 apachectl restart 994 14:14 portinstall graphics/pecl-imagick 995 14:17 apachectl restart 996 14:18 locate phpmyadmin 997 14:18 portinstall databases/phpmyadmin 1002 14:29 cd /usr/ports/lang/php72-extensions/ 1003 14:29 make config 1004 14:32 make install clean 1005 14:34 apachectl restart 1006 14:36 portinstall devel/pecl-APCu 1007 14:37 apachectl restart
で、Nextcloud OK
Fatal error: Uncaught Error: Call to undefined function ctype_digit() in /usr/local/www/SNS_RS_Base/lib/vendor/symfony/lib/yaml/sfYamlInline.class.php:400 Stack trace: #0 /usr/local/www/SNS_RS_Base/lib/vendor/symfony/lib/yaml/sfYamlInline.class.php(200): sfYamlInline::evaluateScalar('base_url') #1 /usr/local/www/SNS_RS_Base/lib/vendor/symfony/lib/yaml/sfYamlParser.class.php(127): sfYamlInline::parseScalar('base_url') #2 /usr/local/www/SNS_RS_Base/lib/vendor/symfony/lib/yaml/sfYaml.class.php(102): sfYamlParser->parse('###############...') #3 /usr/local/www/SNS_RS_Base/lib/config/opProjectConfiguration.class.php(162): sfYaml::load('###############...') #4 /usr/local/www/SNS_RS_Base/lib/config/opProjectConfiguration.class.php(44): opProjectConfiguration->setOpenPNEConfiguration() #5 /usr/local/www/SNS_RS_Base/config/ProjectConfiguration.class.php(33): opProjectConfiguration->setup() #6 /usr/local/www/SNS_RS_Base/lib/config/opApplicationConfiguration.class.php(53): ProjectConfiguration->setup() #7 /usr/local/www/SNS_RS_Base/l in /usr/local/www/SNS_RS_Base/lib/vendor/symfony/lib/yaml/sfYamlInline.class.php on line 400
993 5:31 pkg set -o lang/php71:lang/php72 994 5:32 portupgrade -ar --batch && reboot 995 6:06 /root/bin/check.sh 996 6:07 portupgrade -r mod_php71-7.1.33 997 6:11 /root/bin/check.sh 998 6:11 portupgrade -ar 999 6:12 /root/bin/check.sh 1000 6:13 reboot 1001 10:04 locate phpmyadmin 1002 10:04 portinstall databases/phpmyadmin 1003 10:05 pkg info 1004 10:06 portupgrade -f phpMyAdmin-php71-4.9.2 1005 10:07 pkg info 1006 10:07 apachectl restart 1007 10:08 pkg remove '*php71* 1008 10:08 portinstall graphics/pecl-imagick 1009 10:09 portupgrade -rf graphics/pecl-imagick 1010 10:10 pkg info 1011 10:10 portinstall graphics/pecl-imagick 1012 10:36 apachectl restart 1013 10:40 apachectl restart 1014 10:42 pkg remove '*php71*' 1015 10:42 pkg info 1016 10:43 cd /usr/ports/lang/php72-extensions/ 1017 10:43 make config 1018 10:44 make install clean 1019 10:45 make install clean 1020 10:51 make config 1021 10:52 make install 1022 11:04 portupgrade -rf php72 1023 11:15 portinstall print/pecl-pdflib 1024 11:16 portupgrade -rf php72-pecl-pdflib-4.1.4_1 1025 11:16 cd /usr/ports/print/pecl-pdflib ) 1026 11:16 cd /usr/ports/print/pecl-pdflib 1027 11:16 make install 1028 11:17 make deinstall 1029 11:17 make install clean 1030 11:17 portinstall deatabases/phpmyadmin 1031 11:18 locate phpmyadmin 1032 11:18 portinstall databases/phpmyadmin 1033 11:18 portupgrade -rf phpMyAdmin-php72-4.9.2 1034 11:19 apachectl restart 1035 11:21 history
1009 8:36 portinstall php72-pecl-mcrypt 1010 8:37 apachectl restart 1011 8:38 pkg info 1012 8:42 tail -100 /var/log/httpd-error.log 1013 8:42 cd 1014 8:43 pkg info 1015 8:43 portupgrade -frR --batch php72 1016 11:30 portupgrade -frR php72 1017 18:45 apachectl restart 1018 3:20 history
ここまでやってOK でもまだ、
Installed packages to be REMOVED: php72-pecl-imagick-3.4.4 Number of packages to be removed: 1 [1/1] Deinstalling php72-pecl-imagick-3.4.4... [1/1] Deleting files for php72-pecl-imagick-3.4.4: 100% [Reading data from pkg(8) ... - 439 packages found - done] ---> Installing the new version via the port ===> Deinstalling for php72-pecl-imagick ===> php72-pecl-imagick not installed, skipping ===> Installing for php72-pecl-imagick-3.4.4 ===> Registering installation for php72-pecl-imagick-3.4.4 Installing php72-pecl-imagick-3.4.4... This file has been added to automatically load the installed extension: /usr/local/etc/php/ext-20-imagick.ini ===> Cleaning for php72-pecl-imagick-3.4.4 ===> Cleaning for php73-pecl-imagick-3.4.4 ===> Cleaning for php74-pecl-imagick-3.4.4 ---> Cleaning out obsolete shared libraries No such file or directory @ realpath_rec - /usr/local/lib/compat/pkg/libfbembed.so.2.5.8 No such file or directory @ realpath_rec - /usr/local/lib/compat/pkg/libfbclient.so.2.5.8 No such file or directory @ realpath_rec - /usr/local/lib/compat/pkg/libmysqlclient.so.20 ** Listing the failed packages (-:ignored / *:skipped / !:failed) ! databases/firebird25-client (firebird25-client-2.5.8_4) (uninstall error) * databases/php72-pdo_firebird (php72-pdo_firebird-7.2.25) * databases/php72-interbase (php72-interbase-7.2.25) * lang/php72-extensions (php72-extensions-1.0) root@blackcube2:~:19_12_21:16:43 # apachectl restart Performing sanity check on apache24 configuration: Syntax OK Stopping apache24. Waiting for PIDS: 19822. Performing sanity check on apache24 configuration: Syntax OK Starting apache24. root@blackcube2:~:19_12_21:18:45 # history 19 10:14 pkg autoremove
# portupgrade -rfR db5-5.3.28_7 ** Listing the failed packages (-:ignored / *:skipped / !:failed) ! databases/db5 (db5-5.3.28_7) (uninstall error) * databases/p5-BerkeleyDB (p5-BerkeleyDB-0.63) * databases/ruby-bdb (ruby25-bdb-0.6.6_7) * devel/apr1 (apr-1.7.0.1.6.1)
# pkg delete db5-5.3.28_7 Updating database digests format: 100% Checking integrity... done (0 conflicting) Deinstallation has been requested for the following 10 packages (of 0 packages in the universe): Installed packages to be REMOVED: db5-5.3.28_7 apr-1.7.0.1.6.1 ruby25-bdb-0.6.6_7 p5-BerkeleyDB-0.63 apache24-2.4.41 subversion-1.13.0 serf-1.3.9_4 portupgrade-2.4.16,2 amavisd-new-2.12.0,1 mod_php72-7.2.25
Number of packages to be removed: 10
T he operation will free 107 MiB.
Total access 1543:本日 1:昨日 2