You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It seems like web2py tries to make a deposit folder in the root dir. The docs say:
The first time you start web2py, two new folders are created: deposit and applications. The deposit folder is used as temporary storage for installing and uninstalling applications.
When installing from scratch, the web process may not have write access, so we should create this folder with group write permissions e.g. in
It'd be nicer to knobble the need for deposit if we can. It's not immediately obvious why this would have been triggered, I'm guessing it's trying to install welcome.w2p or summat.
If you still have a stack trace for the original error, it'd be worth pasting in here.
unable to load app 0 (mountpoint='') (callable not found or import error)
*** no app loaded. GAME OVER ***
create_missing_folders()
File "/usr/home/web2py/www.onezoom.org/gluon/fileutils.py", line 506, in create_missing_folders
try_mkdir(abspath(path, gluon=True))
File "/usr/home/web2py/www.onezoom.org/gluon/fileutils.py", line 495, in try_mkdir
os.mkdir(path)
PermissionError: [Errno 13] Permission denied: '/usr/home/web2py/www.onezoom.org/deposit'
unable to load app 0 (mountpoint='') (callable not found or import error)
*** no app loaded. GAME OVER ***
It seems like web2py tries to make a
deposit
folder in the root dir. The docs say:When installing from scratch, the web process may not have write access, so we should create this folder with group write permissions e.g. in
OZtree/install-supervisord.sh
Line 16 in fb96f14
The same seems to go for
logs
, which also seems to be required at the top level.The text was updated successfully, but these errors were encountered: