-
-
Notifications
You must be signed in to change notification settings - Fork 164
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
Varnish's VCL cannot be updated #37
Comments
Are you by chance using magento 1?
Il giorno mar 3 dic 2019 alle 02:25 Ondrej Zjevik <[email protected]>
ha scritto:
When I go to Cron container and run php updatenodes.php I get the
following error:
Fatal error: Uncaught Error: Call to undefined method
Mage::getStoreConfig() in /varnish.php:502
Stack trace:
#0 /varnish.php(340):
Nexcessnet_Turpentine_Model_Varnish_Admin_Socket->_command('auth', 200,
'REDACTED...')
#1 <#1>
/varnish.php(267):
Nexcessnet_Turpentine_Model_Varnish_Admin_Socket->_connect()
#2 <#2>
/varnish.php(517):
Nexcessnet_Turpentine_Model_Varnish_Admin_Socket->getVersion()
#3 <#3>
/varnish.php(162):
Nexcessnet_Turpentine_Model_Varnish_Admin_Socket->_translateCommandMethod('vcl_list')
#4 <#4>
/updatenodes.php(21):
Nexcessnet_Turpentine_Model_Varnish_Admin_Socket->__call('vcl_list', Array)
#5 <#5> {main}
thrown in /varnish.php on line 502
This might be related to #31
<#31> but it was never
solved.
Any help is appreciated.
Thanks!
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#37?email_source=notifications&email_token=AAG6DL4X3K3ESHIQ5WYKXCDQWW7RXA5CNFSM4JUQWMM2YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4H5QTUAA>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAG6DL6VLLCYPL2NINDIZQLQWW7RXANCNFSM4JUQWMMQ>
.
--
Fabrizio Balliano
Senior web engineer, 5x Magento Certified, open source and Linux expert
http://fabrizioballiano.com - (+34) 693.69.79.79
|
Nope. I'm using 2.3.3 version but I don't think this has to do anything
with Magento.
The script is complaining about connection between the Cron container and
Varnish and this is done through the /varnish.php file.
Cannot this issue be related to version 5?
If I erase the if statement in the varnish.php at line 502 I get an another
error about using Varnish 5.
To test this, it should be enough to deploy the stack and run the script in
Cron.
Thanks for looking at it.
…On Tue, Dec 3, 2019, 3:57 AM Fabrizio Balliano ***@***.***> wrote:
Are you by chance using magento 1?
Il giorno mar 3 dic 2019 alle 02:25 Ondrej Zjevik <
***@***.***>
ha scritto:
> When I go to Cron container and run php updatenodes.php I get the
> following error:
>
> Fatal error: Uncaught Error: Call to undefined method
> Mage::getStoreConfig() in /varnish.php:502
> Stack trace:
> #0 /varnish.php(340):
> Nexcessnet_Turpentine_Model_Varnish_Admin_Socket->_command('auth', 200,
> 'REDACTED...')
> #1 <#1>
> /varnish.php(267):
> Nexcessnet_Turpentine_Model_Varnish_Admin_Socket->_connect()
> #2 <#2>
> /varnish.php(517):
> Nexcessnet_Turpentine_Model_Varnish_Admin_Socket->getVersion()
> #3 <#3>
> /varnish.php(162):
>
Nexcessnet_Turpentine_Model_Varnish_Admin_Socket->_translateCommandMethod('vcl_list')
> #4 <#4>
> /updatenodes.php(21):
> Nexcessnet_Turpentine_Model_Varnish_Admin_Socket->__call('vcl_list',
Array)
> #5 <#5> {main}
> thrown in /varnish.php on line 502
>
> This might be related to #31
> <#31> but it was
never
> solved.
>
> Any help is appreciated.
> Thanks!
>
> —
> You are receiving this because you are subscribed to this thread.
> Reply to this email directly, view it on GitHub
> <
#37?email_source=notifications&email_token=AAG6DL4X3K3ESHIQ5WYKXCDQWW7RXA5CNFSM4JUQWMM2YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4H5QTUAA
>,
> or unsubscribe
> <
https://github.com/notifications/unsubscribe-auth/AAG6DL6VLLCYPL2NINDIZQLQWW7RXANCNFSM4JUQWMMQ
>
> .
>
--
Fabrizio Balliano
Senior web engineer, 5x Magento Certified, open source and Linux expert
http://fabrizioballiano.com - (+34) 693.69.79.79
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#37?email_source=notifications&email_token=ABYA4RUA6G3PIF3B3IE4G53QWYNPDA5CNFSM4JUQWMM2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEFYS7KA#issuecomment-561065896>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABYA4RVCXJGHYGWYINZ7SUTQWYNPDANCNFSM4JUQWMMQ>
.
|
I'm sorry... I don't use this docker project that often and I forgot about the Nexcessnet_Turpentine_Model_Varnish_Admin_Socket class... probably the class changed and it's now not compatible with the script, I've to check it out with M2.3.3. hope to have some time to do that ASAP :-\ |
No problem. I'm just starting with Magento and we're thinking about doing a
production version based off of your configuration.
It still works with the one Apache container but cannot be scaled up. (Well
in can but it won't use the other containers)
No rush and thanks for looking into this!
…On Tue, Dec 3, 2019, 7:51 AM Fabrizio Balliano ***@***.***> wrote:
I'm sorry... I don't use this docker project that often and I forgot about
the Nexcessnet_Turpentine_Model_Varnish_Admin_Socket class...
probably the class changed and it's now not compatible with the script,
I've to check it out with M2.3.3.
hope to have some time to do that ASAP :-\
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#37?email_source=notifications&email_token=ABYA4RXANQRAMTMF55T7WPDQWZI5FA5CNFSM4JUQWMM2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEFZIKTA#issuecomment-561153356>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABYA4RU3P3PSXAZ4JN33KSLQWZI5FANCNFSM4JUQWMMQ>
.
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
When I go to Cron container and run
php updatenodes.php
I get the following error:This might be related to #31 but it was never solved.
Any help is appreciated.
Thanks!
The text was updated successfully, but these errors were encountered: