Closed alsoGAMER closed 6 years ago
When you start the Bot, will there be created a file named "pid" inside the "logs" folder?
No
Then this is the problem.
Please have a look to the permissions of your Ranksystem installation.
You need to set the right owner.. for linux:
chown -R www-data:www-data /var/www/ranksystem
And you also need to set special permissions to some directories.. for linux:
chmod 777 avatars/ tsicons/ update/ logs/
Perhaps you can make an ls -l
and send us a screenshot of it.
All is correctly configured, also the /var/log/ranksystem (for logs)
The webinterface itself run correctly, only the bot have this problem
The logspath is only for the logfile.. the PID file will be created inside the ranksystem installation directory inside the "logs" folder. Are you sure this folder is existent and has the needed permissoins? You checked the existing PID file inside the right path (beginning question)?
Logs folder exist and all permissions is correctly configured
Puh.. it is all, but not correct. You did chmod 777 all of the folders. Please only do this on the above defined ones.
You checked the existing PID file inside the right path (beginning question)?
This question is still open. You observed the path /var/www/ranksystem/logs for a pid file on starting the Ranksystem?
the file is not created, and the screenshot I sent shows that the permissions (777) are there and they are all correct, it is not the first time that I install this interface
Now it works, I tinkered a bit and I did start. Still remains the question of why is a bit lazy to generate the pid file.
Tip: Make sure that the pid file is put in directory not accessible by the webserver, but which are accessible if you set the correct permissions (Eg. /var/log/ranksystem)
hmm, I think it is not possible it will sometimes work and sometimes not with exactly the same system envoirements. It need to be changed anything it is now able to start. Would be nice, if you can give us a hint, what you have done. Then we can validate it and perhaps enable a new check for this.
I simply reinstalled it until it worked, however the choice to make it only compatible with php5 has made things a bit more complex, it would be much appreciated (personally) an update that makes it compatible with php7. I'm also working for the improvement of the Italian translation since the current one has many typos/grammatical and even contains some strings not translated. I would be very honored if you, once finished the file is uploaded in the repository and used as the official
With regard to the file "pid" I'll see if changing the code that deals with creating and maintaining I can move it and force the creation in another directory
an update that makes it compatible with php7
We support php 7 since "Version1.1.2" (30.October30.2016 and with "Version 1.2.2" 21.January.2017 7.1+ (so over one and a half year now we have a full support for all php 7 Versions)
I'm also working for the improvement of the Italian translation since the current one has many typos/grammatical and even contains some strings not translated.
We do not translate this things, the community is doing it, so thank you for fixing / improving it.
The most recent version downloadable from the website, but the problem is that if I configure everything to use php7 to the interface would give errors only and the bot does not start even
Again which php7 Version did you use?
How did you fix the problem of the pid file?
@Shad86 php7.2.7, but atm i using php5.6 without errors
@pascual48 reinstalling everything over and over again until it worked, also trying to change multiple versions of php, directories, and configurations of nginx
Ok, I think the topic is solved.. All other please in a new/other issue
If i start the bot from the webinterface it shutting down automatically after 3/4 seconds ranksystem.log