• 技术,  网站

    After upgrading Ubuntu Workpress stopped working

    The reason is php got updated to 8. Just do: apt-get install php8.0-mysql And restart your apache sudo service apache2 restart Update on Jan 21, 2023 after upgrading to Ubuntu 22.04, all php shows source code: Then showing “`Your PHP installation appears to be missing the MySQL extension which Is required by WordPress`” again:

  • Docker,  技术

    ReadTimeout on starting docker compose

    Here is the exception that I got every time I try to start my docker compose: ERROR: for webdav HTTPConnectionPool(host='192.168.103.98', port=2375): Read timed out. (read timeout=60) First thing first, it’s not a network issue. After some investigation, it turns out to be that the volume I am mapping to one of containers just not able to access: mysql: restart: unless-stopped image: "percona:5.7" ports: - "23307:3307" environment: MYSQL_ROOT_PASSWORD: "developer" MYSQL_DATABASE: "zapps_amq" MYSQL_ALLOW_EMPTY_PASSWORD: "yes" MYSQL_USER: zuora MYSQL_PASSWORD: password volumes: - /mnt/zuora/application/billing/docker/infra/mysql/conf:/etc/mysql:ro - /mnt/zuora/application/billing/docker/infra/mysql/initdb.d:/docker-entrypoint-initdb.d:rw So it seems that it timeouts when trying to mount the volume. The error message is really mis leading.