Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No message.yml Error #28

Closed
ggomezz opened this issue Jul 31, 2017 · 6 comments
Closed

No message.yml Error #28

ggomezz opened this issue Jul 31, 2017 · 6 comments

Comments

@ggomezz
Copy link

ggomezz commented Jul 31, 2017

Hello there,

I installed the .phar on the poggit page and when I went to install it I got the error -

[17:39:32] [Server thread/CRITICAL]: ErrorException: "unlink(/root/plugins/Jail/messages.yml): No such file or directory
" (EXCEPTION) in "Jail.phar/src/hoyinm14mc/jail/Jail" at line 245

My server is run on a Linux VPS. Please tell me if you require more information in order to solve the issue!

@gordonmhy
Copy link
Owner

Hello, @ggomezz !
I'm sorry to hear that you've experienced an error. We quickly noticed this issue soon after the version you're using was released to Poggit.
A newer version has been released on Github. You may check it out here.
Thank you for your continues support to Jail. Your help would have benefited the development of this plugin.

@ggomezz
Copy link
Author

ggomezz commented Jul 31, 2017

I attempted to use the .phar that you referred me to and got this console error:

[20:46:10] [Server thread/INFO]: Enabling Jail v1.1.5
[20:46:10] [Server thread/INFO]: [Jail] Loading configurations...
[20:46:10] [Server thread/INFO]: [Jail] Update found! Updating configuration...
[20:46:10] [Server thread/INFO]: [Jail] All settings are being reset. The old config is saved in the plugin data folder.
[20:46:10] [Server thread/CRITICAL]: ErrorException: "unlink(/root/plugins/Jail/messages.yml): No such file or directory
" (EXCEPTION) in "Jail.phar/src/hoyinm14mc/jail/Jail" at line 245
[20:46:10] [Server thread/INFO]: Disabling Jail v1.1.5

Any suggestions @hoyinm14mc ?

@gordonmhy
Copy link
Owner

Hi, @ggomezz !
It seems that your situation is abnormal. Jail v1.1.5 has got multiple checks before it was released, and we've tried to produce the same error, but the results was normal.
As we haven't got any such malfunctions after the fix, your situation is probably caused by the incompatibility of Jail and your local PHP or server settings.
You could manually solve this issue by the time being. Create a file with its name and extension as 'messages.yml' at the /PocketMine/plugins/Jail/ folder.
We will try and fix your issue by recoding the relevant part of code using a safer and older algorithm, so it will support a wider range of your local base softwares, giving a more comprehensive compatibility to Jail.
Thank you for your continues support to Jail. Your help would have benefited the development of this plugin.

@ggomezz
Copy link
Author

ggomezz commented Aug 1, 2017

After creating the messages.yml file in the /root/plugins/Jail/ I have received a different error:

[21:14:41] [Server thread/INFO]: [Jail] Loading configurations...
[21:14:41] [Server thread/CRITICAL]: ErrorException: "include(phar:///root/plugins/Jail.phar/src/hoyinm14mc/jail/commands/DeljailCommand.php): failed to open stream: phar error: Cannot open phar archive "/root/plugins/Jail.phar" for reading
" (EXCEPTION) in "src/spl/BaseClassLoader" at line 128
[21:14:41] [Server thread/INFO]: Disabling Jail v1.1.5

I also went ahead and tried the phar that addressed my issue (The one in the CI at 1am for me) and got the same error from the beginning:

[21:20:22] [Server thread/INFO]: Enabling Jail v1.1.6
[21:20:22] [Server thread/INFO]: [Jail] Loading configurations...
[21:20:22] [Server thread/INFO]: [Jail] Update found! Updating configuration...
[21:20:22] [Server thread/INFO]: [Jail] All settings are being reset. The old config is saved in the plugin data folder.
[21:20:22] [Server thread/CRITICAL]: ErrorException: "unlink(/root/plugins/Jail/messages.yml): No such file or directory
" (EXCEPTION) in "Jail.phar/src/hoyinm14mc/jail/Jail" at line 245
[21:20:22] [Server thread/INFO]: Disabling Jail v1.1.6

I then added the messages.yml file and got this error:

[21:22:44] [Server thread/INFO]: Enabling Jail v1.1.6
[21:22:44] [Server thread/INFO]: [Jail] Loading configurations...
[21:22:44] [Server thread/CRITICAL]: ErrorException: "include(phar:///root/plugins/Jail.phar/src/hoyinm14mc/jail/commands/DeljailCommand.php): failed to open stream: phar error: Cannot open phar archive "/root/plugins/Jail.phar" for reading
" (EXCEPTION) in "src/spl/BaseClassLoader" at line 128
[21:22:44] [Server thread/INFO]: Disabling Jail v1.1.6

Any further suggestions @hoyinm14mc ?

@gordonmhy
Copy link
Owner

Hi @ggomezz,
This is really strange because my testers and I did not experience such problems. To further tackle your issues, could you please tell me your Twitter ID so I could have more instantaneous conversations with you. I would like you to provide the data from your console, beginning at the start of your server. Thanks!

@ggomezz
Copy link
Author

ggomezz commented Aug 2, 2017

It appears as though the problem has fixed its self. By leaving the messages.yml there and doing a stop and then start it started telling me to update the plugin. After going to poggit and getting the phar I have no issues concerning this specific problem. This case is CLOSED!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants