Can’t seem to find anything wrong with the configuration or services. Only difference I can think of is one has files accessed through NFS the other locally.
This is what I’m seeing when restarting the services:
systemctl restart caddy.service caddy-api.service phpfpm-nerdpress.localhost.service phpfpm.target phpfpm.slice mysql.service
sudo journalctl -u caddy.service -u mysql.service -u phpfpm-nerdpress.localhost.service -f
Jul 02 16:45:31 samara systemd[1]: Stopping Caddy...
Jul 02 16:45:31 samara systemd[1]: caddy.service: Deactivated successfully.
Jul 02 16:45:31 samara systemd[1]: Stopped Caddy.
Jul 02 16:45:31 samara systemd[1]: caddy.service: Consumed 153ms CPU time, 13.7M memory peak, 0B memory swap peak, received 2.0K IP traffic, sent 2.0K IP traffic.
Jul 02 16:45:31 samara systemd[1]: Starting Caddy...
Jul 02 16:45:31 samara caddy[75606]: {"level":"info","ts":1719963931.9674852,"msg":"using provided configuration","config_file":"/etc/caddy/caddy_config","config_adapter":"caddyfile"}
Jul 02 16:45:31 samara php-fpm[73517]: [NOTICE] Terminating ...
Jul 02 16:45:31 samara systemd[1]: Stopping PHP FastCGI Process Manager service for pool nerdpress.localhost...
Jul 02 16:45:31 samara php-fpm[73517]: [NOTICE] exiting, bye-bye!
Jul 02 16:45:31 samara systemd[1]: Started Caddy.
Jul 02 16:45:31 samara systemd[1]: phpfpm-nerdpress.localhost.service: Deactivated successfully.
Jul 02 16:45:31 samara systemd[1]: Stopped PHP FastCGI Process Manager service for pool nerdpress.localhost.
Jul 02 16:45:32 samara systemd[1]: Starting PHP FastCGI Process Manager service for pool nerdpress.localhost...
Jul 02 16:45:32 samara systemd[1]: phpfpm-nerdpress.localhost.service: Deactivated successfully.
Jul 02 16:45:32 samara systemd[1]: Stopped PHP FastCGI Process Manager service for pool nerdpress.localhost.
Jul 02 16:45:32 samara systemd[1]: Starting PHP FastCGI Process Manager service for pool nerdpress.localhost...
Jul 02 16:45:32 samara mysql-start[73529]: 2024-07-02 16:45:32 0 [Note] /nix/store/k7nxqxkkjqxv6l5wr14jfc4ycjlkdans-mariadb-server-10.11.6/bin/mysqld (initiated by: unknown): Normal shutdown
Jul 02 16:45:32 samara mysql-start[73529]: 2024-07-02 16:45:32 0 [Note] InnoDB: FTS optimize thread exiting.
Jul 02 16:45:32 samara systemd[1]: Stopping MySQL Server...
Jul 02 16:45:32 samara mysql-start[73529]: 2024-07-02 16:45:32 0 [Note] InnoDB: Starting shutdown...
Jul 02 16:45:32 samara mysql-start[73529]: 2024-07-02 16:45:32 0 [Note] InnoDB: Dumping buffer pool(s) to /var/lib/mysql/ib_buffer_pool
Jul 02 16:45:32 samara mysql-start[73529]: 2024-07-02 16:45:32 0 [Note] InnoDB: Buffer pool(s) dump completed at 240702 16:45:32
Jul 02 16:45:32 samara php-fpm[75649]: [NOTICE] fpm is running, pid 75649
Jul 02 16:45:32 samara php-fpm[75649]: [NOTICE] ready to handle connections
Jul 02 16:45:32 samara php-fpm[75649]: [NOTICE] systemd monitor interval set to 10000ms
Jul 02 16:45:32 samara systemd[1]: Started PHP FastCGI Process Manager service for pool nerdpress.localhost.
Jul 02 16:45:32 samara mysql-start[73529]: 2024-07-02 16:45:32 0 [Note] InnoDB: Removed temporary tablespace data file: "./ibtmp1"
Jul 02 16:45:32 samara mysql-start[73529]: 2024-07-02 16:45:32 0 [Note] InnoDB: Shutdown completed; log sequence number 132235077; transaction id 295229
Jul 02 16:45:32 samara mysql-start[73529]: 2024-07-02 16:45:32 0 [Note] /nix/store/k7nxqxkkjqxv6l5wr14jfc4ycjlkdans-mariadb-server-10.11.6/bin/mysqld: Shutdown complete
Jul 02 16:45:32 samara systemd[1]: mysql.service: Deactivated successfully.
Jul 02 16:45:32 samara systemd[1]: Stopped MySQL Server.
Jul 02 16:45:32 samara systemd[1]: Starting MySQL Server...
Jul 02 16:45:32 samara mysql-start[75660]: 2024-07-02 16:45:32 0 [Note] Starting MariaDB 10.11.6-MariaDB source revision fecd78b83785d5ae96f2c6ff340375be803cd299 as process 75660
Jul 02 16:45:32 samara mysql-start[75660]: 2024-07-02 16:45:32 0 [Warning] WSREP: Failed to guess base node address. Set it explicitly via wsrep_node_address.
Jul 02 16:45:32 samara mysql-start[75660]: 2024-07-02 16:45:32 0 [Warning] WSREP: Failed to guess base node address. Set it explicitly via wsrep_node_address.
Jul 02 16:45:32 samara mysql-start[75660]: 2024-07-02 16:45:32 0 [Warning] WSREP: Guessing address for incoming client connections failed. Try setting wsrep_node_incoming_address explicitly.
Jul 02 16:45:32 samara mysql-start[75660]: 2024-07-02 16:45:32 0 [Note] WSREP: Node addr:
Jul 02 16:45:32 samara mysql-start[75660]: 2024-07-02 16:45:32 0 [Note] InnoDB: Compressed tables use zlib 1.3.1
Jul 02 16:45:32 samara mysql-start[75660]: 2024-07-02 16:45:32 0 [Note] InnoDB: Number of transaction pools: 1
Jul 02 16:45:32 samara mysql-start[75660]: 2024-07-02 16:45:32 0 [Note] InnoDB: Using crc32 + pclmulqdq instructions
Jul 02 16:45:32 samara mysql-start[75660]: 2024-07-02 16:45:32 0 [Note] InnoDB: Using liburing
Jul 02 16:45:32 samara mysql-start[75660]: 2024-07-02 16:45:32 0 [Note] InnoDB: Initializing buffer pool, total size = 128.000MiB, chunk size = 2.000MiB
Jul 02 16:45:32 samara mysql-start[75660]: 2024-07-02 16:45:32 0 [Note] InnoDB: Completed initialization of buffer pool
Jul 02 16:45:32 samara mysql-start[75660]: 2024-07-02 16:45:32 0 [Note] InnoDB: File system buffers for log disabled (block size=512 bytes)
Jul 02 16:45:32 samara mysql-start[75660]: 2024-07-02 16:45:32 0 [Note] InnoDB: End of log at LSN=132235077
Jul 02 16:45:32 samara mysql-start[75660]: 2024-07-02 16:45:32 0 [Note] InnoDB: 128 rollback segments are active.
Jul 02 16:45:32 samara mysql-start[75660]: 2024-07-02 16:45:32 0 [Note] InnoDB: Setting file './ibtmp1' size to 12.000MiB. Physically writing the file full; Please wait ...
Jul 02 16:45:32 samara mysql-start[75660]: 2024-07-02 16:45:32 0 [Note] InnoDB: File './ibtmp1' size is now 12.000MiB.
Jul 02 16:45:32 samara mysql-start[75660]: 2024-07-02 16:45:32 0 [Note] InnoDB: log sequence number 132235077; transaction id 295228
Jul 02 16:45:32 samara mysql-start[75660]: 2024-07-02 16:45:32 0 [Note] Plugin 'FEEDBACK' is disabled.
Jul 02 16:45:32 samara mysql-start[75660]: 2024-07-02 16:45:32 0 [Note] InnoDB: Loading buffer pool(s) from /var/lib/mysql/ib_buffer_pool
Jul 02 16:45:32 samara mysql-start[75660]: 2024-07-02 16:45:32 0 [Note] Server socket created on IP: '0.0.0.0'.
Jul 02 16:45:32 samara mysql-start[75660]: 2024-07-02 16:45:32 0 [Note] Server socket created on IP: '::'.
Jul 02 16:45:32 samara mysql-start[75660]: 2024-07-02 16:45:32 0 [Note] /nix/store/k7nxqxkkjqxv6l5wr14jfc4ycjlkdans-mariadb-server-10.11.6/bin/mysqld: ready for connections.
Jul 02 16:45:32 samara mysql-start[75660]: Version: '10.11.6-MariaDB' socket: '/run/mysqld/mysqld.sock' port: 3306 MariaDB Server
Jul 02 16:45:32 samara mysql-start[75660]: 2024-07-02 16:45:32 0 [Note] InnoDB: Buffer pool(s) load completed at 240702 16:45:32
Jul 02 16:45:32 samara systemd[1]: Started MySQL Server.