syntax error near unexpected token `fi ‘

Falling errors in the mail from Vesta.

Errors

/ usr / local / vesta / bin / v-update-sys-vesta: line 41: syntax error near unexpected token `fi ‘
/ usr / local / vesta / bin / v-update-sys-vesta: line 41: `fi [ «$package» = «vesta-ioncube» ]; then ‘
/ usr / local / vesta / bin / v-update-sys-vesta: line 41: syntax error near unexpected token `fi ‘
/ usr / local / vesta / bin / v-update-sys-vesta: line 41: `fi [ «$package» = «vesta-ioncube» ]; then ‘
/ usr / local / vesta / bin / v-update-sys-vesta: line 41: syntax error near unexpected token `fi ‘
/ usr / local / vesta / bin / v-update-sys-vesta: line 41: `fi [ «$package» = «vesta-ioncube» ]; then ‘
/ usr / local / vesta / bin / v-update-sys-vesta: line 41: syntax error near unexpected token `fi ‘
/ usr / local / vesta / bin / v-update-sys-vesta: line 41: `fi [ «$package» = «vesta-ioncube» ]; then ‘
/ usr / local / vesta / bin / v-update-sys-vesta: line 41: syntax error near unexpected token `fi ‘
/ usr / local / vesta / bin / v-update-sys-vesta: line 41: `fi [ «$package» = «vesta-ioncube» ]; then ‘

The essence of the error

There is an error in the file. Someone from the developers made a mistake and instead if wrote fi

Correction

Opening the file:

nano / usr / local / vesta / bin / v-update-sys-vesta

We find the line (according to logic), where instead of if there is fi. We fix it on if.

Similar Posts

Leave a Reply

Your email address will not be published. Required fields are marked *