You are not logged in.
Pages: 1
Hello folks,
I have a problem with adding docs when using simplified interface.
First things:
case 1) if I upload file from the simply interface there is no error with creation of the ticket(GUI) but no doc here.
case 2) if I upload file from the TICKET later(after creation) the DOCs is present.
-----
My notes:
case 1)
Docs r uploaded into "files/XXX" folders but they r not visible in the tickets and database neither.
There is an error in the log:
_log/php-errors.log
Warning(2): rename(/tmp/phpz13DS8,../files/TXT/9b/6d751da2c1d1cfdcc46077202e7c34d77db17b.TXT): Permission denied
Backtrace :
/var/www/inc/document.class.php:815 rename()
/var/www/inc/document.class.php:946 Document::renameForce()
/var/www/inc/document.class.php:157 Document::uploadDocument()
/var/www/inc/commondbtm.class.php:567 Document->prepareInputForAdd()
/var/www/inc/ticket.class.php:1420 CommonDBTM->add()
/var/www/inc/ticket.class.php:1065 Ticket->addFiles()
/var/www/inc/commondbtm.class.php:589 Ticket->post_addItem()
/var/www/front/tracking.injector.php:76 CommonDBTM->add()
Anyway the filename shown is correct in the folder on the server:
ls -l /var/www/files/TXT/9b/
-rwxrwxr-x 1 glpi glpi 25 18. dub 14.31 6d751da2c1d1cfdcc46077202e7c34d77db17b.TXT
case 2)
Soubor je platný. Upload byl úspěšný. // File has been uploaded successfully
Položka byla přidána : Dokument Úkol - test // Item has been added
and:
mysql> select id,name,filepath from glpi_documents where is_deleted=0;
| 38 | Dokument �kol - test | TXT/9b/6d751da2c1d1cfdcc46077202e7c34d77db17b.TXT
After deletion from GLPI. There is no file present on the FS.
Mazání souboru bylo úspěšné ../files/TXT/9b/6d751da2c1d1cfdcc46077202e7c34d77db17b.TXT
Operace byla úspěšná // Successfuly purged from the trash
My question is... Where could be the problem?
Thx for some kind of clue.
Additional info:
Machine A: GLPI 0.78.1. Hosting DB and uploaded FILES(DOCS). OS: Ubuntu Karmic
Machine B: GLPI 0.78.1. Connected to DB(Machine A). Own GLPI + LDAP module installed. FILES(DOCS) r connected through sshfs with umask 002 and owner glpi:glpi. OS: Debian Squeeze
Production:
GLPI 0.80.4 + OCSI 1.02 + LDAP(MS Domain) on Debian GNU/Linux (database on master)
GLPI 0.80.4 on Ubuntu 9.10 (database master)
Offline
Anyone has an idea?
Or any experiences with similar situations?
Production:
GLPI 0.80.4 + OCSI 1.02 + LDAP(MS Domain) on Debian GNU/Linux (database on master)
GLPI 0.80.4 on Ubuntu 9.10 (database master)
Offline
Try the version 0.78.4 that corrects many bug on documents
CentOS 6.5 - CentOS 7.x
PHP 5.6 - PHP 7.x - MySQL 5.6 - MariaDB 10.2 + APC + oOPcache
GLPI from 0.72 to dev version
Certifiée ITIL (ITV2F, ITILF, ITILOSA)
Offline
Pages: 1