Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Web Server for unRAID 6?

Featured Replies

Still not working. STOPPED...  :( :'(

 

EDIT : My fault ; wrong directory on httpd.conf.

 

It's working.

 

It stay this " AH00558: httpd: Could not reliably determine the server's fully qualified domain name, using 127.0.0.1. Set the 'ServerName' directive globally to suppress this message"

 

You can edit the httpd.conf in /boot/config/plugins/apache and uncomment

#ServerName www.example.com:80

and change it to whatever your server is named like

ServerName tower

Then restart apache

  • Replies 61
  • Views 8.1k
  • Created
  • Last Reply

I have #ServerName NAS

but same error...

 

I have another question, i can not acces my data dir under Windows. is it normal ?

I changed the plugin to automatically get your unraid hostname and run apache with it as ServerName.  So no need to uncomment it. Do you mean the Document Root where you webpages are?  I think that would be normal because of the permissions and owner of the directory.

Yes, i'm not the proprietary of the folder... but how can I copy files in ?

FTP doesn't work too

 

I am rebooting the Unraid server, I will try to update plugin after restart

Solved for the permissions with reboot.

 

But i Still have the servername problem. I've updated the PLG but must I reboot again ?

By default owner when the plugin creates the directory are root.  It should probably be apache:apache.  But I never got around to implementing that. If its a local web server you could just change the owner to nobody:users

chown -R nobody:users /mnt/cache/www

 

Where are you seeing the servername error?

when i enter apachectl on telnet.

 

root@NAS:~# apachectl
AH00558: httpd: Could not reliably determine the server's fully qualified domain name, using 127.0.0.1. Set the 'ServerName' directive globally to suppress this message

 

Is it the only method to change rights on a folder on unraid ?

 

I try to install GLPI on my server... I can see the startup page but no lonks work when I click on a button...

 

edit : It is indicated that i must give right to php on 2 specific folder ? Do you knox how to ? because for me, php is not a user :)

the apachectl command will only work if you have everything in its default place. Like httpd.conf in /etc/httpd  If you want to test from the command line you need something like this

sudo -u root apachectl -k start -f /boot/config/plugins/apache/httpd.conf -c "Listen 8088" -c "ServerName Server"

 

That is the full command line the plugin uses.  It is briefly visible on the settings page in the webgui when you start apache. You shouldn't need the command line in everyday use.  The plugin will start and stop the web server on boot and shutdown if you choose.

 

I use linux and setup up sftp links to my server, vm ,xbmc etc  So i'm browsing the files like I would on my own computer.  But when I used windows I would use WinSCP and set up a sftp through that.  I also use sftp on my android phone using ES File Explorer.  I usually log in as root to manipulate system files.

I'm sorry. I don't understant all of what you say :)

 

SFTP ? When I try on WinSCP for connect to unraid.. it says access denied... excepet for FTP user who have a password and it say that SFTP not enabled.

 

EDIT : It's difficult for me :) I'm French and Windows User...

 

I can see the first page of glpi installation but nothing else that a blank page when i click next... I can only charge one php page at time it seems...

I'm sorry. I don't understant all of what you say :)

 

SFTP ? When I try on WinSCP for connect to unraid.. it says access denied... excepet for FTP user who have a password and it say that SFTP not enabled.

 

EDIT : It's difficult for me :) I'm French and Windows User...

 

I can see the first page of glpi installation but nothing else that a blank page when i click next... I can only charge one php page at time it seems...

 

You might try setting the owner for you document root to this using your install path

chown -R apache:apache /mnt/cache/www

 

I just booted into my windows and for WinSCP you can use SCP or SFTP with allow SCP fallback checked both on port 22.  It does have a pop up the first time you connect that checks the security which you must accept. 

I have changed owner from root to apache... but... same problem. "php permissions" is apache user ?

 

Thanks for your precious help. my problem is not totally solved but apache server work, :) not php website on it !:/ I only have one application (Glpi) to test it.

Do you know another mini website or application that i can try on my web server ?

 

 

Also you can create a phpinfo.php to verify that php is working.


<?php

// Show all information, defaults to INFO_ALL
phpinfo();

?>

Just save this in phpinfo.php and copy to web directory.

then check http://Server:8080/phpinfo.php

 

Edit : Also phpMyAdmin is what I created the plugin for

it's working...  :)

 

Then problem is glpi... :/

 

 

uncommented means retire the # ?

 

 

It's not specified.  just says that need php 5.3 with sessions support.

 

 

It's not specified.  just says that need php 5.3 with sessions support.

I got it working.  I added php.ini to /etc/httpd

 

You need to delete /boot/config/plugins/apache directory and remove the old plugin /boot/config/plugins/apache_64.plg then download again and installplg

I changed some things that will be incompatible with old version.  Also there is no need to edit httpd.conf.  Everything is done from the webgui.  Document Root, Port and User.  It can be run as nobody or the apache user or any other user you choose

dmacias, you are a Genious !!!

 

Perfect job for the plugin ! All it's working. I have to run it with "apache" user from i have changed owner on folder yesterday.

 

Thanks you very much for your great help !!

 

Maybe should you post a new topic on unraid 6 plugins to propose your apache plugin. :)

 

Thanks.

Thank you for your patience and making me finish the plugin.  Maybe I'll make a thread.  But I'm glad it worked for you.

Thanks again :) I'm not developper just technician :) and only on Windows :)

 

Maybe you can help too for mysql plugin of ikosa, the webguy modifications not modifiate CFG file on flash drive. But CFG file modify webguy info.

Do you have any idea  ?  If its not too asked for you :)

 

 

Yes I can look into it.  Also I saw you wanted to mount an external sata disk.  This is what I use for a SSD in my go file

 mkdir /mnt/domains
mount -rw -o noatime,nodiratime,discard -t ext4 /dev/disk/by-id/ata-OCZ-AGILITY3_OCZ-7Z9232P32MR4B884-part1 /mnt/domains

 

There's a thread on here how to mount an external drive.

 

It's an internal disk  ;D

How can I adapt your code to use mine disk ? I don't know how to find it on linux telnet :/

Ok

 

I see it on  /dev/disk/by-id/

 

Ca you explain me

"-rw -o noatime,nodiratime,discard -t ext4"

 

- rw Read/write i suppose

 

I also have to format the disk It-s a windows NTFS disk at this state... not empty

Archived

This topic is now archived and is closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.