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 2024-12-20 23:32:27

hoenens
Member
Registered: 2024-12-20
Posts: 4

Install GLPI windows server iis

Hi,

i got everything going (php, sql) but once i try to install GLPI, and i press continiou on the Licenses part of the installation and then press Install, i get this message:

Write access denied for configuration files
A temporary write access to the following files is required: `C:\inetpub\wwwroot\glpi/config\config_db.php`, `C:\inetpub\wwwroot\glpi/config\glpicrypt.key`.
Write access to these files can be removed once the operation is finished.

Weird thing is; in the config folder, there is only a .htacces file,

I did change the permissions of those folders, but it's still not working.
Can someone help?

Last edited by hoenens (2024-12-20 23:34:40)

Offline

#2 Yesterday 03:24:16

cconard96
Moderator
Registered: 2018-07-31
Posts: 2,889
Website

Re: Install GLPI windows server iis

The GLPI installation process will create those files. You just need to make sure the web server has permissions to create those files in that folder. On Linux, SELinux can cause permission issues but I don't know of anything besides basic file permissions on Windows. I don't have any experience using IIS.


GLPI Collaborator and Plugin Developer.
My non-English comments are automated translations. Sorry for any confusion that causes.
Mes commentaires non anglais sont des traductions automatiques. Désolé pour toute confusion qui cause.
Mis comentarios que no están en inglés son traducciones automáticas. Perdón por cualquier confusión que cause.

Online

#3 Yesterday 11:43:48

hoenens
Member
Registered: 2024-12-20
Posts: 4

Re: Install GLPI windows server iis

Hi cconard96,

Alright. I searched the web far and wide, but nothing about this issue can be found. I will try to use Laragon or something else to host it then.

Offline

#4 Yesterday 13:05:20

cconard96
Moderator
Registered: 2018-07-31
Posts: 2,889
Website

Re: Install GLPI windows server iis

Most GLPI administrators just use a Linux distro with Apache web server when hosting it themselves.

https://telemetry.glpi-project.org/telemetry

Solutions like XAMPP, WAMPP, and Laragon aren't meant for production use. They are supposed to be for developers who don't feel like setting up a web server themselves or managing various dependencies when working on multiple projects. I heavily recommend not using these kinds of solutions.


GLPI Collaborator and Plugin Developer.
My non-English comments are automated translations. Sorry for any confusion that causes.
Mes commentaires non anglais sont des traductions automatiques. Désolé pour toute confusion qui cause.
Mis comentarios que no están en inglés son traducciones automáticas. Perdón por cualquier confusión que cause.

Online

#5 Yesterday 23:22:57

hoenens
Member
Registered: 2024-12-20
Posts: 4

Re: Install GLPI windows server iis

Ok. But i want it to run on my Windows Server 2025. I am trying to get it installed in Laragon, but i get this not fixed/don't know what the hell to do because there is no clear tutorial:
Safe configuration of web root directory
Web server root directory should be `C:\laragon\www\public` to ensure non-public files cannot be accessed.
Web server root directory configuration is not safe as it permits access to non-public files. See installation documentation for more details.   
Safe path for data directories
GLPI data directories should be placed outside web root directory. It can be achieved by redefining corresponding constants. See the installation documentation for more details.
The following directories should be placed outside "C:\laragon\www":
‣ "C:\laragon\www/files" ("GLPI_VAR_DIR")
‣ "C:\laragon\www/files/_cache" ("GLPI_CACHE_DIR")
‣ "C:\laragon\www/files/_cron" ("GLPI_CRON_DIR")
‣ "C:\laragon\www/files" ("GLPI_DOC_DIR")
‣ "C:\laragon\www/files/_dumps" ("GLPI_DUMP_DIR")
‣ "C:\laragon\www/files/_graphs" ("GLPI_GRAPH_DIR")
‣ "C:\laragon\www/files/_lock" ("GLPI_LOCK_DIR")
‣ "C:\laragon\www/files/_log" ("GLPI_LOG_DIR")
‣ "C:\laragon\www/files/_pictures" ("GLPI_PICTURE_DIR")
‣ "C:\laragon\www/files/_plugins" ("GLPI_PLUGIN_DOC_DIR")
‣ "C:\laragon\www/files/_rss" ("GLPI_RSS_DIR")
‣ "C:\laragon\www/files/_sessions" ("GLPI_SESSION_DIR")
‣ "C:\laragon\www/files/_tmp" ("GLPI_TMP_DIR")
‣ "C:\laragon\www/files/_uploads" ("GLPI_UPLOAD_DIR")
You can ignore this suggestion if your web server root directory is "C:\laragon\www\public".

So what should i use then on my Windows Server 2025 to deploy it? IIS is a hassle and does not do the job.

Offline

#6 Yesterday 23:25:20

hoenens
Member
Registered: 2024-12-20
Posts: 4

Re: Install GLPI windows server iis

ANd to add, i have it running and well in a docker container, but to get SLL running withit, is a pain in the popo. thats why i want to have it running local on the server witout a container.

Offline

#7 Today 11:23:55

cconard96
Moderator
Registered: 2018-07-31
Posts: 2,889
Website

Re: Install GLPI windows server iis

Did you read the installation documentation?
https://glpi-install.readthedocs.io/en/ … index.html

None of the things listed are blocking errors. They are recommendations. The only thing that will be an issue is the public directory part which will become required in GLPI 11.


GLPI Collaborator and Plugin Developer.
My non-English comments are automated translations. Sorry for any confusion that causes.
Mes commentaires non anglais sont des traductions automatiques. Désolé pour toute confusion qui cause.
Mis comentarios que no están en inglés son traducciones automáticas. Perdón por cualquier confusión que cause.

Online

Board footer

Powered by FluxBB