Open chavan92 opened 1 year ago
If you revert back to 1.29, using the same data, does it work again?
I guess I know the issue: Version 1.30.0: when I run tile38-server in my home directory [ ~/ ] , it crashes with the mentioned error - invalid argument. but when I run through any sub directory like ~/Downloads, it works.
I cannot revert back to 1.29 through brew, I guess it is disabled. but I tested 1.29.2 by downloading the zip from release builds. The issue is not seen on this build. It works fine in ~/
Also tested 1.30.0 by manually downloading the zip from release builds.
I'm able to reproduce the problem consistently. So I suspect the problem is with the path, it is looking for some subdirectory considering home as root.
We are facing the same sittuation with version 1.31.0.
The installation was made with docker (https://hub.docker.com/r/tile38/tile38/) in Ubuntu server.
@tidwall , @chavan92 any updates on this?
We were able to run version 1.29.2 and its working without problem.
After a long time using 1.29.2 version we must to use a version above 1.30 (1.32.0) in this case, we noticed that the issue was in the data directory. In that case starting tile38
tile38-server
or
tile38-server -d 'data'
give problems.
So the test was to put all the full path in data, and it run without problem:
tile38-server -d './fullpath/data'
And the error goes away
Hope it helps! :)
Describe the bug Upgraded from 1.29.0 to 1.30.0 on MacOS. on running tile-server command it immediately crashes with error: 2022/12/03 20:07:28 [FATA] invalid argument ''
To Reproduce Steps to reproduce the behavior:
brew install tile38
Expected behavior Tile server should start and keep running.
Logs
| |_| || | . | Tile38 1.30.0 (a09ff07c) 64 bit (amd64/darwin) | | | | | -| | . | Port: 9851, PID: 672 || |||||| tile38.com
2022/12/03 20:07:27 [INFO] Server started, Tile38 version 1.30.0, git a09ff07c 2022/12/03 20:07:27 [INFO] Ready to accept connections at [::]:9851 2022/12/03 20:07:27 [INFO] AOF loaded 2195 commands: 0.01s, 347112/s, 81 MB/s 2022/12/03 20:07:28 [FATA] invalid argument ''
Operating System (please complete the following information):
Additional context Tried uninstalling tile38 completely and fresh reinstalling, still same behavior is observed.