hiramvillarreal / iotpos

IotPOS, an open source Point of Sale software.
GNU General Public License v2.0
147 stars 77 forks source link

Starting program #10

Closed Deadon68 closed 6 years ago

Deadon68 commented 6 years ago

I have spent over a week, using 2 different Pi Zero and 3 different Pi 3B and I can not get this to work.

I can not find a way to start this program. I have followed ever single step, even had my wife do a build without me helping her and still no luck. Where the instructions say type "iotpos" .. in what file/dir should I be in?

CRAR14 commented 4 years ago

I have deleted the directory to start over, and when I try to clone, it fails

git clone https://github.com/hiramvillarreal/iotpos Cloning into 'iotpos'... remote: Enumerating objects: 3841, done. error: RPC failed; curl 18 transfer closed with outstanding read data remaining fatal: The remote end hung up unexpectedly fatal: early EOF fatal: index-pack failed

Shaggs commented 4 years ago

I've just done it and all works. Are you copying and pasting or typing in link?

CRAR14 commented 4 years ago

I typed it and when that didn’t work, I copied the link. It takes roughly 45 mins to an hour before it fails, and I’ve tried it a couple of times. I’m not sure what else to do, should I reformat my raspberry pi?

Shaggs commented 4 years ago

Try the following.

sudo apt purge git

sudo apt update

sudo apt upgrade -y

sudo apt get git -y

This will remove git, update the repo files, upgrade programs on your PI then reinstall git.

If this fails and you have discord I can jump on and talk you though it.

CRAR14 commented 4 years ago

I’ll give it a go, it might take awhile though. I’ll give you an update as soon as I can. Thanks a lot, I really appreciate the help :)

diaAbdoul commented 4 years ago

What are you trying to do?

On Fri., Oct. 18, 2019, 1:57 a.m. CRAR14 notifications@github.com wrote:

Hi, I have followed the instructions and still says bash: iotpos: command not found

Can I please be guided through what I'm doing wrong?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/hiramvillarreal/iotpos/issues/10?email_source=notifications&email_token=ABC6ZC3KIBWSL4VA7ORXHMTQPFF3FA5CNFSM4EO3A742YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEBSY27Q#issuecomment-543526270, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABC6ZC5GTMDO2RZF7WWV7U3QPFF3FANCNFSM4EO3A74Q .

CRAR14 commented 4 years ago

Hi, just an update.

I was successful in removing git, but failed updating as it kept saying that the host was unreachable. I rebooted my pi but now putty says that the connection timed out. I tried pinging the network address, which is 192.168.137.98, a private network address, and it says request timed out. I also tried reconnecting the ethernet cable for it to give me another IP address, but the request still times out. I’ll need some time to figure out how to make the raspi work again on my laptop, and then I’ll let you guys know how it’s going.m

Shaggs commented 4 years ago

I'd say re image your sd card and start fresh.

If you have more issues open a new ticket

CRAR14 commented 4 years ago

I finally got the pi to connect again! I was able to upgrade the programs but have a problem on the last line:

~ $ sudo apt get git -y E: Invalid operation get

CRAR14 commented 4 years ago

I installed git using sudo apt install-git all

Shaggs commented 4 years ago

Ok so now git is installed. Clone iotpos, once cloned you should be able to use install.sh to set it all up.

CRAR14 commented 4 years ago

Awesome, it's working now! just a question, why doesn't it show up on the "other" app? is it only accessible from the terminal? and, is it possible to not need a keyboard for the program? I have a virtual keyboard on the pi but it disappears once the program starts

Shaggs commented 4 years ago

Its under other as there is on real category for it.

It can be run from the menu but running from terminal gives you debug outputs.

The keyboard you need to change to always on top. I did do it once I think I googled it.

I have this running and just have a wireless kB and m hiding under the bench incase I need it.

I also have a numberpad keyboard plugged in for the operator to use for quantities etc

CRAR14 commented 4 years ago

Okay, thanks for the help!