question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Disable File Server

See original GitHub issue

Name of Issue

Description of Issue

  • ActionHero Version: 19.0.4
  • Node.js Version: 10.13.0
  • Operating System: Ubuntu

Steps to reproduce your error

  • Make a new actionhero project with npx actionhero generate
  • Set urlPathForFiles to null to disable file server in config/servers/web.js
  • start the server and make a request to any endpoint

Server crashes with TypeError: Cannot read property 'split' of null here

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:5 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
evantahlercommented, Nov 18, 2018
0reactions
evantahlercommented, Nov 17, 2018

Good catch! I guess we should disable it then.

What’s interesting is that we’ll have to handle some cases from the default configuration where you might disable the file server and still have the default rootEndpointType='file'

Read more comments on GitHub >

github_iconTop Results From Across the Web

Whats an easy way to disable file shares without changing ...
Click on the Properties menu's "Security" tab and then select from the "Groups or Users Names" the user or group for which you'd...
Read more >
Disable File and Print Sharing - University of Delaware
Disable Windows File and Print Sharing in Windows 10. Open Control Panel. Click View network status and tasks under Network and Internet.
Read more >
[SOLVED] Temporarily pause file and storage services
I am migrating a file server from server 2012 to server 2016, different hardware. I have all the data/permissions copied over (robocopy), ...
Read more >
Disable windows file shares without losing share config
Two methods I can think of that don't require modifying the shares: Disable the Server service. (ServiceName: LanmanServer .
Read more >
Stop sharing network shares without removing them?
Uncheck "File and Printer Sharing for Microsoft Networks". Click OK. Disable, then Enable the network connection (or reboot).
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found