Having not used my Nextcloud for a few months, I decided to get it going again on my Pi. And figuring that it being at least 6 months old Iâd be better off just downloading the new version, burning to SD and booting up. No joy!
I did get to the Activation page finally. I had to disregard the documentation which told me to go to https://<<address>:4443 - just get no connection there, so tried https://<address> and only then get the Activation page.
That then took me to the NCP Panel. Tried the wizard - nothing happened. Tried the options all down the left hand side - ssh, LetsEncrypt etc - nothing happened.
So I decided to reburn the SD, just in case. Booted up the Pi again - and exactly the same thing.
What has happened? NextcloudPi was a brilliant system six months ago - is it all broken now?
Hi
Thanks for reporting.
Fact is: documentation is not always up to date with latest developments.
(please include link, so someone can do something about it, when they so feel inlined )
First run is always a bit of a long waitâŚwhich image and model Pi are you using?
And yes, you should be redirected to :4443 after activation.
It will not be available before activation.
ssh letencrypt etc nothing happend!? No output at all? Checked the logs?
Works fine here!
same here. Raspberry Pi Model B+ v1.2, NextCloudPi installed on a fresh 8GB microSD card, no external devices connected. After a while the admin panel opens, but i can only see a perpetual spinner; some links work (like OP mentioned - the wizard, shutdown menu, current config), but Iâm unable to go anywhere further.
I tried to upgrade NextCloud to the latest version; the upgrade was successful, but when I ran ncp-update-nc from the command line, I got a âMalformed versionâ error.
Try running ncp-update again (latest is v0.66.1 at present date & time)
If not fixed by that, you could try latest image. NextCloudPi_RPi_11-04-18
Should fix any known ncp update issues.
[quote=âCosi, post:4, topic:40137â]
perpetual spinner
[/quote] That could be a bad power supply or power cable
What is output of dmesg?
Yeah, I guess my power supply is too weak. When I ran ncp-update, after a long while I got this error message:
E: Sub-process dpkg --set-selections received signal 4.
E: Couldn't record the approved state changes as dpkg selection states
/usr/local/bin/ncp-update: line 43: 3622 Illegal instruction grep -qP "v\d+\.\d+\.\d+" <<< "$VER"
NextCloudPi updated to version
and now my Pi seems to be dead (canât log in using SSH, so I donât know whatâs wrong). Iâll try to download the latest image, but first of all Iâll buy a new power supply
Would it be better if I jumped onto IRC? Should I also start a new thread for this? I really would just like to get something working.
I also have a problem getting the âNextCloudPi_RPi_Berryboot_11-04-18.imgâ or the âNextCloudPi_RPi_Berryboot_10-23-18.imgâ to work at all. I have been trying for the past week or more on the first image. As a new image has been generated I put my info from it at the bottom with a History tag. For both I am using the âberryboot-20180929-pi2-pi3â (the latest?) if that matters.
Starting hereâ>
The NextCloudPi_RPi_Berryboot_11-04-18.img breaks after upgrading to latest. The software installs with only one error about extending the file system now. At the first prompt after install you are prompted to upgrade with via command line or using ncp-config. This upgrade seems to go ok and the âfirst run/Setupâ webpage is displayed on going to the IP or IP:4443. On that page the ncp auto-generated passwords are generated and a button to click âActivateâ is shown. When you click the Activate you get a never ending âloadingâ spinning task. At this point there seems to be no way to get into the system. Some troubleshooting I have done is below but feel free to ignore. I have no problem starting over from scratch as needed to get this working just once.
I have tried setting nc-passwd manually and then enabling the web console both with ncp-setup, This then yeilds a logon pop up (normally the ncp user for 4443) the password auto generated or the one I manually set DOES NOT work here. I have also nc-fix-permissions, and the nc-init to no success as well.
History if wanted:
The âNextCloudPi_RPi_10-23-18.imgâ software loaded as expected with two errors at boot. First is the error about extending the file system (found the fix to disable this), and the second a Zram error. I was unable to fix the Zram problems not matter how many options or suggestions I tried.
Once NextCloudPi_RPi_10-23-18.img was all âstableâ I then ran the updates to the latest versions using either the webpage or ncp-config and that is when things stop working. You get a connection refused on the webpage and various errors in the logs. I donât have these logs anymore and now there is a new image so doubt any of that is useful now. But everything looked good and working until a update to this image was done as well. I do not know if the two are related at all but but stop working after installing then updating.
FWIW, to me it looks like some package(s), at least php, have been compiled recently using options / instruction set(s), that are not supported on the ARM chip on older Raspi. Here is what Iâm seeing:
Booted my raspi, but https://nextcloudpi.local/ just shows âThe server is temporarily unable to service your request due to maintenance downtime or capacity problems. Please try again later.â
Logging in via ssh, I see âIllegal instructionâ returned by root@nextcloudpi:/var/log/apache2# php --version
I performed a âsudo ncp-updateâ , which ran smoothly except that it printed again âIllegal instructionâ close to the end, likely caused by the âgrep ⌠$VERSIONâ
Now, after the udpate, the situation is worse: even âgrepâ and âlsâ return âIllegal instructionâ now.
My raspi seems to be an old Model B rev 2:
cat /proc/cpuinfo
processor : 0
model name : ARMv6-compatible processor rev 7 (v6l)
BogoMIPS : 697.95
Features : half thumb fastmult vfp edsp java tls
CPU implementer : 0x41
CPU architecture: 7
CPU variant : 0x0
CPU part : 0xb76
CPU revision : 7
Hardware : BCM2835
Revision : 000f
Serial : 00000000303dca44
Maybe also relevant:
root@nextcloudpi:/var/log/apache2# ldd /bin/ls
Turns out that https://ownyourbits.com/downloads/NextCloudPi_RPi_10-23-18/ seems to work, but on my old Raspi Model B with just 512MB it is so slow that itâs not really usable. Iâm wondering what is considered the minimum meaningful hardware configuration for Nextcloudpi to work well?
Can confirm, same issue here. I was thinking it was network related but given it some thought, itâs the PI i suppose. I dont mean to hijack it, but am running the Elemental Pi with Next cloud installed on an SD card following the official instructions. Other than that, i did not touch a single thing in the CLI. What are some things I could type to begin debugging? Thank you.
First thing is first. Apply the appropriate image to your hardware.
Get in the Terminal. run âsudo ncp-updateâ, let it update then reboot with âsudo rebootâ
Boot back in and run âsudo ncp-configâ, the config should have way more options than on a fresh install Nextcloud with out itsâ updates.
Look for NC-webui, it should have an asterisk in the list. Get into that and type in Yes where ânoâ is. Pretty straight forward.
THen accessing it on the web gui, make sure you use the Nextcloud user password given in the activation page. (not the NextCloudPi, i dont know why yet), and you should be good to go.
If you still cant login, verify the password by looking for the ânc-adminâ option in the list on your NC device.
The comments on https://ownyourbits.com/2017/02/13/nextcloud-ready-raspberry-pi-image/ says âLet us know, if this works on the Raspberry PI 1â. The answer is no, it doesnât work. As mober noted above, running the install script leads to âlsâ returning âIllegal instructionâ. This is because the PCRE library is apparently compiled with flags that are incompatible with RPI1, and ls links to libpcre.
RPI1 is armv6, RPI2 is armv7 so I guess the problem is the -march=armv7-a flag. Could someone update the packages installed by that install.sh script to be built for armv6 instead of armv7?
Either that or announce that RPI1 support is dead, so people donât waste half a day setting up the wrong thing. And now the whole OS is broken, canât reinstall the right libpcre3 because âdkpgâ says Illegal instruction. Canât even scp it from another machine after extraction from a deb file, because ssh is broken too.
I donât even understand why the pcre and php from debian arenât good enough? Why does the install script want to change those? Just install nextcloud on top of the standard packagesâŚ
https://ownyourbits.com/nextcloudpi/
which says âInstall it in any Debian supported architecture in one lineâ
(OK, re-reading, I guess I missed that the word âsupportedâ meant there are restrictionsâŚ)
the comments on the blog which says âit should work, try itâ (and since the comments are closed, no way to reply to thatâŚ)
NCPâs Documentation, is a work in progress, and maintained by (a very few) volunteers.
If you wish to contribute, please create account at docs.nextcloudpi.com and join our Telegram Wiki Team Thanks
Yes thatâs what I mean by âno here any longerâ, it moved elsewhere - which means instead of the expected âhow to installâ page (given the URL) we land on a FAQ that starts with " Two Factor Authentication for Nextcloud", quite advanced for a first time user, so I went back looking for more basic help
If it was just a wiki page Iâd indeed create a login and fix it, but ownyourbits.com sounds like something hosted outside of nextcloud.com or nexcloudpi.com, right? Thatâs the page that needs fixing most, IMHO. And I think Iâm still way too confused to contribute something useful, other than relating my impressions as a first time user.
Ah, this is WordPress, not Wiki, despite the team name ⌠I created an account in order to reorder https://docs.nextcloudpi.com/en/, in order to have Getting Started at the top, at least, but that needs permissions to edit the page. I donât have Telegram set up. An actual wiki would have been simpler