You are not logged in.

Announcement

 Téléchargez la dernière version stable de GLPI      -     Et vous, que pouvez vous faire pour le projet GLPI ? :  Contribuer
 Download last stable version of GLPI                      -     What can you do for GLPI ? :  Contribute

#1 2022-08-05 03:15:43

empbilly
Member
Registered: 2021-02-10
Posts: 14

[SOLVED] Access denied + file not found

Hi,

After upgrade to 10.0.2, via webgui the attached file seems to be there, but when I click on it I get the message file not found.

No TXT, PNG, PDF, etc. folder is created in /var/www/html/files.

I have even given permission 777 on the files folder and still the problem occurs.

root@glpi:/var/www/html/files# ls -laht
total 88K
drwxrwxrwx  2 www-data www-data  20K Aug  4 22:14 _sessions
drwxrwxrwx  2 www-data www-data 4.0K Aug  4 22:10 _tmp
drwxrwxrwx 16 www-data www-data 4.0K Aug  4 21:49 .
drwxrwxrwx  2 www-data www-data 4.0K Aug  4 21:49 _dumps
drwxrwxrwx  2 www-data www-data 4.0K Aug  4 21:49 _graphs
drwxrwxrwx  2 www-data www-data 4.0K Aug  4 21:49 _lock
drwxrwxrwx  2 www-data www-data 4.0K Aug  4 21:49 _pictures
drwxrwxrwx  2 www-data www-data 4.0K Aug  4 21:49 _plugins
drwxrwxrwx  2 www-data www-data 4.0K Aug  4 21:49 _rss
drwxrwxrwx  2 www-data www-data 4.0K Aug  4 21:49 _uploads
drwxrwxrwx  6 www-data www-data 4.0K Aug  4 21:49 _cache
drwxrwxrwx  2 www-data www-data 4.0K Aug  4 21:49 _cron
drwxrwxrwx  2 www-data www-data 4.0K Aug  4 21:45 _log
drwxrwxrwx 22 www-data www-data 4.0K Aug  4 14:56 ..
drwxrwxrwx  2 www-data www-data 4.0K Aug  4 14:56 _inventories
drwxrwxrwx  2 www-data www-data 4.0K Aug  4 14:56 _locales
-rwxrwxrwx  1 www-data www-data  114 Jun 28 09:03 .htaccess

Any tips?

Last edited by empbilly (2022-08-06 20:47:58)

Offline

#2 2022-08-05 08:42:14

LaDenrée
HELPER
Registered: 2012-11-19
Posts: 6,288

Re: [SOLVED] Access denied + file not found

I think your files are not there !

did you copy file from your previous version ?

there is also one possibilty that in your previous instance, your files where not in the web folder (glpi/files)(see here https://glpi-install.readthedocs.io/en/ … -locations ) in this case set the downstreeam.php file


Trouver la panne avant de réparer...
GLPI10.0.16 (ubuntu 22.04 PHP8.1  Mariadb10.6 ) plugins : comportements 2.7.3 reports 1.16.0 formcreator 2.13.9, datainjection 2.13.5 fields 1.21.9

Offline

#3 2022-08-05 16:02:03

empbilly
Member
Registered: 2021-02-10
Posts: 14

Re: [SOLVED] Access denied + file not found

LaDenrée wrote:

I think your files are not there !

did you copy file from your previous version ?

there is also one possibilty that in your previous instance, your files where not in the web folder (glpi/files)(see here ... ) in this case set the downstreeam.php file

Ok, but even in new tickets, the attached files are not upload to the html/files folder.

Do I need to recreate the TXT, PDF folders, for example, or is it created automatically by glpi?

Offline

#4 2022-08-06 20:47:40

empbilly
Member
Registered: 2021-02-10
Posts: 14

Re: [SOLVED] Access denied + file not found

I recreated everything and now it work!..

Offline

Board footer

Powered by FluxBB