Nextcloud Snap Stopped Working

nextcloud snap instance stopped working and I believe it is mysql.

what commands would i run to pull relevant logs?

this is what i have so far:

root@ubuntu-desktop:/var/snap/nextcloud/current/nextcloud/config# snap list
Name                       Version          Rev    Tracking         Publisher   Notes
bare                       1.0              5      latest/stable    canonical✓  base
core18                     20240612         2829   latest/stable    canonical✓  base
core22                     20240419         1439   latest/stable    canonical✓  base
firefox                    129.0-2          4698   latest/stable/…  mozilla✓    -
firmware-updater           0+git.5007558    127    latest/stable/…  canonical✓  -
gnome-42-2204              0+git.510a601    176    latest/stable/…  canonical✓  -
gtk-common-themes          0.1-81-g442e511  1535   latest/stable/…  canonical✓  -
nextcloud                  29.0.4snap2      43538  latest/stable    nextcloud✓  -
snap-store                 0+git.e3dd562    1173   latest/stable/…  canonical✓  -
snapd                      2.63             21759  latest/stable    canonical✓  snapd
snapd-desktop-integration  0.9              157    latest/stable/…  canonical✓  -
thunderbird                128.1.0esr-1     507    latest/stable/…  canonical✓  -

cat  /var/snap/nextcloud/current/logs/mysql_errors.log
2024-08-14T19:45:00.323715Z 0 [System] [MY-013172] [Server] Received SHUTDOWN from user <via user signal>. Shutting down mysqld (Version: 8.0.39).
2024-08-14T19:45:01.079984Z 0 [System] [MY-010910] [Server] /snap/nextcloud/43538/bin/mysqld: Shutdown complete (mysqld 8.0.39)  Source distribution.
2024-08-14T19:45:14.075959Z 0 [System] [MY-010116] [Server] /snap/nextcloud/43538/bin/mysqld (mysqld 8.0.39) starting as process 3963
2024-08-14T19:45:14.142018Z 1 [System] [MY-013576] [InnoDB] InnoDB initialization has started.
2024-08-14T19:45:14.439424Z 1 [System] [MY-013577] [InnoDB] InnoDB initialization has ended.
2024-08-14T19:45:14.709949Z 0 [Warning] [MY-013829] [Server] Missing data directory for ICU regular expressions: //lib/private/.
2024-08-14T19:45:14.711185Z 0 [Warning] [MY-010068] [Server] CA certificate ca.pem is self signed.
2024-08-14T19:45:14.711209Z 0 [System] [MY-013602] [Server] Channel mysql_main configured to support TLS. Encrypted connections are now supported for this channel.
2024-08-14T19:45:14.712186Z 0 [Warning] [MY-011810] [Server] Insecure configuration for --pid-file: Location '/tmp' in the path is accessible to all OS users. Consider choosing a different directory.
2024-08-14T19:45:14.729744Z 0 [System] [MY-011323] [Server] X Plugin ready for connections. Socket: /tmp/mysqlx.sock
2024-08-14T19:45:14.729798Z 0 [System] [MY-010931] [Server] /snap/nextcloud/43538/bin/mysqld: ready for connections. Version: '8.0.39'  s

Your Nextcloud log to start. Though it also depends a great deal on what you mean by “stopped working”. :slight_smile: Can you elaborate?

@onprem-homelab, welcome…

Relax, take a deep breath, get a cup of tea and consider your options. Recollect steps taken, note recent changes and structure that information. Do the basics and try to get a grasp of the situation.

Check out our FAQ’s

@jtr is right, the information we’re getting is not enough to recognise the issue you’re having.

you’ll find managing Nextcloud snap logs here. you could also run the debugging script see getting help

1 Like