App keeps getting disabled

Hi,

I made an app and I placed it in the path /nextcloud/extra-apps/, now when I log in as an admin I see the app in the list, and when I press ā€œenableā€ says ā€œenablingā€ and the button change its state to ā€œdisableā€ which means the app is already enabled, but when I refresh the page, the button returns back to ā€œenableā€ which can be understood as the app was disabled after the refreshing the page, keep in mind that another external app I added it to the same path as a test, when I enable it stays enabled unlike my app.

what could be the problem? also how to know if app is running on the server assuming it doesnā€™t have GUI

Thanks

I there
Got this problem a while ago for an app I had historically installed manually.
Check your nexcloudā€™s logs. I bet youā€™ll see a lot of ā€˜access deniedā€™ errors.
Check that your appā€™s files ownership are the same than the other apps.
That should solve your issue immediately.
Regards,
Aal.

2 Likes