dwaaan / HRConvert2-Docker

87 stars 17 forks source link

Error while coverting files #5

Open SmartPhoneLover opened 2 years ago

SmartPhoneLover commented 2 years ago

Hello, the following error is showing when a user is trying to convert any file. Including files with short and long filenames.

AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using 172.17.0.23. Set the 'ServerName' directive globally to suppress this message

Thank you, for your assistance.


Waiting to be fixed by my own...

zelon88 commented 2 years ago

Hello SmartPhoneLover,

This message usually happens when the ServerName directive is not defined anywhere in the Apache .conf files.

Best practice is to create a file named 'ServerName.conf' under '/etc/apache2/conf-available' containing the following code, adjusted for your FQDN (or use 'localhost'):

ServerName localhost

And then enable the newly added configuration file using the command:

sudo a2enconf ServerName.conf

Lastly, run the following command to restart the Apache service. The new configuration changes will not take effect until Apache is restarted:

sudo service apache2 restart

Let me know if this takes care of the error message.

BotLegolas commented 2 years ago

Hello SmartPhoneLover,

This message usually happens when the ServerName directive is not defined anywhere in the Apache .conf files.

Best practice is to create a file named 'ServerName.conf' under '/etc/apache2/conf-available' containing the following code, adjusted for your FQDN (or use 'localhost'):

ServerName localhost

And then enable the newly added configuration file using the command:

sudo a2enconf ServerName.conf

Lastly, run the following command to restart the Apache service. The new configuration changes will not take effect until Apache is restarted:

sudo service apache2 restart

Let me know if this takes care of the error message.

Hello, tested this but the error message still occurs. Hindering me to convert text documents (i guess). I even added the extension to the apache2.conf. apachectl configtest reports "Syntax OK". Do you have any suggestions?

Looking forward for you reply.

dwaaan commented 2 years ago

@BotLegolas this error is not related to the failing conversions and can be safely ignored

Could you explain exactly which type of conversions are failing?