Reset password ncp

ummm… i dunno about squid proxy… and how it got installed :wink:

but here’s another hint of how to reset your ncp-password for your ncp-webgui.

ssh to your instance.

sudo nc-config

chose nc-passwd

enter a new one.
and thus you should be able to access your ncp-webgui under the given address

root@omv:~# docker exec -ti nextcloudpi sh
# sudo nc-config
sudo: nc-config: command not found

awww. i’m lost in terms of docker. maybe @OliverV would know more here?

I also ask the help of @Giuseppe

I have no idea how ncp works, but you can try this…

docker exec -ti nextcloudpi php -f /var/www/nextcloud/occ user:resetpassword your_username

For ncp docker run:

docker exec -it nextcloudpi ncp-config

To view or set password
for ncp web:4443 CONFIG>nc-password
for nc web use CONFIG>nc-admin

2 Likes
Running nc-passwd
password updated successfully
Site ncp already enabled
Site nextcloud already enabled
Site ncp-activation already disabled
Done. Press any key...

https://nextcloudpi.local:4443/ still gives me ERR_NAME_NOT_RESOLVED

Jimmy already suggested using the IP:4443 instead.
Did you try it?

Yes, ERR_TUNNEL_CONNECTION_FAILED
Could this be because I haven’t done any port forwarding?

:4443 is only available from your LAN
it just will not accept connections from WAN
So no port forwarding required for :4443

1 Like

okay, thanks for the info.
so why can’t I access the address?

because it’s not resolving. use the ip address.

yes, I also used the IP address

the internal, lan ip address?

I tried the host ip address, where I installed nextcloudpi
I tried also my lan ip address

check if it’s right. (from you router)

you could try pinging it or using nmap -Pn -p- ip_address to see if it responds somewhere (it’s going to take a loooooong time)

Starting Nmap 7.80 ( https://nmap.org ) at 2020-03-19 16:42 ora solare Europa occidentale
Nmap scan report for ip_address
Host is up (0.0029s latency).
Not shown: 65523 closed ports
PORT     STATE SERVICE
22/tcp   open  ssh
81/tcp   open  hosts2-ns
90/tcp   open  dnsix
111/tcp  open  rpcbind
139/tcp  open  netbios-ssn
443/tcp  open  https
445/tcp  open  microsoft-ds
4443/tcp open  pharos
5355/tcp open  llmnr
5357/tcp open  wsdapi
8000/tcp open  http-alt
9000/tcp open  cslistener
MAC Address: mac_address (Asiarock Technology Limited)
Nmap done: 1 IP address (1 host up) scanned in 21.74 seconds

what does it mean?
the browser keeps giving me ERR_TUNNEL_CONNECTION_FAILED

we don’t save the password anymore, so you can change it but not see it

2 Likes

Hello!

changed my admin password with ncp-config but cannot login to the web interface with this password.
how can i change it?

thx martin