-
Notifications
You must be signed in to change notification settings - Fork 263
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
mv: cannot move 'PiCAST' to /var/www/PiCAST #8
Comments
You could and just type "sudo rm -rf /var/www/picast" OR just edit the installer and comment everything BUT the MySQL part and re-run the script. But what you see is technically OK. Because if you type http://localhost/picast in any browser, should show everything, right? If yes, should be good to go... |
For a safer option, use On Thu, Aug 8, 2013 at 10:55 AM, lanceseidman [email protected]:
|
thanks for the reply. I will try as suggested and come back.
|
when I go localhost/PiCAST ... I get to see the files as show in
|
Ok, now run the API for the goCAST (see readme) for either task. Once you press enter nothing will appear. How to make sure it worked? Open grabCAST and should display. Doesn't Display? It may be MySQL connection itself, I don't have a way at the moment to check but I think the password is incorrect in both PHP files (not updated since the new Installer). |
As for deleting /var/www/picast it wont matter what command you use, no settings are stored and re-running the script would redo the setup. Next revision of the script will check if the DIR exists and eventually check file sizes and/or compare files OR we ask the user what to do (e.g. Backup). But that part isn't too important yet, making sure it actually installs first for everyone THEN be picky:D |
Really appreciate @lanceseidman @InfernoZeus for helping how. Hope fully I am very close to see the result.
Error ./grabber.sh: 12: ./grabber.sh: usage:: not found.
|
Hi, please look at the path you're running. /var/www is incorrect, it needs to be /var/www/picast. OR sudo mv /var/www/picast/grabber.sh /home/pi/grabber.sh |
Hi @lanceseidman I will check it out tonight |
I have moved the grabber.sh to the /home/pi,
|
Please download the new Grabber file. |
sorry @lanceseidman I have downloaded the new grabber file. I can see what when I type -n 3 ./grabber.sh I see the following After this I go on my android mobile type the IP address of PI(http://192.168.1.108/goGrab.php?website=google.com), I get blank page on the mobile and nothing on the PI. I can confirm the setup is done correctly? |
Hi the problem is still in the address, it needs to be http://192.168.1.108/PiCAST/goCAST.php?website=site.ext. The file directory and file name are extremely CaSe-SeNsitIVe. GoGRAB loading it by default will be blank, you must run goCAST with the commands. You'll never try to manually load the goGRAB as that's what the grabber file does. Also, the moment goGRAB is requested (doesn't matter how) it grabs what you sent & deletes it, so keep that in mind. To remember, look at the names. GRAB means to capture/get & CAST means to send. |
Thanks Lance. I am pretty sure I tried both with and without PiCAST folder name ( http://192.168.1.108/PiCAST/goCAST.php?website=google.com) Didn't see any difference. I will give it another try later today. |
Hi Balaji, I got to this to work on my PI. Midori takes up 100% CPU and runs so slow that it is practically unusable for me. I had to make few changes to checked out version because of the "PiCAST" folder name. In addition to the above, you would also need to make an edit in grabCAST.php. The generated URL to the midori browser also need to have the "PiCAST" folder in the URL path. I also had to fix minor inconsistency in the database name (in the PHP scripts vs installation code/docs). I suggest looking at the apache error log for any potential mysql errors as well. |
One more thing. There is a typo in youtube.php It should be: |
I want to download picast 2.0 where can I downlode the files ? |
In the picast2 branch: https://github.com/lanceseidman/PiCAST/tree/picast2 |
Hi @lanceseidman,
I have downloaded he updated installer.sh and ran. I script ended with an error message as below
Congratulations! WE got everything & Setup is almost Done!
I'm going to download missing parts now...
Cloning into 'PiCAST'...
remote: Counting objects: 150, done.
remote: Compressing objects: 100% (78/78), done.
remote: Total 150 (delta 73), reused 145 (delta 68)
Receiving objects: 100% (150/150), 33.04 KiB | 57 KiB/s, done.
Resolving deltas: 100% (73/73), done.
mv: cannot move
PiCAST' to
/var/www/PiCAST': Directory not emptyDo I have to reverse everything I did and start fresh on raspbian?
Regards
Balaji
The text was updated successfully, but these errors were encountered: