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
If you were performing an action on the app from the webadmin or the CLI (install, update, backup, restore, change_url...), you are on the right place!
Otherwise, the issue may be due to the app itself. Refer to its documentation or repository for help.
When in doubt, post here and we will figure it out together.
Delete the italic comments as you write over them below, and remove this guide.
Describe the bug
I tried to create a "person" in castopod.
Context
Hardware: VPS (gandi) bought online
YunoHost version: 11.2.5 (stable)
I have access to my server: Through SSH, through the webadmin
Are you in a special context or did you perform some particular tweaking on your YunoHost instance?: *no
Using version: 1.6.5~ynh1
Steps to reproduce
Go to 'persons' --> 'New person'
Enter person's credentials
Click on 'Create person'
See Error: '
Whoops!
We seem to have hit a snag. Please try again later...
ErrorException
touch(): Unable to create file /home/yunohost.app/castopod/media/persons/index.html because Permission denied
at /var/www/castopod/modules/Media/FileManagers/FS.php:34'
How to post a meaningful bug report
Describe the bug
I tried to create a "person" in castopod.
Context
Steps to reproduce
Whoops!
We seem to have hit a snag. Please try again later...
ErrorException
touch(): Unable to create file /home/yunohost.app/castopod/media/persons/index.html because Permission denied
at /var/www/castopod/modules/Media/FileManagers/FS.php:34'
Expected behavior
New person is created.
Logs
ErrorException: touch(): Unable to create file /home/yunohost.app/castopod/media/persons/index.html because Permission denied in /var/www/castopod/modules/Media/FileManagers/FS.php:34
Stack trace:
#0 [internal function]: CodeIgniter\Debug\Exceptions->errorHandler()
#1 /var/www/castopod/modules/Media/FileManagers/FS.php(34): touch()
#2 /var/www/castopod/modules/Media/Entities/Image.php(151): Modules\Media\FileManagers\FS->save()
#3 /var/www/castopod/modules/Media/Entities/Image.php(101): Modules\Media\Entities\Image->saveSizes()
#4 /var/www/castopod/modules/Media/Models/MediaModel.php(120): Modules\Media\Entities\Image->saveFile()
#5 /var/www/castopod/app/Entities/Person.php(82): Modules\Media\Models\MediaModel->saveMedia()
#6 /var/www/castopod/vendor/codeigniter4/framework/system/Entity/Entity.php(483): App\Entities\Person->setAvatar()
#7 /var/www/castopod/vendor/codeigniter4/framework/system/Entity/Entity.php(150): CodeIgniter\Entity\Entity->__set()
#8 /var/www/castopod/vendor/codeigniter4/framework/system/Entity/Entity.php(131): CodeIgniter\Entity\Entity->fill()
#9 /var/www/castopod/modules/Admin/Controllers/PersonController.php(81): CodeIgniter\Entity\Entity->__construct()
#10 /var/www/castopod/modules/Admin/Controllers/PersonController.php(25): Modules\Admin\Controllers\PersonController->attemptCreate()
#11 /var/www/castopod/vendor/codeigniter4/framework/system/CodeIgniter.php(918): Modules\Admin\Controllers\PersonController->_remap()
#12 /var/www/castopod/vendor/codeigniter4/framework/system/CodeIgniter.php(494): CodeIgniter\CodeIgniter->runController()
#13 /var/www/castopod/vendor/codeigniter4/framework/system/CodeIgniter.php(353): CodeIgniter\CodeIgniter->handleRequest()
#14 /var/www/castopod/public/index.php(85): CodeIgniter\CodeIgniter->run()
#15 {main}
The text was updated successfully, but these errors were encountered: