Hi
First off thanks to tekkbebe, ryecoaaron, davidh2k for the advice on my NAS build, before the recent upgrade I had 77 days of uptime with no issues running like a dream - Cheers
So finally upgraded to version 1 of OMV and changed from Apache to NGINX for the web server, I've had no problem moving DokuWiki across but have run into an issue with
Partkeepr, unfortunately Partkeepr is no longer supported and their forums are dying a slow death - so I don't expect to get an answer to my question (https://forum.partkeepr.org/viewtopic.php?f=2&t=1722) which is a shame as it's a cool electronics database and I've spent a while indulging the librarian in my by entering my resistors, capacitors and general electronic bits and bobs into.
Anyway back to my question, I have install the NGINX plug in and configured three servers 1) Dokuwki 2) Partkeepr and 3) Test Website. Dokuwiki works after I added some addition NGINX config taken from here https://www.dokuwiki.org/install:nginx.
My problem is that Partkeepr shows the log in screen but fails when I enter my username and password . It seems from reading around the web that NGINX has an issue with PATH_INFO and I have to say that I'm a little bit out of my depth here and understand bits but not enough to work up a fix. I suspect it something similar to the dokuwiki config and
I've tried a copy and paste then tweak and it didn't work
Appreciate that this isn't really an OMV issue but thought I'd ask, won't be offend if no one answers!
Below is the setting for the NGINX Pool and server as well as the error message from Partkeepr
Pool Settings
User: NGINX
Group: NGINX
Display Errors: Yes
Html Errors: No
Max Execution Time: 120
Memory Limit: 256
Max Post Size: 8
NGINX Config
<nginx>
<enable>1</enable>
<server_names_hash_bucket_size>32</server_names_hash_bucket_size>
<servers>
<server>
<uuid>c660e64f-8262-401b-b53a-204eeeb4e62f</uuid>
<enable>1</enable>
<sharedfolderref>29834ea7-81f5-4f48-90d1-68e4a090cd58</sharedfolderref>
<use_root>1</use_root>
<use_public_directory>0</use_public_directory>
<public_directory>public_html</public_directory>
<host_type>port</host_type>
<server_name></server_name>
<port>8090</port>
<port_default_server>0</port_default_server>
<ssl_enable>0</ssl_enable>
<ssl_port></ssl_port>
<ssl_port_default_server>0</ssl_port_default_server>
<sslcertificateref></sslcertificateref>
<ssl_force>0</ssl_force>
<php_enable>1</php_enable>
<php_pool_ref>4e0f8da2-30cc-4368-bb85-906c9ea31c64</php_pool_ref>
<php_use_default_config>1</php_use_default_config>
<use_index>1</use_index>
<use_index_html>1</use_index_html>
<use_index_php>1</use_index_php>
<autoindex>0</autoindex>
<deny_htaccess>0</deny_htaccess>
<log_enable>1</log_enable>
<large_client_header_buffers>8</large_client_header_buffers>
<extra_options>location / {
try_files $uri $uri/ @dokuwiki;
}
location ~ ^/lib.*\.(gif|png|ico|jpg)$ {
expires 30d;
}
location = /robots.txt { access_log off; log_not_found off; }
location = /favicon.ico { access_log off; log_not_found off; }
location ~ /\. { access_log off; log_not_found off; deny all; }
location ~ ~$ { access_log off; log_not_found off; deny all; }
location @dokuwiki {
rewrite ^/_media/(.*) /lib/exe/fetch.php?media=$1 last;
rewrite ^/_detail/(.*) /lib/exe/detail.php?media=$1 last;
rewrite ^/_export/([^/]+)/(.*) /doku.php?do=export_$1&id=$2 last;
rewrite ^/(.*) /doku.php?id=$1 last;
}
location ~ \.php$ {
try_files $uri =404;
fastcgi_pass unix:/var/run/php-fpm/dokuwiki.sock;
fastcgi_index index.php;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
include /etc/nginx/fastcgi_params;
fastcgi_param QUERY_STRING $query_string;
fastcgi_param REQUEST_METHOD $request_method;
fastcgi_param CONTENT_TYPE $content_type;
fastcgi_param CONTENT_LENGTH $content_length;
fastcgi_intercept_errors on;
fastcgi_ignore_client_abort off;
fastcgi_connect_timeout 60;
fastcgi_send_timeout 180;
fastcgi_read_timeout 180;
fastcgi_buffer_size 128k;
fastcgi_buffers 4 256k;
fastcgi_busy_buffers_size 256k;
fastcgi_temp_file_write_size 256k;
}
location ~ /(data|conf|bin|inc)/ {
deny all;
}
location ~ /\.ht {
deny all;
}</extra_options>
</server>
<server>
<uuid>e8d2e342-7e7e-41fe-aeb8-e42dea4af16d</uuid>
<enable>1</enable>
<sharedfolderref>2c30611d-00ff-4cdb-9dc9-8bb78c60d4e0</sharedfolderref>
<use_root>1</use_root>
<use_public_directory>0</use_public_directory>
<public_directory>public_html</public_directory>
<host_type>port</host_type>
<server_name></server_name>
<port>8091</port>
<port_default_server>0</port_default_server>
<ssl_enable>0</ssl_enable>
<ssl_port></ssl_port>
<ssl_port_default_server>0</ssl_port_default_server>
<sslcertificateref></sslcertificateref>
<ssl_force>0</ssl_force>
<php_enable>1</php_enable>
<php_pool_ref>4e0f8da2-30cc-4368-bb85-906c9ea31c64</php_pool_ref>
<php_use_default_config>1</php_use_default_config>
<use_index>1</use_index>
<use_index_html>1</use_index_html>
<use_index_php>1</use_index_php>
<autoindex>0</autoindex>
<deny_htaccess>0</deny_htaccess>
<log_enable>1</log_enable>
<large_client_header_buffers>8</large_client_header_buffers>
<extra_options></extra_options>
</server>
<server>
<uuid>a7a09b76-0ac4-4677-929c-b14d7d4e2b75</uuid>
<enable>1</enable>
<sharedfolderref>e2e71d96-dffe-4c18-9894-4adf27e1aff5</sharedfolderref>
<use_root>1</use_root>
<use_public_directory>0</use_public_directory>
<public_directory>public_html</public_directory>
<host_type>port</host_type>
<server_name></server_name>
<port>8092</port>
<port_default_server>0</port_default_server>
<ssl_enable>0</ssl_enable>
<ssl_port></ssl_port>
<ssl_port_default_server>0</ssl_port_default_server>
<sslcertificateref></sslcertificateref>
<ssl_force>0</ssl_force>
<php_enable>1</php_enable>
<php_pool_ref>4e0f8da2-30cc-4368-bb85-906c9ea31c64</php_pool_ref>
<php_use_default_config>1</php_use_default_config>
<use_index>1</use_index>
<use_index_html>1</use_index_html>
<use_index_php>0</use_index_php>
<autoindex>0</autoindex>
<deny_htaccess>0</deny_htaccess>
<log_enable>1</log_enable>
<large_client_header_buffers>8</large_client_header_buffers>
<extra_options></extra_options>
</server>
</servers>
</nginx>
Alles anzeigen
Partkeepr Error
Critical Error
Details
==================================
The server returned a response which we were not able to interpret.
Backtrace
==================================
undefined
Request
==================================
{"url":"rest.php/Auth/login","success":null,"failure":null,"method":"POST","params":"{\"username\":\"[i]{USERNAME REMOVE}[/i]\",\"password\":\"[i]{REMOVED}[/i]\"}","headers":{"call":"login","lang":"en_US"}}
Response
==================================
<html>
<head><title>404 Not Found</title></head>
<body bgcolor="white">
<center><h1>404 Not Found</h1></center>
<hr><center>nginx/1.2.1</center>
</body>
</html>
<!-- a padding to disable MSIE and Chrome friendly error page -->
<!-- a padding to disable MSIE and Chrome friendly error page -->
<!-- a padding to disable MSIE and Chrome friendly error page -->
<!-- a padding to disable MSIE and Chrome friendly error page -->
<!-- a padding to disable MSIE and Chrome friendly error page -->
<!-- a padding to disable MSIE and Chrome friendly error page -->
Server Configuration
==================================
doctrine_orm_version: 2.3.3
doctrine_dbal_version: 2.3.4
doctrine_common_version: 2.3.0
php_version: 5.4.4-14+deb7u14
maxUploadSize: 2097152
availableImageFormats: 3FR,A,AAI,AI,ART,ARW,AVI,AVS,B,BGR,BGRA,BIE,BMP,BMP2,BMP3,BRF,C,CAL,CALS,CANVAS,CAPTION,CIN,CIP,CLIP,CMYK,CMYKA,CR2,CRW,CUR,CUT,DCM,DCR,DCX,DDS,DFONT,DNG,DPX,EPDF,EPI,EPS,EPS2,EPS3,EPSF,EPSI,EPT,EPT2,EPT3,ERF,FAX,FITS,FRACTAL,FTS,G,G3,GIF,GIF87,GRADIENT,GRAY,GROUP4,HALD,HDR,HISTOGRAM,HRZ,HTM,HTML,ICB,ICO,ICON,INFO,INLINE,IPL,ISOBRL,J2C,J2K,JBG,JBIG,JNG,JP2,JPC,JPEG,JPG,JPX,K,K25,KDC,LABEL,M,M2V,M4V,MAC,MAP,MAT,MATTE,MEF,MIFF,MNG,MONO,MOV,MP4,MPC,MPEG,MPG,MRW,MSL,MTV,MVG,NEF,NRW,NULL,O,ORF,OTB,OTF,PAL,PALM,PAM,PATTERN,PBM,PCD,PCDS,PCL,PCT,PCX,PDB,PDF,PDFA,PEF,PES,PFA,PFB,PFM,PGM,PGX,PICON,PICT,PIX,PJPEG,PLASMA,PNG,PNG24,PNG32,PNG8,PNM,PPM,PREVIEW,PS,PS2,PS3,PSB,PSD,PTIF,PWP,R,RADIAL-GRADIENT,RAF,RAS,RGB,RGBA,RGBO,RLA,RLE,SCR,SCT,SFW,SGI,SHTML,SR2,SRF,STEGANO,SUN,TEXT,TGA,THUMBNAIL,TIFF,TIFF64,TILE,TIM,TTC,TTF,TXT,UBRL,UIL,UYVY,VDA,VICAR,VID,VIFF,VST,WBMP,WMV,WPG,X,X3F,XBM,XC,XCF,XPM,XPS,XV,XWD,Y,YCbCr,YCbCrA,YUV
Alles anzeigen