[App Server] Can't start app on Raspian lite

Hi, how is life…

I did install successfully on a standard Raspbian OS…

Now trying to install it on Raspian lite… on which did install an UI for ease of use.
But can’t start an app even the test ones…

here is the stack:

pi@RaspPi4Server:~ $ anvil-app-server --app ToDoList
Downloading Anvil App Server JAR to package directory
Failed to download App Server to package directory. Retrying in ~/.anvil
Traceback (most recent call last):
File “/usr/local/lib/python3.7/dist-packages/anvil_app_server/init.py”, line 167, in find_or_download_app_server
_urlretrieve(url, package_dir_path, show_progress)
File “/usr/lib/python3.7/urllib/request.py”, line 257, in urlretrieve
tfp = open(filename, ‘wb’)
PermissionError: [Errno 13] Permission denied: ‘/usr/local/lib/python3.7/dist-packages/anvil_app_server/anvil-app-server.20200810-143539.jar’

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File “/usr/local/bin/anvil-app-server”, line 10, in
sys.exit(launch())
File “/usr/local/lib/python3.7/dist-packages/anvil_app_server/init.py”, line 12, in launch
jar_path = find_or_download_app_server()
File “/usr/local/lib/python3.7/dist-packages/anvil_app_server/init.py”, line 172, in find_or_download_app_server
_urlretrieve(url, home_dir_path, show_progress)
File “/usr/lib/python3.7/urllib/request.py”, line 257, in urlretrieve
tfp = open(filename, ‘wb’)
FileNotFoundError: [Errno 2] No such file or directory: ‘/home/pi/.anvil/anvil-app-server.20200810-143539.jar’

Any clues…

Regards,

Steph

Hi @stedes_dev,

Looks like you’ve got a permissions issue that’s preventing the .jar file from being downloaded.

Could you try using a virtualenv and see if that solves the problem?