Hello to the community
I would like to submit my efforts to allow to use Plone 5.1.5 as Windows service and especially Windows 10.
I have tried many techniques and utilities available to install a Windows service: NSSM, SRVSTART etc. In vain.
- With NSSM, the service starts but can not access the server: for example, http: // localhost: 8080 / manage. As if the server actually was not started by the Windows service.
- With SRVSTART the service is created but without result.
Finally all these methods are disconnected from Plone / Python
So I decided after well checked the presence in the variable-path environment,
to return to the creation of Windows service via Python commands.
So I used "bin/instance install auto ".
Here is the result :
"Installed Zope as Windows Service" Zope-522717607 ". ".
Then here are the instructions for README.html in zinstance.
« Starting Zope/Plone
Before you start Plone, you should review the settings in:
C:\Users\Purnata\Plone\zinstance/buildout.cfg
Adjust the ports Plone uses before starting the site, if necessary, and run buildout to apply settings.
To start Plone, issue the following command in a terminal window:
C:\Users\Purnata\Plone\zinstance\bin/plonectl start
To stop Plone, issue the following command in a terminal window:
C:\Users\Purnata\Plone\zinstance\bin/plonectl stop
Quick operating instructions
After starting, you should be able to view the welcome page at::
That page offer an options to create a new Plone site and to use the lower-level Zope Management Interface (ZMI).
Use the admin password provided at:
C:\Users\Purnata\Plone\zinstance/adminPassword.txt
(If you used a GUI installer, you may have been asked for a password, and this file is not created.)
You should change the administrative password at your first convenience.
To change the admin password, click the "Password" link for the admin user at:
http://localhost:28080/acl_users/users/manage_users
Password changes will not be reflected in adminPassword.txt.
Updating After Installation
Always back up your installation before customizing or updating.
Customizing the installation
You may control most aspects of your installation, including changing ports and adding new packages and products by editing the buildout.cfg file in your instance home at C:\Users\Purnata\Plone\zinstance.
See Managing projects with zc.buildout for information on buildout options.
Apply settings by running " bin/buildout" in your instance directory.
Updating the installation
To update your installation components, stop Plone, backup, edit your buildout.cfg file and run:
bin/buildout
from your instance directory.
Check portal_migration in the ZMI after update to perform version migration if necessary. You may also need to visit the product installer to update product versions. »
The full name of the service is "C: \ Users \ XXXXXXX \ Plone \ zinstance \ parts \ instance"
In the Windows registry where a service key is created
"Zope-522717607" we have a following ImagePath:
"" C: \ users \ purnata \ Plone \ python-2.7 \ lib \ site-packages \ win32 \ PythonService.exe ' "
And yet, it is impossible to start the service.
We have an error message with the code 1053.
In this service key, the Python path 2.7 is the one installed with Plone.
But I had installed python also "Python 2.7.16" present in the path.
Is this why the service does not start?
Or is it an intrinsic problem with Windows 10?
In advance I thank you for your help.