Sites suddenly unavailable

Issue Summary

All sites have suddenly become unavailable. I can’t access any of them.

I can start the sites, but when I browse to one I get ERR_NAME_NOT_RESOLVED in all browsers I’ve tested.

Netstat output:
tcp 0 0 0.0.0.0:443 0.0.0.0:* LISTEN 47383/nginx: master
tcp 0 0 127.0.0.1:4000 0.0.0.0:* LISTEN 45303/local
tcp 0 0 127.0.0.1:10028 0.0.0.0:* LISTEN 47263/mysqld
tcp 0 0 0.0.0.0:80 0.0.0.0:* LISTEN 47383/nginx: master
tcp6 0 0 :::10025 :::* LISTEN 47257/mailhog
tcp6 0 0 :::10026 :::* LISTEN 47257/mailhog
tcp6 0 0 ::1:10028 :::* LISTEN 47263/mysqld
tcp6 0 0 :::10029 :::* LISTEN 47264/httpd
tcp6 0 0 :::80 :::* LISTEN 47383/nginx: master

When I browse to 0.0.0.0, I get Local’s custom 404 page.
When I browse to 127.0.0.1:10029, it fetches the site, but no assets like css and images because it’s still looking for those at the regular domain name (e.g.: site.local), so text only.

Logs are mostly unhelpful.

  • PHP error/fpm logs have no new entries.
  • Apache error logs:
    AH00558: httpd: Could not reliably determine the server’s fully qualified domain name, using 127.0.1.1. Set the ‘ServerName’ directive globally to suppress this message
    [Thu Dec 23 23:09:22.937933 2021] [mpm_event:notice] [pid 49002:tid 140713422081344] AH00489: Apache/2.4.43 (Unix) configured – resuming normal operations
    [Thu Dec 23 23:09:22.938204 2021] [core:notice] [pid 49002:tid 140713422081344] AH00094: Command line: ‘/home/f3bruary/.config/Local/lightning-services/apache-2.4.43+6/bin/linux/bin/httpd -D FOREGROUND -f /home/f3bruary/.config/Local/run/0TuyUGxOp/conf/apache/apache2.conf’
  • Nginx router logs: No new entries appear when using Local
    -Local’s logs:
    {“thread”:“main”,“class”:“Process”,“process”:“httpd”,“level”:“warn”,“message”:“AH00558: httpd: Could not reliably determine the server’s fully qualified domain name, using 127.0.1.1. Set the ‘ServerName’ directive globally to suppress this message”,“timestamp”:“2021-12-23T22:10:01.585Z”}
    {“thread”:“main”,“class”:“Process”,“process”:“mysql”,“level”:“warn”,“message”:“2021-12-23T22:10:01.617932Z 0 [System] [MY-010116] [Server] %%resourcesPath%%/lightning-services/mysql-8.0.16+6/bin/linux/bin/mysqld (mysqld 8.0.16) starting as process 49273”,“timestamp”:“2021-12-23T22:10:02.796Z”}
    {“thread”:“main”,“class”:“Process”,“process”:“mysql”,“level”:“warn”,“message”:“2021-12-23T22:10:01.621783Z 0 [Warning] [MY-013243] [Server] --character-set-server: The character set UTF8MB3 is deprecated and will be removed in a future release. Please consider using UTF8MB4 instead.”,“timestamp”:“2021-12-23T22:10:02.797Z”}
    {“thread”:“main”,“class”:“Process”,“process”:“mysql”,“level”:“warn”,“message”:“2021-12-23T22:10:02.767974Z 0 [Warning] [MY-010068] [Server] CA certificate ca.pem is self signed.”,“timestamp”:“2021-12-23T22:10:02.799Z”}
    {“thread”:“main”,“class”:“Process”,“process”:“mysql”,“level”:“warn”,“message”:“2021-12-23T22:10:02.794993Z 0 [System] [MY-010931] [Server] %%resourcesPath%%/lightning-services/mysql-8.0.16+6/bin/linux/bin/mysqld: ready for connections. Version: ‘8.0.16’ socket: ‘%%site.runData%%/mysql/mysqld.sock’ port: 10018 MySQL Community Server - GPL.”,“timestamp”:“2021-12-23T22:10:02.801Z”}

I’ve tried downgrading and re-installing, but that didn’t fix it.

Troubleshooting Questions

  • Does this happen for all sites in Local, or just one in particular?
    All

  • Are you able to create a new, plain WordPress site in Local and access it in a Browser?
    No

System Details

  • Which version of Local is being used?
    Local 6.1.8+5621
    Also tested with 6.1.7

  • What Operating System (OS) and OS version is being used?

    • For example: macOS Catalina or Windows 10 Professional

My OS is Manjaro.

Security Reminder

Local does a pretty good job of scrubbing private info from the logs and the errors it produces, however there’s always the possibility that something private can come through. Because these are public forums, always review the screenshots you are sharing to make sure there isn’t private info like passwords being displayed.

Fixed by changing the .local extension to something else.

This topic was automatically closed 36 hours after the last reply. New replies are no longer allowed.