New OttoFMS Install on macOS: "You don't have permission to access the requested directory."

macOS Ventura 13.7.1
FileMaker Server 20.3.2 (long-running production machine / not new)
OttoFMS latest [4.9.0] (installed via command line with install script)

Installation went smoothly, but when I try to access OttoFMS like normal I am greeted with this message:

You don’t have permission to access the requested directory. There is either no index document or the directory is read-protected. You don’t have permission to access the requested object. It is either read-protected or not readable by the server.

The macOS account I’m using is an admin. There are some Additional Database Folders that I have confirmed having fmserver user read/write access. Additionally, I opened up permissions on a few other folders (which seems to not have any effect). I also followed the instructions here, to give OttoFMS full disk access, and restarted OttoFMS.

I’m wondering which directory or file I’m running into, that I don’t have read-access? What else can I try? Could the error message be improved to show exactly what folder / file it’s trying to access?

Do you see anything in the otto-info.log file? I would expect it to log there if there are disk reading errors

One other simple thing to try is restarting the Web Server. If OttoFMS is running and the logs look fine, then it could just be that the webserver needs a nudge. Restart it and see what happens.

Thanks

Todd

The contents of otto-info.log:

2025-02-04T13:38:32.449Z	info	otto internal database up to date
2025-02-04T13:38:32.455Z	info	Listening on http://localhost:3061
2025-02-04T13:38:32.455Z	info	environment "production"
2025-02-04T13:38:32.455Z	info	version "4.9.0"
2025-02-04T13:38:32.456Z	info	node version v20.11.1
2025-02-04T13:38:32.484Z	info	Creating otto proxy conf file - {"file":"/Library/FileMaker Server/HTTPServer/conf/extra/httpd-otto-proxy.conf"}
2025-02-04T13:38:32.511Z	info	Creating backup of httpd.conf file - {"file":"/Library/FileMaker Server/HTTPServer/conf/httpd.conf","backupFile":"/Library/FileMaker Server/HTTPServer/conf/httpd.conf.bak"}
2025-02-04T13:38:32.545Z	info	updating main http conf
2025-02-04T13:38:32.666Z	info	started watching offsite backup
2025-02-04T13:38:32.667Z	info	started watching for hostname changes
2025-02-04T13:38:32.672Z	info	License status: undefined
2025-02-04T13:38:43.486Z	info	Restarted httpserver
2025-02-04T13:38:43.487Z	info	Reverse Proxy installed or updated
2025-02-04T13:43:23.442Z	info	otto internal database up to date
2025-02-04T13:43:23.447Z	info	Listening on http://localhost:3061
2025-02-04T13:43:23.447Z	info	environment "production"
2025-02-04T13:43:23.448Z	info	version "4.9.0"
2025-02-04T13:43:23.448Z	info	node version v20.11.1
2025-02-04T13:43:23.600Z	info	started watching offsite backup
2025-02-04T13:43:23.600Z	info	started watching for hostname changes
2025-02-04T13:43:23.604Z	info	Reverse Proxy already installed
2025-02-04T13:43:23.606Z	info	License status: undefined
2025-02-04T13:51:07.281Z	info	otto internal database up to date
2025-02-04T13:51:07.287Z	info	Listening on http://localhost:3061
2025-02-04T13:51:07.287Z	info	environment "production"
2025-02-04T13:51:07.287Z	info	version "4.9.0"
2025-02-04T13:51:07.288Z	info	node version v20.11.1
2025-02-04T13:51:07.450Z	info	started watching offsite backup
2025-02-04T13:51:07.450Z	info	started watching for hostname changes
2025-02-04T13:51:07.454Z	info	Reverse Proxy already installed
2025-02-04T13:51:07.456Z	info	License status: undefined
2025-02-04T13:56:25.534Z	info	otto internal database up to date
2025-02-04T13:56:25.540Z	info	Listening on http://localhost:3061
2025-02-04T13:56:25.540Z	info	environment "production"
2025-02-04T13:56:25.540Z	info	version "4.9.0"
2025-02-04T13:56:25.541Z	info	node version v20.11.1
2025-02-04T13:56:25.695Z	info	started watching offsite backup
2025-02-04T13:56:25.696Z	info	started watching for hostname changes
2025-02-04T13:56:25.699Z	info	Reverse Proxy already installed
2025-02-04T13:56:25.702Z	info	License status: undefined

I tried fmsadmin restart wpe and sudo apachectl restart and restarted OttoFMS but still same result. I’m not 100% sure I know what you mean by restarting the Web Server @toddgeist.

you can do fmsadmin restart httpserver on the command line to restart the web server.

But sudo apachectl restart would do the same thing. Or at least it should have.

Can you send a screenshot of the error you are seeing

Thanks

Todd

Thanks. I tried fmsadmin restart httpserver (and restarted OttoFMS again) and now it works!

I was trying to just login through the web browser (Safari in this case):

I think part of my problem was I was not using https://, at least in my later efforts.

I think I’m good now. Thanks so much!

1 Like