Giter Site home page Giter Site logo

nextcloud / vm Goto Github PK

View Code? Open in Web Editor NEW
1.3K 70.0 656.0 53.32 MB

💻☁📦 The Nextcloud VM (virtual machine appliance), Home/SME Server and scripts for RPi (4). Community developed and maintained.

Home Page: https://download.nextcloudvm.com

License: GNU General Public License v3.0

PHP 1.65% Shell 98.26% Python 0.09%
vm vmware vmware-esxi hypervisor cloud virtualbox hyper-v nextcloud-vm firewall nextcloud

vm's Introduction

Nextcloud VM Appliance

Server installation. Simplified. ☁️

Interactive Guidance

The Nextcloud VM(aka Nextcloud Virtual Machine or NcVM) — helps you create a personal or corporate Nextcloud Server faster and easier. Fundamentally, NcVM is a carefully crafted family of *nix scripts which interactively guide you through a quality-controlled installation to obtain an A+ security-rated Nextcloud instance.

Curated Extras

The Nextcloud app store extends core features by allowing you to enable a multitude of free one-click apps. However, integration apps there like Collabora Online and ONLYOFFICE are solely bridges to Nextcloud. You’re still required to install those services separately, which can be complex. NcVM provides optional full installation of select curated apps, including those and others. Monitor and manage your cloud using any web browser with NcVM’s hand-picked collection of power utilities featuring stunning, modern UIs.

All Systems Go

NcVM can check for and install stable updates to keep things current, smooth, and secure.


Dependencies:

