Jump to content

old polisy pro


CopyRon

Recommended Posts

Posted

I can't seem to upgrade my old polisy pro to IoP.
Is it too old?
How would I know and what can I do??
I am not a geek so please make instructions simple.

Posted

I suspect your Polisy is running 12.x. You can try these instructions to upgrade your older Polisy, but you might be better off just opening a ticket with support at Universal Devices Support

 

Bring up the windows task bar and in the search window type in <cmd>

2021-12-16_15-34-21.png.6d3fd5e85b97d0098cca5b9b72b4c2ae.png


That will bring up the Command Prompt window.

Now in that window type in:

ssh admin@The IP address of your Polisy

2021-12-16_15-37-29.png.e49a11771d1112b2f2e74536fbad5d50.png

Your IP will be different than mine listed above, I am just showing you that as an example of what you should be typing and what you should see.

Once you have opened the SSH shell for the first time you will be promoted to accept the key. Type yes and you can now SSH to your Polisy. Now you will need to type in the Polisy admin password which by default is admin.

You should then see this screen.

2021-12-16_15-41-45.png.8760b18a8fb1a05baf8c872fb3f3661e.png

At this point you are ready to start updating your Polisy. Copy and past the first line below, then when that has completed, copy and paste the second line and then allow 20 minutes for your Polisy to completely update and reboot.

curl -s https://pkg.isy.io/script/update121.sh | sudo bash
sudo shutdown -r now 

Once it has fully rebooted, you will need to open a new SSH Command prompt. Follow the same procedure as list above, however this time you won't be prompted to accept the key. This is normal, that only happens the first time you SSH to a new device.

Now that you are connected to the Polisy once again via SSH, copy and paste the following one line at a time again.

cat /usr/local/etc/udx.d/static/update13.sh | sudo bash
sudo shutdown -r now

You will once again have to wait while the Polisy updates and reboots; it can take up to 20 minutes.  Once this update has been completed  you should be able to simply use the Polisy web interface to update.

When you start Polyglot for the first time,

https://IP_Addr (PG2)

https://IP_Addr:3000 (PG3)

For PG2 you will be warned that the certificate is invalid and advised not to proceed to the web site. This is normal. ignore the warning/s and proceed. The steps to ignore the warning vary by web browser and antivirus software installed. Read the prompts and proceed past the warnings.

  • Like 3
Posted
16 minutes ago, CopyRon said:

Is it too old?

No it's not, any Polisy can be upgraded to IoP.

16 minutes ago, CopyRon said:

I am not a geek so please make instructions simple.

Do you know how to use SSH? you need to for this.   Go here

.

 

  • Like 1
Posted (edited)

Do not know how to use SSH

Thank you for the replies, I will ponder my next step

Edited by CopyRon
Posted
32 minutes ago, CopyRon said:

Do not know how to use SSH

If I can do it, then anyone can.....  I have no time right now to indicate the steps (I use Putty) but it is not difficult.

Posted
59 minutes ago, CopyRon said:

Do not know how to use SSH

You can do it!  If you have a windows computer just follow @kzboray detailed instructions above.  If you hit a problem just come back to the thread.

  • Like 2
Posted

cat /usr/local/etc/udx.d/static/update13.sh | sudo bash

says no file found

Posted (edited)

yes pkg not found or something similar but in the end said it updated and cmd says:

Microsoft Windows [Version 10.0.22000.675]
(c) Microsoft Corporation. All rights reserved.

C:\Users\CopyR>ssh admin@192.168.1.xxx
Password for admin@polisy:
Last login: Sun May 22 07:01:40 2022 from ronwin11.fios-router.home
FreeBSD 12.1-RELEASE-p1 r355229 POLISY

Welcome to Polisy!
[admin@polisy ~]$

 

when I get to '[admin@polisy ~]$' I can not paste and that's where I'm stuck, so manually entering 

cat /usr/local/etc/udx.d/static/update13.sh | sudo bash

it says no such file.

Thank you

Edited by CopyRon
Posted (edited)
8 minutes ago, CopyRon said:

when I get to '[admin@polisy ~]$

enter "admin"

and same for password

 

 

Edited by asbril
Posted

Microsoft Windows [Version 10.0.22000.675]
(c) Microsoft Corporation. All rights reserved.

C:\Users\CopyR>ssh admin@192.168.1.169
Password for admin@polisy:
Last login: Sun May 22 10:06:38 2022 from ronwin11.fios-router.home
FreeBSD 12.1-RELEASE-p1 r355229 POLISY

Welcome to Polisy!
[admin@polisy ~]$ admin
-bash: admin: command not found
[admin@polisy ~]$

Posted

soft Windows [Version 10.0.22000.675]
(c) Microsoft Corporation. All rights reserved.

C:\Users\CopyR>ssh admin@192.168.1.169
Password for admin@polisy:
Last login: Sun May 22 10:08:14 2022 from ronwin11.fios-router.home
FreeBSD 12.1-RELEASE-p1 r355229 POLISY

Welcome to Polisy!
[admin@polisy ~]$
[admin@polisy ~]$
[admin@polisy ~]$
[admin@polisy ~]$
[admin@polisy ~]$
[admin@polisy ~]$ admin
-bash: admin: command not found
[admin@polisy ~]$ ^M
-bash: $'\r': command not found
[admin@polisy ~]$
[admin@polisy ~]$ ^M
-bash: $'\r': command not found
[admin@polisy ~]$
[admin@polisy ~]$
[admin@polisy ~]$
[admin@polisy ~]$
[admin@polisy ~]$
[admin@polisy ~]$ cat /usr/local/etc/udx.d/static/update13.sh | sudo bash
cat: /usr/local/etc/udx.d/static/update13.sh: No such file or directory
Password:
[admin@polisy ~]$ ^M
-bash: $'\r': command not found
[admin@polisy ~]$
[admin@polisy ~]$
[admin@polisy ~]$
[admin@polisy ~]$ ^V
-bash: $'\026': command not found
[admin@polisy ~]$

 

Doin' my best here and I do appreciate the help!

Posted

Open a ticket support@universal-devices.com  (they will probably answer today, they are slower on weekends).  I'm not sure why you can get thru one upgrade but not the other.

Posted
53 minutes ago, CopyRon said:

Doin' my best here and I do appreciate the help!

How are you trying to paste in command prompt SSH? Just right click and it should paste what you've copied.

Otherwise, I would suggest Putty SSH for a slightly different approach. Sometimes it's a little more user friendly than what's built into Windows. Although, it's all in what you're used to, and right now you're not used to any SSH processes.

If you follow @kzboray directions above they are the same commands found in the wiki.

This should still work for what you've got.

It appears you're logged into SSH okay in the window above. I don't have the old version anymore so I see a slightly different script after logging in via cmd ssh.

But you're in there. If you're typing "admin" at that point it does respond "-bash:..." as you have. So you're logged in.

Open the wiki link in another window so you can see the commands and copy from the browser then paste in the CMD SSH window just by right clicking. Then hit enter. 

Once you type the "shutdown" command...seriously wait a long time! Some people have reported it taking as long as 20 minutes, but I seem to remember at least 5-10 minutes. 

 

Final thing to ask...do you know when you ordered/received you Polisy? If after you go through this process look at the lights on the front of your Polisy. If the left is steady you should be good. Otherwise, check the wiki for possible issues. But, let's at least get you through running these SSH commands first.

 

Posted

There is one simple thing you can try. On the front of the Polisy there is a very small pin hole. There is a hidden switch that you can depress using a paper clip or something similar. Press it once and then wait until your Polisy beeps. Then wait another minute to make sure it hasn't rebooted which would cause it to beep again. If it beeps then a minute later beeps again. walk away for a bit, it's running an update and it can take awhile ~20min. If it beeps once and then nothing, yoru ready to begin trying to update again.

SSH into your Polisy and try executing the command below one more time.

I'm thinking you rebooted the Polisy in the middle of the original update. Pressing the front panel button one time will force an update and may allow yours to complete the original update process.

Then I would try running the full update from the beginning. So first... Enter each line one at a time. The first line can take forever to finish running.

curl -s https://pkg.isy.io/script/update121.sh | sudo bash
sudo shutdown -r now

After this process completes, which can take up to 20 minutes, hopefully you will be able to runt he second command sequence listed below. No! Really this can take a lot of time Be patient. 

Now you are ready to try  this again.
 

cat /usr/local/etc/udx.d/static/update13.sh | sudo bash
sudo shutdown -r now

If this doesn't work then it's time to call in the big guns. Open a  ticket with support.

  • Like 1
Posted

@kzboray - the only issue with the button pressing option was that I think it was only implemented in 13+ to work that way. It worked somewhat okay in 12, but when I got my Polisy it was v12 (something) and I remember having to go through the SSH commands to be able to have the button presses register as the way to upgrade the system. 

 

Posted

@Geddy Ya I was hoping that along with re-doing the original bash command would jump start a failed update. Kinda grasping at straws and hoping to get @CopyRon going. Otherwise Michel is going to have to work his magic.

  • Like 1
Posted

the polisy is still working with my external ISY so maybe I wait for big guns, so I don't brick it.

I really appreciate everyone's help!!!

Posted (edited)

Don't know if this is important but this machine is Windows 11

trying putty this was result:

login as: admin
Keyboard-interactive authentication prompts from server:
| Password for admin@polisy:
End of keyboard-interactive prompts from server
Last login: Sun May 22 13:25:08 2022 from ronwin11.fios-router.home
FreeBSD 12.1-RELEASE-p1 r355229 POLISY

