Comments (23)
In case it will help, here is the log:
[Fri Aug 8 14:49:37 2014] PHP Notice: Undefined variable: groups in /beanstalk_console/lib/tpl/modalFilterColumns.php on line 14
[Fri Aug 8 14:49:37 2014] PHP Stack trace:
[Fri Aug 8 14:49:37 2014] PHP 1. {main}() /beanstalk_console/public/index.php:0
[Fri Aug 8 14:49:37 2014] PHP 2. require_once() /beanstalk_console/public/index.php:17
[Fri Aug 8 14:49:37 2014] PHP 3. require_once() /beanstalk_console/lib/tpl/main.php:181
[Fri Aug 8 14:49:37 2014] PHP Warning: Invalid argument supplied for foreach() in /beanstalk_console/lib/tpl/modalFilterColumns.php on line 14
[Fri Aug 8 14:49:37 2014] PHP Stack trace:
[Fri Aug 8 14:49:37 2014] PHP 1. {main}() /beanstalk_console/public/index.php:0
[Fri Aug 8 14:49:37 2014] PHP 2. require_once() /beanstalk_console/public/index.php:17
[Fri Aug 8 14:49:37 2014] PHP 3. require_once() /beanstalk_console/lib/tpl/main.php:181
[Fri Aug 8 14:49:37 2014] PHP Notice: Undefined variable: groups in /beanstalk_console/lib/tpl/modalFilterColumns.php on line 23
[Fri Aug 8 14:49:37 2014] PHP Stack trace:
[Fri Aug 8 14:49:37 2014] PHP 1. {main}() /beanstalk_console/public/index.php:0
[Fri Aug 8 14:49:37 2014] PHP 2. require_once() /beanstalk_console/public/index.php:17
[Fri Aug 8 14:49:37 2014] PHP 3. require_once() /beanstalk_console/lib/tpl/main.php:181
[Fri Aug 8 14:49:37 2014] PHP Warning: Invalid argument supplied for foreach() in /beanstalk_console/lib/tpl/modalFilterColumns.php on line 23
[Fri Aug 8 14:49:37 2014] PHP Stack trace:
[Fri Aug 8 14:49:37 2014] PHP 1. {main}() /beanstalk_console/public/index.php:0
[Fri Aug 8 14:49:37 2014] PHP 2. require_once() /beanstalk_console/public/index.php:17
[Fri Aug 8 14:49:37 2014] PHP 3. require_once() /beanstalk_console/lib/tpl/main.php:181
from beanstalk_console.
What directory is your webroot pointing to? It looks like your include paths are off.
from beanstalk_console.
pointing to public.
from beanstalk_console.
To add a bit more clarification, I can see the beanstalk console page, but after I add a server and then select it from the "All Servers" dropdown it says "The server is unavailable".
from beanstalk_console.
I misread the errors. So these are PHP warnings. Yes ideally they shouldn't be there; the code is referring to uninitialized variables which is the problem. You can move past this by turning off notices for your installation. Maybe something like error_reporting(0) at the top of your index.php just to see if that's the problem.
I also wonder if your beanstalkd server is even working. Can you try telnetting to it to ensure that you are able to get through?
from beanstalk_console.
How might I telnet into it? I am running it with "php -S localhost:7654 -t public".
from beanstalk_console.
What does your network setup with all your different resources look like?
from beanstalk_console.
The errors are not gone after changing the error_reporting like you said, but it still isn't working.
from beanstalk_console.
I'm not sure what you are asking with regard to my network setup and all my resources? Can you elaborate?
from beanstalk_console.
Sure. This package is a frontend for the Beanstalkd application. Where did you install that application?
from beanstalk_console.
My current setup is this:
- Installed beanstalk console in my ~/Sites/beanstalk_console directory with the composer create-project method. Then I ran "php -S localhost:7654 -t public" in order to serve the site at "localhost:7654".
- My site running the Beanstalkd application is served up at "pony.dev" which is a vaprobash (vagrant vm) running Laravel. I ran the command "sudo service beanstalkd start" on this machine. And I have created several queued tasks with the Queue::push method in a route closure.
- Basically, if you are familiar with Jeffrey Way's Laracasts, I followed https://laracasts.com/lessons/beanstalkd-queues-with-laravel to a "T". No one else seems to be having the problem except one user in the comments (Zachary Crites) and no solution is provided.
Hope this helps.
from beanstalk_console.
So I just ran beanstalkd -l 192.168.22.10 -p 11300 on my VM, and this allowed me to not get that error anymore and things appear to be working. HOWEVER, the queued jobs are not showing up?
I feel like I'm getting closer, but still not 100% yet.
from beanstalk_console.
If it helps, when I run beanstalkd on command line, this is the response.
beanstalkd: net.c:119 in make_server_socket: bind(): Address already in use
beanstalkd: net.c:119 in make_server_socket: bind(): Address already in use
beanstalkd: main.c:64 in main: make_server_socket()
from beanstalk_console.
I'm not familiar with the laracasts, I apologize.
beanstalkd is basically saying that that port is already being used, probably by another beanstalkd process. Without hunting down the process (sudo lsof -i :11300) and killing it and restarting it, maybe you can just restart everything and then run through the tutorial all over again and have it working?
from beanstalk_console.
Well, I've been through the screencast about 4 times... I'm pretty sure you're right though, it must have something to do with a conflicting port. I will keep trying and report back if I figure out the issue.
from beanstalk_console.
Is this what I should see?
$ sudo lsof -i :11300
COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME
beanstalk 1175 beanstalkd 3u IPv4 169703 0t0 TCP localhost:11300 (LISTEN)
from beanstalk_console.
Yup, so beanstalkd is already running on whatever machine you're running that from (is that the vagrant machine or your local machine?). But does your videocast require it to be running on the vagrant machine?
Also if you are indeed running vagrant, you can do a vagrant ssh to be dumped at a console inside the machine.
from beanstalk_console.
that's in the vagrant vm. and yeah, i'm familiar with vagrant ssh.
from beanstalk_console.
So what exactly should my vagrant vm actually be doing? This is the location where the beanstalkd application lives and also where my app is triggering the queued events. It is also running the daemon:
beanstalk 1736 beanstalkd 3u IPv4 172021 0t0 TCP localhost:11300 (LISTEN)
Does this all seem right so far?
from beanstalk_console.
No update for long time, was his issue resolved?
from beanstalk_console.
recent commits should have fixed this issue.
from beanstalk_console.
I'm still getting this error. Followed the Laracasts tutorial to the T as well.
from beanstalk_console.
are you sure there is an error and not just a notice which you can suppress with the error_reporting setting.
from beanstalk_console.
Related Issues (20)
- Moving a buried job back to a tube being watched by multiple workers causes same job to be reserved multiple times? HOT 4
- Top nav server list should show "named" servers with their names HOT 1
- Can't pull server names out of enviroment variable HOT 1
- Console needs a favicon
- HTML page title should vary depending on which page you're viewing
- 502 Bad Gateway error HOT 2
- PHP 7.2 Deprecated: __autoload() is deprecated, use spl_autoload_register() instead
- Switch basic auth to .htaccess from PHP HOT 7
- composer/installers support HOT 6
- Setting to enable auto-refresh by default HOT 9
- What's the logic about search? HOT 7
- Automated Docker Builds HOT 9
- It doesn't show the protobuf content
- Creating sample with same name from within tube view fails without feedback
- issue in php8.0 when pressing on the refresh button HOT 4
- Please make the storage file writable: /home/admin/www/html/beanstalk/storage.json HOT 2
- Who to contact for security issues HOT 7
- Undef issue if showing all servers
- Remove the composer/installers dependency HOT 3
- Unable to find image 'beanstalk_console:latest'
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from beanstalk_console.