(Ubuntu Server 22.04 LTS minimal 64-bit)
(Linux Kernel: 5.15)

  • Apache 2.4
  • PostgreSQL 14
  • PHP-FPM 8.1
  • Redis Memcache (latest stable version from PECL)
  • PHP-igbinary (latest stable version from PECL
  • PHP-smbclient (latest stable version from PECL)
  • Nextcloud Server Latest

Support the development

FYI

Developed by Daniel Hansson and the Nextcloud community. Nextcloud GmbH does not offer support for the VM in the master branch (full-version), as we only support manual tarball/zip-package installations. You can download the official Nextcloud VM appliance (also from this repo) from our website to get a stripped down version for testing if you rather want to skip all the manual steps in our documentation.

If you want support regarding the full-version VM in master, please contact our partner Hansson IT.

Full documentation

I want to test a Release Candidate (RC), or Beta!

No problem, brave explorer! We made it simple.

In some cases we do pre-releases of the VM as well. Those can be found in the TESTING folder on the download server.

If you want to try the latest version yourself, there are two variables that you could use:

  1. For latest beta or RC version: sudo bash /var/scripts/update.sh beta

  2. For specific RC version: sudo bash /var/scripts/update.sh 23.0.1rc2

Please keep in mind that this is only intended for testing and might crash your Nextcloud. Please keep backups!

Vagrant example (Beta)

The nextcloud_install_production.sh script can be run as part of Vagrant provisioning.

See this subrepo for more information.

Please report any issues you can find. Improvements are welcome!

First look

Nextcloud

alt tag

Adminer (Database Administration) not default

alt tag

Webmin (Server Administration GUI) not default

alt tag

TLS rating

alt tag

The usual tags

Downloads from Github (not the main downloads location):
Downloads
Downloads from main server:
~100 per day since 2016
Build Status:
Check-code-with-shellcheck Actions status
Reviewdog Actions status
Stability Status:
Stability Status

Current maintainers

(Most of the commit history is gone, since Github decided to remove it when an account email address is removed.)

Special thanks to

vm's People

Contributors

93-infinity avatar ark74 avatar dependabot[bot] avatar enoch85 avatar faangbait avatar ggeorgg avatar hatclub avatar keengene avatar kesselb avatar lantrix avatar loteks avatar mariusbluem avatar meichthys avatar morph027 avatar neufeind avatar paulmenzel avatar pjrobertson avatar pq2 avatar ryanwmitchell avatar samrobben avatar sirferdek avatar steve-s-71 avatar stweil avatar szaimen avatar thorstenb avatar toby00001 avatar unamundan avatar vazhnov avatar ypid avatar zalonic avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

vm's Issues

Build from scripts / VM build

This should have another option IMO when building from scripts on a clean vm since that build would probably not have ens33 set at the start right? More likely it would have eth0 I guess.

# Set correct interface
sed -i "s|ens33|$IFACE|g" /etc/network/interfaces
service networking restart

Something like if /etc/network/interfaces has ens33 then change it to IFACE else, leave it.

ERROR: Site nextcloud_ssl_domain does not exist!

Hey,
I just downloaded and installed the VM.
The letsencrypt portion of the installer does not seem to work.
This is the last output of the script :

**Enabling site 000-default.
To activate the new configuration, you need to run:
service apache2 reload

Apache will now reboot

Press any key to continue...
ERROR: Site nextcloud_ssl_domain does not exist!
Site nextcloud_ssl_domain_self_signed already disabled

Could it have something to do with this :

+---------------------------------------------------------------+
| Please enter the domain name you will use for Nextcloud: |
| Like this: example.com, or nextcloud.example.com (1/2) |
+---------------------------------------------------------------+

nc.XXXX.com

Is this correct? nc.XXXX.com ([y]es or [N]o): y
/etc/apache2/sites-available/.conf was successfully created

It seems to create a .conf without a filename? Is that supposed to be nextcloud_ssl_domain.conf?

My knowledge of linux and apache is quite underwhelming so I might also be scrwewing something up here.
Thanks in advance.

Testing the scripts

I have tested the script in virtual machines (ubuntu-server 16.4) and they succeded.
Then I tried it with a real (old) hardware with more then one network interfaces.
see Output of lshw:
lshw.txt

The errors could be solved with
- IFACE=$(lshw -c network | grep "logical name" | awk '{print $3}')
+ IFACE=$(lshw -c network | grep "logical name" | awk '{print $3;exit}')
only use the first interface

in the scripts
nextcloud-startup-script.sh
nextcloud_install_production.sh
ip.sh .

The server runs without any error!

Now I have some questions:

  1. before you test the network Connection, you use the Connection
    nextcloud_install_production.sh
    --> CONVER=$(wget -q https://.....
    --> CALVER=$(wget -q https://.....
it would be better to test first!
  1. is there a possibility to test the type of the network connection
    whithout disturbing the config file /etc/network/interfaces (dhcp ore static)?
  2. I think it would be better to put all the network-test and configuration together
    and afterwards make only non-disturbing tests.

Thanks Klaus

contacts not downloadable

Steps to reproduce

  1. started script nextcloud_install_production.sh
  2. new script with install contact only

install_contacts.sh.txt

Expected behaviour

first part of an new install should happen.

Actual behaviour

version 1.5.0.0 could not be downloaded

Server configuration

Server version: (see your admin page)
nextcloud 10.0.1
VM version
ubuntu server 16.4.1

fresh install:
only first Part until first reboot.

Logs

Web server error log

Insert your install contacts log here

kk@nctest3:~$ sudo bash install_contacts.sh 2>&1 | tee contacts.log
[sudo] Passwort für kk: 
+ WWW_ROOT=/var/www
+ NCPATH=/var/www/nextcloud
++ wget -q https://raw.githubusercontent.com/owncloud/contacts/master/appinfo/info.xml
++ grep -Po '(?<=<version>)[^<]*(?=</version>)' info.xml
++ rm info.xml
+ CONVER=1.5.0.0
+ echo 'ContactVersion = 1.5.0.0'
ContactVersion = 1.5.0.0
+ CONVER_FILE=contacts.tar.gz
+ CONVER_REPO=https://github.com/owncloud/contacts/releases/download
+ '[' -d /var/www/nextcloud/apps/contacts ']'
+ wget -q https://github.com/owncloud/contacts/releases/download/v1.5.0.0/contacts.tar.gz -P /var/www/nextcloud/apps
+ tar -zxf /var/www/nextcloud/apps/contacts.tar.gz -C /var/www/nextcloud/apps
tar (child): /var/www/nextcloud/apps/contacts.tar.gz: Funktion open fehlgeschlagen: Datei oder Verzeichnis nicht gefunden
tar (child): Error is not recoverable: exiting now
tar: Child returned status 2
tar: Error is not recoverable: exiting now
+ cd /var/www/nextcloud/apps
+ rm contacts.tar.gz
rm: das Entfernen von 'contacts.tar.gz' ist nicht möglich: Datei oder Verzeichnis nicht gefunden
+ '[' -d /var/www/nextcloud/apps/contacts ']'




Can't upgrade from 9.0.51 to 10.0.0

Hello,

I have a virtual machine with 9.0.51 (stable). I have chosen the Stable release channel (it doesn't speak about 9.0.53).
I have decided to make the update to version 10.0.0
So I have downloaded the last version of the update script

After that, I run the command
sudo nextcloud_update.sh
And I have an error message

Updated database ==> Green so OK
Exception: files can't be disabled. ==> RED
Update failed ==> RED

The command sudo -u www-data php /var/www/nextcloud/occ upgrade

will always have the problem
Can you please tell me what I am missing?
My Nextcloud is completely empty (I only installed it and never made anything with it).

I have no idea about what log I can provide.

Thank you
Marc

IP address does not change during install

by default the VM picks up a DHCP address during install. you are given the opportunity to edit the interfaces file where you can define a different IP address, however this never gets used.

i noticed when the letsencrypt setup started to run that it was using the wrong internal IP address for my box. i opened another console session and confirmed that the interfaces file had the correct information. i did a "service networking restart" and this didn't fix the issue - the IP was still the original DHCP assigned one.

i had to manually set the IP address using ifconfig. once I did this i was able to "service networking restart" and the correct IP address was present.

i was on my second attempt (of the three attempts it says I have) to setup letsencrypt, but then i was prompted which site configuration to use. i selected (obviously incorrectly) the first "000-default" and the setup completed successfully, however when i browse to the IP of the box i just get an "index of" and no nextcloud login page.

i have no understanding why the IP didn't change dshow ruuring the setup. all i did was change the last octet of the IP as it was in the interfaces file.

unsure if perhaps the interface could be fully flushed during the setup or similar.

i was running the VM under vSphere 5.5.

Options to be added

How about:

  • By default enabling UFW and opening ports: 10000, 443, 80 and SSH. Default deny incoming?
  • Setting swappiness to about 5
  • Change nameservers to COMODO instead of google NS

Rerun redis install on update script

The update script has the line,
apt dist-upgrade -y

That would update the php version on the server, then leave php with no redis support, thus a Nextcloud website unusable since config.php would require redis use.

Ubuntu just released an update from php-7(.8) to php-7(.13), and that might be the case.
It happened to me today. 😅
Cheers.

when running the auto install

clean install

Steps to reproduce

  1. start vm
    2.run auto install

get warning at:
Setting Rewrite base to / in config.php
system config value htaccess.RewriteBase set to string /

Error updating .htaccessfile, not enough permissions?

2nd error (needs clear instructions)
modified configuration file

related to /usr/lib/php/7.0/php.ini
which php to install?
keep local or update to maintainers version?

mod_status reachable from "outside" local network

Steps to reproduce

  1. Let VM run it's installation scripts
  2. Open https://foo.bar/server-status from outside the local network

Expected behaviour

The server status shouldn't be reachable from outside the local network.

Actual behaviour

Anybody can reach the stats from the internet, which leads to possible security risks

Server configuration

Server version: Ubuntu 16.04.1, Nextcloud 10.0.1

VM version Last updated: 2016-09-29

Updated from an older installed version or fresh install:
fresh install

My /etc/apache2/mods-enabled/status.conf works, when I add the following lines:

                Deny from all
                Allow from 192.168.1.0/24
                #Require local
                #Require ip 192.0.2.0/24

It's not a solution for everybody of course, as the IP-range could differ.

Trusted IP

2 users @ IRC told me the trusted IP in config.php isn't setup properly.
Noticed it myself yesterday with installing.

Rebrand the VM TOTALLY

Right now there are a lot of references to Tech and Me, as I developed it there from start. I would appreciate a PR that changed the branding to "Nextcloud Community" instead.

Welcome with your PR! :)

Change keyboard layout first

Users not familiar with the different keyboard layouts will have a hard time to find the Y key when being asked questions during the installation process.
It would be best to change the keyboard first I think.

movies preview

Hi,
in my new Nextcloud VM (from your image) there are not movies preview.
As for owncloud I made the following steps:

  1. in config.php I added:
    'enable_previews' => true,
    'enabledPreviewProviders' =>
    array (
    0 => 'OC\Preview\Movie',
    1 => 'OC\Preview\Image',
    2 => 'OC\Preview\MP3',
    3 => 'OC\Preview\TXT',
    4 => 'OC\Preview\MarkDown',
    ),
  2. in Ubuntu I installed: ffmpeg and ffmpegthumbnailer

There are other configurations to do?
The nextcloud migration from the old owncloud on another server shows correctly the movies preview but I can't view the differences between the two servers.
Thank you
Paolo

Update exits because "no need to upgrade"

Hello!

For me the update script aborts because it seems to think 9.0.53 is newer than 10.0.1

Steps to reproduce

  1. sudo -i
  2. cd /var/scripts
  3. wget https://raw.githubusercontent.com/nextcloud/vm/master/nextcloud_update.sh
  4. rename and chmod +x
  5. ./nextcloud_update.sh

Expected behaviour

update 9.0.53 to 10.0.1

Actual behaviour

Aptitude full-upgrade runs without problems but then script exits with:

Script exists
Checking latest released version on the Nextcloud download server and if it's possible to download...
SUCCESS!
Latest version is: 10.0.1. Current version is: 9.0.53.
No need to upgrade, this script will exit...

Server configuration

Server version:
9.0.53

VM version
2016-07-27

Updated from an older installed version or fresh install:
fresh install, first try to update to NC10

.htaccess permissions error

Error when install script updates .htaccess. I have to change then update .htaccess with occ and then set permissions back.

Steps to reproduce

  1. Setup VM

Expected behavior

Should update .htaccess

Actual behaviour

Permissions error and therefore Apache rewrite doesn't work correctly and shows /index.php

Server configuration

Server version: (see your admin page)
Ubuntu 16
VM version
Latest, NC 11 running on ESXi 6.0
Updated from an older installed version or fresh install:

network error while running the script

net_error

i have installed the pre build Nextcloud server in VM while running the script it was showing the error but when check the cloud ip in explorer it is accessible and showing apache home page please help me to resolve this issue.

GPG error and Collabra not installed.

Steps to reproduce

  1. Install Ubuntu 16.04 and update to latest status.
  2. Run nextcloud_install_production.sh

Expected behaviour

I would expect a running installation of nextcloud.

Actual behaviour

Master Branch: Collabra not installed / working
Nextcloud-Install-Fix Branch: GPG Error

Server configuration

Plain Ubuntu 16.04

VM version
On VMWare 6

Updated from an older installed version or fresh install:
Fresh Install

Logs of "Nextcloud-Install-Fix" Branch: GPG Error

http://hastebin.com/ozatanusuz.sql

Syntax Error?

When I run sudo nextcloud_install_production.sh on US16.04 clean install, I get:
Checking server OS and version... nextcloud_install_production.sh: 75: nextcloud_install_production.sh: Syntax error: redirection unexpected
Any ideas?

First line of scripts

Error in first line of following scripts:
change_mysql_pass.sh
install-redis-php-7.sh

#!bin/sh better #! /bin/sh

Theming does not work correct (Override issue?)

Steps to reproduce

  1. Installed Nextcloud VM (Version 10) in Virtualbox
  2. Update Nextcloud to Version 11 using the delivered update.sh script
  3. Use the Theming App to theme Nextcloud

Expected behaviour

All colors, Links to the Cloud, Names and Logos should be the one's set in the Theming App.

Actual behaviour

Almost everything works fine, but the Favicon doesn't geht the set color and it does not change the logo. It stays the standard, blue Nextcloud Icon.

Server configuration

Server version: (see your admin page)
Ubuntu 16.4 LTS Server
Apache 2.4
PHP 7.0.8
MySQL 5.7.16

VM version
VirtualBox Version 5.1.12 r112440 (Qt5.6.2) running on a Windows 7 64Bit host

Updated from an older installed version or fresh install:
See above at ## Steps to reproduce

Logs (from today back to the December 16th)

https://hastebin.com/efomocojag.tex

Log file (/var/ncdata/nextcloud.log)

https://hastebin.com/ujezuvejup.tex

Installation log (command output)

I don't know how to get this, sorry.

By the way, I already wrote to the nexcloud.com forums. Maybe what I wrote there can help to.
See: https://help.nextcloud.com/t/different-theme-output-on-two-nextcloud-11-instances/6432?source_topic_id=4722

I also made a clean install of a new Nextcloud VM this morning. It behaves the same way, which means Theming does not work correctly.

I hope someone can help or clear things out to me.

Cheers yiria

Make a backup of network/interfaces before overwriting it

It would be a good idea to make a backup of /etc/network/interfaces before overwriting it, because sometimes the scripts are used outside the VM because not everything needs to be installed, etc. and overwriting an existing config can break things.

PHPMyAdmin & Webmin optional software

I think that PHPMyAdmin & Webmin should optional during the installation, i think that software like this shouldn't be in production purpose environment.
A /phpmyadmin endpoint decrease the system security

Pretty url ( file permissions )

Hi, there is a bug with file permissions. If i try to add:
'htaccess.RewriteBase' => '/'
In config/config.php and then i run
sudo -u www-data occ maintenance:update:htaccess
I got this message: .htaccess has been updated

But nothing nothing changes probably because htaccess owner is root.
I suggest to edit vm/static/setup_secure_permissions_nextcloud.sh and edit
chown ${htuser}:${htgroup} ${ncpath}/.htaccess

After changing file owner pretty url works fine.

No DHCP offer when installation scripts is running

Steps to reproduce

Expected behaviour

Create networkcard in esx6

Actual behaviour

No active networkcard and nextcloud do not get dhcp offer

Server configuration

Latest 500GB vmdk version.

VM version
6

Updated from an older installed version or fresh install:
Fresh install

Logs

Web server error log

Insert your webserver log here

Log file (data/owncloud.log)

Insert your ownCloud.log file here

Letsencrypt is not able to continue due to Apache problem

Steps to reproduce

  1. Fresh VM download
  2. Boot machine and follow steps till create lestencrypt certificates and select yes
  3. Make sure you have a registered domain and that port 443 is forwarded on the router

steps to solve

Remove line 29 reported here 👍 Oct 23 13:25:08 nextcloud apache2[1644]: AH00526: Syntax error on line 29 of /etc/apache2/conf-enabled/phpmyadmin.conf:

Line 29 has a statement : Require ip
This statement is for some reason empty hence preventing apache from continuing and letsencrypt would also fail

Expected behaviour

It should carry on with the script installtion

Actual behaviour

systemctl status apache2.service
? apache2.service - LSB: Apache2 web server
Loaded: loaded (/etc/init.d/apache2; bad; vendor preset: enabled)
Drop-In: /lib/systemd/system/apache2.service.d
mqapache2-systemd.conf
Active: failed (Result: exit-code) since Sun 2016-10-23 13:25:08 CEST; 54s ago
Docs: man:systemd-sysv-generator(8)
Process: 1644 ExecStart=/etc/init.d/apache2 start (code=exited, status=1/FAILURE)

Oct 23 13:25:08 nextcloud apache2[1644]: * The apache2 configtest failed.
Oct 23 13:25:08 nextcloud apache2[1644]: Output of config test was:
Oct 23 13:25:08 nextcloud apache2[1644]: AH00526: Syntax error on line 29 of /etc/apache2/conf-enabled/phpmyadmin.conf:
Oct 23 13:25:08 nextcloud apache2[1644]: 'require ip' requires an argument
Oct 23 13:25:08 nextcloud apache2[1644]: Action 'configtest' failed.
Oct 23 13:25:08 nextcloud apache2[1644]: The Apache error log may have more information.
Oct 23 13:25:08 nextcloud systemd[1]: apache2.service: Control process exited, code=exited status=1
Oct 23 13:25:08 nextcloud systemd[1]: Failed to start LSB: Apache2 web server.
Oct 23 13:25:08 nextcloud systemd[1]: apache2.service: Unit entered failed state.
Oct 23 13:25:08 nextcloud systemd[1]: apache2.service: Failed with result 'exit-code'.

Server configuration

4 CPU, 3Gbyte Ram
Server version: (see your admin page)

VM version
ESXI 5.5 VMWARE
Updated from an older installed version or fresh install:
Fresh download of Nextcloud VM

Logs

Web server error log

Insert your webserver log here

Log file (data/owncloud.log)

Insert your ownCloud.log file here

NextCloud Box from WDLabs lost NextCloud version 9.53

@nextcloud/vm

Per Daniel Hansson's request use Github for reporting bugs and suggest enhancements.
I purchased the NextCloud Box for WDLabs.
When I first power up and got the login screen I put a user ID and password in and logged in successfully.
When I tried to login on another pc on the LAN it gave me the log in screen but said: Wrong password. Reset it. I tried again same message so
I clicked on the Reset it and it gave me: could not send reset email because
there is no email address for this username. I had signed off the PC that I had signed onto when I setup the username and password that I had first logged in successfully.
Now I can’t get back in on any system on the LAN always get same error. I have tried to find out how to reset using browser as there is no keyboard and monitor attached to the NextCloud box and I don't have a way of doing that. I was able to download PuTTY. I can get into the box using PuTTY SSH and I can run commands and see the nextcloud directory but how
can I reset or set the password for nextcloud box? When I use passwd it
prompt me for a password for ubuntu so I changed the password. I tried to
sudo nextcloud.occ user:resetpassword jmartin resulting in:
[sudo] password for ubuntu:
sudo: nextcloud.occ:
command not found
I was advised by Kyle Fazzari @github.com to run
$ sudo apt update
$ sudo apt install snapd snap-confine
snapd is already the newest version (2.12+0.16.04).
$ sudo snap refresh
$ sudo snap remove nextcloud && sudo snap install nextcloud
it removed nextcloud but gave:
error: cannot install "nextcloud": Get https://search.apps.ubuntu.com/api/v1/snaps/details/nextcloud?confinement=strict: dial tcp: lookup search.apps.ubuntu.com on 208.76.58.193:53: no such host
I tried wget https://github.com/nextcloud/vm.git
and wget http://github.com/nextcloud/vm.git
after login on NextCloud Box with ID: ubuntu

Here is the results:
wget https://github.com/nextcloud/vm.git
--2016-09-05 05:16:53-- https://github.com/nextcloud/vm.git
Resolving github.com (github.com)... failed: Temporary failure in name resolution.
wget: unable to resolve host address 'github.com'

using snap seems to have a problem with finding commands for nextcloud and resolve host address. Cannot download from any source after signing on NextCloud Box with ID: ubuntu
runing ubuntu@ubuntu-standard:$ snap list
Name Version Rev Developer Notes
ubuntu-core 16.04+20160531.12-01 120 canonical -
ubuntu@ubuntu-standard:
$ snap refresh
error: cannot list updates: cannot list snaps: cannot list updates: Post https://search.apps.ubuntu.com/api/v1/snaps/metadata: dial tcp: lookup search.apps.ubuntu.com on 208.76.58.193:53: no such host
ubuntu@ubuntu-standard:~$
appreciate any help. [email protected]

Installation errors

1#
deepinscreenshot20160614213129

Fresh Ubuntu 16.04
wget startup_script
bash startup_script

2#
Changing the password for the linux user and ncuser fails at "enter to fill in password" on both occasions.
#3

VMware appliance won't start

Steps to reproduce

  1. Download the VM appliance
  2. Import it using VMware workstation player 12
  3. Pass root credentials

Expected behaviour

Initial script should run

Actual behaviour

Falls on "Testing if network is OK"
nc_

installation stuck on System config value preview_libreoffice_path set to string /usr/bin/libreoffice

Unpacking apt-show-versions (0.22.7) ...
Selecting previously unselected package libauthen-pam-perl.
Preparing to unpack .../libauthen-pam-perl_0.16-3build2_amd64.deb ...
Unpacking libauthen-pam-perl (0.16-3build2) ...
Selecting previously unselected package libio-pty-perl.
Preparing to unpack .../libio-pty-perl_1%3a1.08-1.1build1_amd64.deb ...
Unpacking libio-pty-perl (1:1.08-1.1build1) ...
Selecting previously unselected package libnet-ssleay-perl.
Preparing to unpack .../libnet-ssleay-perl_1.72-1build1_amd64.deb ...
Unpacking libnet-ssleay-perl (1.72-1build1) ...
Selecting previously unselected package zip.
Preparing to unpack .../archives/zip_3.0-11_amd64.deb ...
Unpacking zip (3.0-11) ...
Processing triggers for man-db (2.7.5-1) ...
Setting up openssl (1.0.2g-1ubuntu4.2) ...
Setting up libapt-pkg-perl (0.1.29build7) ...
Setting up apt-show-versions (0.22.7) ...
** initializing cache. This may take a while **
Setting up libauthen-pam-perl (0.16-3build2) ...
Setting up libio-pty-perl (1:1.08-1.1build1) ...
Setting up libnet-ssleay-perl (1.72-1build1) ...
Setting up zip (3.0-11) ...
sudo: unable to resolve host nextcloud
OK
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
libfontenc1 libtcl8.6 libtk8.6 libxaw7 libxcb-shape0 libxcomposite1 libxft2 libxi6 libxmu6 libxss1 libxt6 libxtst6 libxv1 libxxf86dga1 tcl-expect tcl8.6 tk8.6
x11-utils xbitmaps xterm
Use 'sudo apt autoremove' to remove them.
The following NEW packages will be installed:
webmin
0 upgraded, 1 newly installed, 0 to remove and 27 not upgraded.
Need to get 15.2 MB of archives.
After this operation, 161 MB of additional disk space will be used.
Get:1 http://download.webmin.com/download/repository sarge/contrib amd64 webmin all 1.810 [15.2 MB]
Fetched 15.2 MB in 1s (10.4 MB/s)
Selecting previously unselected package webmin.
(Reading database ... 67927 files and directories currently installed.)
Preparing to unpack .../archives/webmin_1.810_all.deb ...
Unpacking webmin (1.810) ...
Processing triggers for systemd (229-4ubuntu7) ...
Processing triggers for ureadahead (0.100.0-19) ...
Setting up webmin (1.810) ...
Webmin install complete. You can now login to https://nextcloud:10000/
as root with your root password, or as any user who can use sudo
to run commands as root.
Processing triggers for systemd (229-4ubuntu7) ...
Processing triggers for ureadahead (0.100.0-19) ...
sudo: unable to resolve host nextcloud
System config value preview_libreoffice_path set to string /usr/bin/libreoffice

stuck on this for a while. what should I do?

this is a fresh install ubuntu 16.04 in esxi.

ERROR 404 : Not Found

error 404

While updating the VM 9.0.51 to 9.0.52 it is showing awaiting for response .. 404 not found

Network NOT OK

I specifically paid for the HyperV VM, I downloaded it, decompressed it, etc, and mounted the VM using WIN2012 Data Server on a current machine.

It loads up and when it goes through the startup script, it fails on the Network piece;

120.384199 elk_update_request: I/O error, dev fd0, sector 0
couldn't read interfaces file.

I have attached a screen shot

Any ideas to get this working ? All your help files refer to VMWare...

Thanks,

Scott Goodfellow
416 645 0355
[email protected]

1

UnexpectedValueException: The files of the app "files" were not correctly replaced before running the update

Steps to reproduce

  1. Run the Tech and Me update script

Expected behaviour

Update should finish without errors

Actual behaviour

Update fails due to that the apps folder isn't "replaced correctly".

ncadmin@nextcloud:~$ sudo -u www-data php /var/www/nextcloud/occ upgrade
Nextcloud or one of the apps require upgrade - only a limited number of commands are available
You may use your browser or the occ upgrade command to do the upgrade
Set log level to debug
Turned on maintenance mode
Updating database schema
Updated database
UnexpectedValueException: The files of the app "files" were not correctly replaced before running the update
Update failed
Maintenance mode is kept active
Reset log level

screenshot from 2016-12-13 00-46-42

Server configuration

Server version: (see your admin page)
Nextcloud 11.0.0 (updates succeeds but with errors) Can't login after update.

VM version
10.0.2

Updated from an older installed version or fresh install:
Update from 10.0.2 to 11.0.0

Code snippet

https://github.com/nextcloud/vm/blob/master/nextcloud_update.sh#L121-L137

@nextcloud/developers How should I replace the apps folder correctly?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.