Welcome to Polisy!
[admin@polisy ~]$ curl -s https://pkg.isy.io/script/update121.sh | sudo bash
Password:
pkg: Repository FreeBSD-base missing. 'pkg update' required
pkg: No package database installed.  Nothing to do!
Installing FreeBSD-base updates
Updating FreeBSD-base repository catalogue...
pkg: https://pkg.isy.io/FreeBSD-base/FreeBSD:12:amd64/latest/meta.txz: Not Found
repository FreeBSD-base has no meta file, using default settings
pkg: https://pkg.isy.io/FreeBSD-base/FreeBSD:12:amd64/latest/packagesite.txz: Not Found
Unable to update repository FreeBSD-base
Updating udi repository catalogue...
udi repository is up to date.
Error updating repositories!
pkg: Repository FreeBSD-base cannot be opened. 'pkg update' required
Checking for upgrades (0 candidates): 100%
Processing candidates (0 candidates): 100%
Checking integrity... done (0 conflicting)
Your packages are up to date.
Updating FreeBSD-base repository catalogue...
pkg: https://pkg.isy.io/FreeBSD-base/FreeBSD:12:amd64/latest/meta.txz: Not Found
repository FreeBSD-base has no meta file, using default settings
pkg: https://pkg.isy.io/FreeBSD-base/FreeBSD:12:amd64/latest/packagesite.txz: Not Found
Unable to update repository FreeBSD-base
Error updating repositories!
Updating FreeBSD-base repository catalogue...
pkg: https://pkg.isy.io/FreeBSD-base/FreeBSD:12:amd64/latest/meta.txz: Not Found
repository FreeBSD-base has no meta file, using default settings
pkg: https://pkg.isy.io/FreeBSD-base/FreeBSD:12:amd64/latest/packagesite.txz: Not Found
Unable to update repository FreeBSD-base
Updating udi repository catalogue...
udi repository is up to date.
Error updating repositories!
pkg: Repository FreeBSD-base cannot be opened. 'pkg update' required
pkg: No packages available to install matching 'FreeBSD-*' have been found in the repositories
lookig for .pkgnew files...
Preserving files that are unique to Polisy
lookig for any left over .pkgnew files...
Upgrade complete, please reboot using: sudo shutdown -r now
[admin@polisy ~]$ login as: admin
Password:

 

Edited by CopyRon
Posted

and then:

login as: admin
Keyboard-interactive authentication prompts from server:
| Password for admin@polisy:
End of keyboard-interactive prompts from server
Last login: Mon May 23 08:13:47 2022 from ronwin11.fios-router.home
FreeBSD 12.1-RELEASE-p1 r355229 POLISY

Welcome to Polisy!
[admin@polisy ~]$ cat /usr/local/etc/udx.d/static/update13.sh | sudo bash
cat: /usr/local/etc/udx.d/static/update13.sh: No such file or directory
Password:
[admin@polisy ~]$ admin
-bash: admin: command not found
[admin@polisy ~]$ login as: admin
[admin@polisy ~]$ cat /usr/local/etc/udx.d/static/update13.sh | sudo bash
cat: /usr/local/etc/udx.d/static/update13.sh: No such file or directory
Password:
[admin@polisy ~]$ admin
-bash: admin: command not found
[admin@polisy ~]$

Password:
-bash: admin: command not found
[admin@polisy ~]$ login as: admin
[admin@polisy ~]$ cat /usr/local/etc/udx.d/static/update13.sh | sudo bash
cat: /usr/local/etc/udx.d/static/update13.sh: No such file or directory
Password:
[admin@polisy ~]$ admin
-bash: admin: command not found
[admin@polisy ~]$

Login incorrect
login: Password:
Login incorrect
login: admin
Last login: Mon May 23 08:15:50 from ronwin11.fios-router.home
FreeBSD 12.1-RELEASE-p1 r355229 POLISY

Welcome to Polisy!
[admin@polisy ~]$ cat /usr/local/etc/udx.d/static/update13.sh | sudo bash
cat: /usr/local/etc/udx.d/static/update13.sh: No such file or directory
[admin@polisy ~]$
 

Posted

Have you simply tried to update your Polisy before you run the scripts that have been suggested?  It appears from the line below that you may need to in order to get anywhere further with the process.

35 minutes ago, CopyRon said:

pkg: Repository FreeBSD-base missing. 'pkg update' required

Try this at the prompt: sudo pkg update && sudo pkg upgrade

After this process is finished, you might need to reboot: sudo shutdown -r now

Once the Polisy is back up and you can login, start over beginning with the 'curl' command and see if you get a better result.

Posted

Thank you but

login as: admin
Keyboard-interactive authentication prompts from server:
| Password for admin@polisy:
End of keyboard-interactive prompts from server
Last login: Mon May 23 08:17:56 2022
FreeBSD 12.1-RELEASE-p1 r355229 POLISY

Welcome to Polisy!
[admin@polisy ~]$ ^V
-bash: $'\026': command not found
[admin@polisy ~]$ sudo pkg update && sudo pkg upgrade
Password:
Updating FreeBSD-base repository catalogue...
pkg: https://pkg.isy.io/FreeBSD-base/FreeBSD:12:amd64/latest/meta.txz: Not Found
repository FreeBSD-base has no meta file, using default settings
pkg: https://pkg.isy.io/FreeBSD-base/FreeBSD:12:amd64/latest/packagesite.txz: Not Found
Unable to update repository FreeBSD-base
Updating udi repository catalogue...
udi repository is up to date.
Error updating repositories!
[admin@polisy ~]$ login as: admin
Password:
 

Guest
This topic is now closed to further replies.

×
×
  • Create New...