#239 Directories errors on install process

Lezárt
megnyitva ekkor: 3 éve narcisgarcia által · 2 hozzászólás
Narcis Garcia hozzászólt 3 éve

I downloaded package from https://notabug.org/diogo/gnu-social/archive/nightly.tar.gz and unpacked in a website root directory. Gave all permissions to whole tree.

I had to visit (undocumented) /public/install.php page to find a web wizard to setup this CMS, but these are the errors it reports to me:

GNU social was unable to create a directory on this path: /srv/www/testing/site.tree/public/file/avatar/

Warning: mkdir(): No such file or directory in /srv/www/testing/site.tree/public/lib/util/installer.php on line 174

GNU social was unable to create a directory on this path: /srv/www/testing/site.tree/public/file/

I've also tried with giving the most insecure permissions, but no success:

chmod -R a+rwX /srv/www/testing/site.tree/public

I downloaded package from https://notabug.org/diogo/gnu-social/archive/nightly.tar.gz and unpacked in a website root directory. Gave all permissions to whole tree. I had to visit (undocumented) /public/install.php page to find a web wizard to setup this CMS, but these are the errors it reports to me: GNU social was unable to create a directory on this path: /srv/www/testing/site.tree/public/file/avatar/ Warning: mkdir(): No such file or directory in /srv/www/testing/site.tree/public/lib/util/installer.php on line 174 GNU social was unable to create a directory on this path: /srv/www/testing/site.tree/public/file/ I've also tried with giving the most insecure permissions, but no success: chmod -R a+rwX /srv/www/testing/site.tree/public
Gijs hozzászólt 3 éve

In my case, the installation completes when you manually add

 mkdir /var/www/gnu-social/file/
 mkdir /var/www/gnu-social/file/avatar
In my case, the installation completes when you manually add ``` mkdir /var/www/gnu-social/file/ mkdir /var/www/gnu-social/file/avatar ```
Diogo Cordeiro hozzászólt 3 éve
Tulajdonos

@Gijs's solution should work, it's weird that even with permissions it couldn't create. I would check if the owner and group of the tree are compatible with the user being used by the PHP queue. But that part of the code seems fine, it really must be an issue with the way you're configuring your webserver. But, if it is able to store media and avatar after installed, you shouldn't have to concern much about it...

@Gijs's solution should work, it's weird that even with permissions it couldn't create. I would check if the owner and group of the tree are compatible with the user being used by the PHP queue. But that part of the code seems fine, it really must be an issue with the way you're configuring your webserver. But, if it is able to store media and avatar after installed, you shouldn't have to concern much about it...
diogo lezárta ekkor: 3 éve
Jelentkezzen be hogy csatlakozhasson a beszélgetéshez.
Nincs mérföldkő
Nincs megbízott
3 Résztvevő
Töltés...
Mégse
Mentés
Még nincs tartalom.