Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Updated to 7.0.1 and server now gets error when starting up (ERR_MODULE_NOT_FOUND)

Featured Replies

Hello, I hope you can help, I just updated my server to 7.0.1 and now the system doesn't start up properly. I get the error "Error (ERR_MODULE_NOT_FOUND): Cannot find package 'execa' imported from /usr/local/unraid-api-/dist/cli.js

PXL_20250403_210009326_MP.thumb.jpg.3c62a626248dd44f5099f5ec9d580c3a.jpg

Anyone know how I can solve this? I do get a login in the CLI but no web page.

Solved by trurl

  • Community Expert
1 hour ago, severanced said:

I do get a login in the CLI

 

12 minutes ago, severanced said:

@trurl How do I get diagnostics out of the server when I can't reach it?

Click the Diagnostics link to find out 

  • Community Expert
  • Solution

Looks like your static network assignments don't agree with your gateway.

 

Delete or rename config/network.cfg on your flash drive so it will use defaults.

 

Really better if you let your router reserve an IP by MAC address instead of assigning static IP on your server.

  • Author

Thank you @trurl I had to remove the network.cfg file and I had to remove the reservation from my router and then the system started up with an IP, looks like something was jacked there that only came to light now.

Hallo,

 

 

I have same problem. I get red triangle saying that API is offline. 

If I'm deleting network.cfg doesnt help. Same issue. I also have the same error as above for nginx restart. What can I do?

 

 

cat /boot/config/network.cfg
# Generated settings:
IFNAME[0]="br0"
DHCP_KEEPRESOLV="no"
DHCP6_KEEPRESOLV="yes"
BONDNAME[0]="bond0"
BONDNICS[0]="eth0 eth1 eth2 eth3"
BONDING_MODE[0]="1"
BONDING_MIIMON[0]="100"
BRNAME[0]="br0"
BRNICS[0]="bond0"
BRSTP[0]="no"
BRFD[0]="0"
PROTOCOL[0]="ipv4"
USE_DHCP[0]="yes"
USE_DHCP6[0]=""
SYSNICS="1"

 

  • Community Expert
45 minutes ago, hes said:

What can I do?

Attach Diagnostics ZIP to your NEXT post in this thread.

I suppose the Moderator is from Unraid team?

Can I upload somewhere? not sure if there are sensitive or privacy information in it.

  • Community Expert

There is an Anonymize checkbox when you create the diagnostics.

 

Moderator is just another user like yourself. Free support is from other users on the forum. We all try to help each other.

  • Community Expert
1 hour ago, hes said:

Can I upload somewhere? not sure if there are sensitive or privacy information in it

Virtually all of the files in the diagnostics.zip files are text files so you can examine them and decide if they contain information that you are you happy to share.
 

 If you notice some worth mentioning in case it is something that the Unraid anonymisation process used when producing the diagnostics can be improved for the future.

You are right, the anonymizer works quite well. I did some little cleaning of plain names in the file ...

Syslogs show the error:

 

Apr 11 12:41:09 unraid rc.nginx: Starting Nginx server daemon...
Apr 11 12:41:10 unraid root: node:internal/modules/package_json_reader:268
Apr 11 12:41:10 unraid root:   throw new ERR_MODULE_NOT_FOUND(packageName, fileURLToPath(base), null);
Apr 11 12:41:10 unraid root:         ^
Apr 11 12:41:10 unraid root:
Apr 11 12:41:10 unraid root: Error [ERR_MODULE_NOT_FOUND]: Cannot find package 'execa' imported from /usr/local/unraid-api/dist/cli.js
Apr 11 12:41:10 unraid root:     at Object.getPackageJSONURL (node:internal/modules/package_json_reader:268:9)
Apr 11 12:41:10 unraid root:     at packageResolve (node:internal/modules/esm/resolve:768:81)
Apr 11 12:41:10 unraid root:     at moduleResolve (node:internal/modules/esm/resolve:854:18)
Apr 11 12:41:10 unraid root:     at defaultResolve (node:internal/modules/esm/resolve:984:11)
Apr 11 12:41:10 unraid root:     at ModuleLoader.defaultResolve (node:internal/modules/esm/loader:685:12)
Apr 11 12:41:10 unraid root:     at #cachedDefaultResolve (node:internal/modules/esm/loader:634:25)
Apr 11 12:41:10 unraid root:     at ModuleLoader.resolve (node:internal/modules/esm/loader:617:38)
Apr 11 12:41:10 unraid root:     at ModuleLoader.getModuleJobForImport (node:internal/modules/esm/loader:273:38)
Apr 11 12:41:10 unraid root:     at ModuleJob._link (node:internal/modules/esm/module_job:135:49) {
Apr 11 12:41:10 unraid root:   code: 'ERR_MODULE_NOT_FOUND'
Apr 11 12:41:10 unraid root: }
Apr 11 12:41:10 unraid root:
Apr 11 12:41:10 unraid root: Node.js v22.14.0
Apr 11 12:41:10 unraid rc.nginx: Nginx server daemon...  Started.

 

MY main problem is the RED Triangle in Unraid UI saying that API is not connected.

But its maybe not related to error above. Syslog also says:

Apr 11 12:40:41 unraid rc.local: Checking DNS...
Apr 11 12:40:41 unraid rc.local: ⚠️ Warning: Your DNS server (192.168.1.1) is unable to resolve 'mothership.unraid.net'
Apr 11 12:40:41 unraid rc.local:   Recommend navigating to Settings -> Network Settings and changing your DNS server to 8.8.8.8

 

But thats no true. When I make "nslookup mothership.unraid.net" on unraid cmd line I get:

Server:         192.168.1.1
Address:        192.168.1.1#53

Non-authoritative answer:
Name:   mothership.unraid.net
Address: 172.67.69.176
Name:   mothership.unraid.net
Address: 104.26.3.117
Name:   mothership.unraid.net
Address: 104.26.2.117

 

Thats wired ...

 

BR

unraid-diagnostics-20250411-1503.zip

forgot to attach the API log file:

 

logs.json

  • Community Expert

The error comes from the Connect plugin, not sure if it's an actual issue, if you are not experiencing any other issue you can possibly just ignore, but you can also make a post in the Connect plugin support subforum, in case they can help.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.