# Router error on Ubuntu 20.04 – Site URL not generated and WordPress fails to load

**URL:** <https://community.localwp.com/t/router-error-on-ubuntu-20-04-site-url-not-generated-and-wordpress-fails-to-load/49618>\
**Category:** Support\
**Tags:** router-conflict, linux-ubuntu, router-mode, local-router\
**Created:** [April 10, 2025, 4:36am UTC](https://community.localwp.com/t/router-error-on-ubuntu-20-04-site-url-not-generated-and-wordpress-fails-to-load/49618 "2025-04-10T04:36:17Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![SGZN](https://avatars.discourse-cdn.com/v4/letter/s/fbc32d/32.png) [@SGZN](https://community.localwp.com/u/SGZN)\
**Post date:** [April 10, 2025, 4:36am UTC](https://community.localwp.com/t/router-error-on-ubuntu-20-04-site-url-not-generated-and-wordpress-fails-to-load/49618/1 "2025-04-10T04:36:17Z")

</div>

### What issue or error are you experiencing?

When I try to create a new site in Local, I get the following error:  
**“Heads-up! Local’s router is having trouble starting.”**  
The WordPress site doesn’t start properly, and no site URL is generated. Instead, I get a message saying the route couldn’t be retrieved or something similar.

* * *

### What steps can be taken to replicate the issue? Feel free to include screenshots, videos, etc

- Open Local (latest version)
- Click “Create a New Site”
- Fill in the site details normally
- Finish the setup
- The error appears, and the site fails to load with no valid URL

* * *

### System Details

- **Local Version: Latest**

- **Operating System (OS) and OS version: Ubuntu 20.04**

* * *

### Local Logs

## Attach your Local Logs here ([Help Doc - Retrieving Local’s Log](https://localwp.com/help-docs/troubleshooting/retrieving-locals-log-file/)) I don’t have the local logs available at the moment, but I’m attaching screenshots of the router error and the WordPress site error. I’ve reviewed the screenshots to ensure no sensitive information is visible. Note: The error message includes a link to this article: [Router Mode – Local Help ![LOCAL-ERROR](https://us1.discourse-cdn.com/flex019/uploads/lwpforums/original/3X/6/c/6c65f2d50b45a3ec5e81207116fd6b2af43bb8df.png) ![ROUTE](https://us1.discourse-cdn.com/flex019/uploads/lwpforums/original/3X/e/4/e4ca34b21d586aa1190f8471d8e1dcf5d9b388eb.png) ](https://localwp.com/help-docs/advanced/router-mode/). I’ve already tried switching the router mode to “localhost” under Preferences → Advanced, but the issue still persists.

_ **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.

---

<div class="post-metadata">

**Author:** ![SGZN](https://avatars.discourse-cdn.com/v4/letter/s/fbc32d/32.png) [@SGZN](https://community.localwp.com/u/SGZN)\
**Post date:** [April 10, 2025, 5:05am UTC](https://community.localwp.com/t/router-error-on-ubuntu-20-04-site-url-not-generated-and-wordpress-fails-to-load/49618/2 "2025-04-10T05:05:44Z")

</div>

[local-logs.zip](https://community.localwp.com/uploads/short-url/sPHrFEablRYGE7nHhXdPQaAsYu7.zip) (153.6 KB)  
Update file(LOGS)!

---

<div class="post-metadata">

**Author:** ![SGZN](https://avatars.discourse-cdn.com/v4/letter/s/fbc32d/32.png) [@SGZN](https://community.localwp.com/u/SGZN)\
**Post date:** [April 10, 2025, 5:07am UTC](https://community.localwp.com/t/router-error-on-ubuntu-20-04-site-url-not-generated-and-wordpress-fails-to-load/49618/3 "2025-04-10T05:07:50Z")

</div>

Update Files: Log’  
[local-lightning0.log](https://community.localwp.com/uploads/short-url/9AxZI5E9wj3fpIBUuQSUarrcz72.log) (1021.0 KB)  
[local-details.json](https://community.localwp.com/uploads/short-url/zadCxqqbaKSHGObKpYearbBtXDH.json) (1.1 KB)  
[local-lightning-verbose2.log](https://community.localwp.com/uploads/short-url/kBjcWVgmjg8BEQISeM1RA1wpJMd.log) (1.0 MB)  
[local-lightning-verbose1.log](https://community.localwp.com/uploads/short-url/cl4arx4SrE72EClwA1i4Rnlc9t7.log) (1.0 MB)  
[local-lightning-verbose0.log](https://community.localwp.com/uploads/short-url/2jB8FucvLS3SFPoRb3i2xDx6RDc.log) (63.5 KB)  
s!

---

<div class="post-metadata">

**Author:** ![nickc](https://sea1.discourse-cdn.com/flex019/user_avatar/community.localwp.com/nickc/32/21209_2.png) [@nickc](https://community.localwp.com/u/nickc)\
**Post date:** [April 10, 2025, 7:43am UTC](https://community.localwp.com/t/router-error-on-ubuntu-20-04-site-url-not-generated-and-wordpress-fails-to-load/49618/4 "2025-04-10T07:43:30Z")

</div>

Thanks for the screenshots and logs, @SGZN.

PHP 8.4 is linked against a newer version of libc than the one that ships with Ubuntu 20.04.

You could try one of these options:

- Update your OS. ([Ubuntu 20.04 reaches end of life in May 2025](https://ubuntu.com/about/release-cycle).) If updating to Ubuntu 24, be sure to see [this thread about getting Ubuntu 24 to run with Local](https://community.localwp.com/t/cannot-install-on-ubuntu-24/49299).
- Try an older version of PHP when creating your site. (Choose the PHP version by selecting “Custom” as the environment after giving your site a name, or change it for your existing site from the site overview area.)

---

<div class="post-metadata">

**Author:** ![system](https://sea1.discourse-cdn.com/flex019/user_avatar/community.localwp.com/system/32/1_2.png) [@system](https://community.localwp.com/u/system)\
**Post date:** [July 9, 2025, 7:44am UTC](https://community.localwp.com/t/router-error-on-ubuntu-20-04-site-url-not-generated-and-wordpress-fails-to-load/49618/5 "2025-07-09T07:44:01Z")

</div>

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