[Eisfair_dev] owncloud v1.4.0 stable

Fabian Törner toerner at gmx.net
Mo Jul 25 14:24:03 CEST 2016


Hallo Marcus,

Am 25.07.2016 um 08:45 schrieb Marcus Roeckrath:
> Hallo Fabian,
>
> Fabian Törner wrote:

>> oh ich habe nun schon die 9.1.0
>>
>> ich schrub:
>>
>> wget https://download.owncloud.org/community/owncloud-9.1.0.tar.bz2
>>
>> kann es evtl. auch damit zu tun haben?
>> Das ich nun nicht auf die Kontakte und Kalender zugreifen kann? :(

also ich habe nun folgendes Zenario.
Hatte ja versucht das oc Paket von eisfair einfach drüber zu bügeln - 
ging nicht - da downgrade.
Also habe ich wieder o.g. Datei runter geladen alle Dateien und 
Verzeichnisse gelöscht außer apps2 und config.
Dann auch noch mal neu die apps Calendar und Contacts in der 
aktuellesten Version runter geladen und in apps2 vorher die beiden 
Ordner gelöscht und dann dorthin entpackt.
Dann mit dem Befehl "/var/install/config.d/owncloud.sh 
set-access-rights" die Rechte gesetzt.

Dann über das Menü OC config aufgerufen gespeichert und gestartet:

dabei kam dann das heraus:

Activate configuration now (y/n) [yes]? y
version: v1.4.0
Apache2 SSL has been enabled ...
db type: mysql
MySQL php support has been enabled ...
MySQL php socket has correctly been set ...
MySQL support has been enabled ...
trusted domain(s): mysql
Redis php cache has been enabled ...
Redis support has been enabled ...
mail has been enabled ...
creating ownCloud configuration ...
creating logrotate configuration ...
creating cron script ...
running ownCloud upgrade routine ...
ownCloud 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
Checking whether the database schema can be updated (this can take a 
long time depending on the database size)
  Done
  24/24 [============================] 100%
Checked database schema update
Checking updates of apps
Checked database schema update for apps
Updating database schema
Updated database
Updating <calendar> ...
Updated <calendar> to 1.3.1
dav: An exception occurred while executing 'CREATE TABLE 
`oc_addressbooks` (`id` BIGINT UNSIGNED AUTO_INCREMENT NOT NULL, 
`principaluri` VARCHAR(255) DEFAULT NULL, `displayname` VARCHAR(255) 
DEFAULT NULL, `uri` VARCHAR(255) DEFAULT NULL, `description` 
VARCHAR(255) DEFAULT NULL, `synctoken` INT UNSIGNED DEFAULT 1 NOT NULL, 
UNIQUE INDEX addressbook_index (`principaluri`, `uri`), PRIMARY 
KEY(`id`)) DEFAULT CHARACTER SET utf8 COLLATE utf8_bin ENGINE = InnoDB':

SQLSTATE[42S01]: Base table or view already exists: 1050 Tabelle 
'oc_addressbooks' bereits vorhanden
federation: An exception occurred while executing 'CREATE TABLE 
`oc_trusted_servers` (`id` INT AUTO_INCREMENT NOT NULL, `url` 
VARCHAR(512) NOT NULL COMMENT 'Url of trusted server', `url_hash` 
VARCHAR(255) DEFAULT '' NOT NULL COMMENT 'sha1 hash of the url without 
the protocol', `token` VARCHAR(128) DEFAULT NULL COMMENT 'token used to 
exchange the shared secret', `shared_secret` VARCHAR(256) DEFAULT NULL 
COMMENT 'shared secret used to authenticate', `status` INT DEFAULT 2 NOT 
NULL COMMENT 'current status of the connection', `sync_token` 
VARCHAR(512) DEFAULT NULL COMMENT 'cardDav sync token', UNIQUE INDEX 
url_hash (`url_hash`), PRIMARY KEY(`id`)) DEFAULT CHARACTER SET utf8 
COLLATE utf8_bin ENGINE = InnoDB':

SQLSTATE[42S01]: Base table or view already exists: 1050 Tabelle 
'oc_trusted_servers' bereits vorhanden
Drop old database tables
  Done
  28/28 [============================] 100%
Remove old (< 9.0) calendar/contact shares
  Done
  4/4 [============================] 100%
Fix permissions so avatars can be stored again
  Done
  2/2 [============================] 100%
Starting code integrity check...
Finished code integrity check
Update successful
Turned off maintenance mode
Reset log level
creating cron job ...
Set mode for background jobs to 'cron'
finished.
Do you want to restart the webserver now (recommended) (y/n) [yes]? y
  * Restarting Apache ... 
 
 
             [  OK  ]
Press ENTER to continue
eis #

> Du hast die neuen zu owncloud 9.1 passenden Kalender- und Kontakt-App
> heruntergeladen und installiert?

ja s.o.

> Du hast die beiden Apps danach wieder aktiviert? Das kannst Du als admin
> auch in der Weboberfläche machen.

ja sind aktiviert.

> Dann prüfen, ob Du auf der Weboberfläche Zugriff auf die Apps hast.

nein weiterhin kein Zugriff - bei dem neu angelegten Testuser nur weißer 
Bildschirm ohne Anzeige von Kontakten oder Kalender.
Somit kann man auch nix hinzufügen etc.

> Für externe Clients haben sich IMHO die URLs zum Zugriff geändert, so dass
> dies zu Korrigieren und auch das Passwort neu einzugeben ist.
>
das überprüfe ich wenn ich über das Webinterface wieder Zugriff habe.

Ein paar Infos:
eis # cd /var/www/htdocs/owncloud
eis # sudo -u wwwrun php occ app:list
Enabled:
   - activity: 2.3.2
   - calendar: 1.3.1
   - comments: 0.3.0
   - contacts: 1.3.1.0
   - dav: true
   - federatedfilesharing: 0.3.0
   - files: 1.5.1
   - files_external: 0.6.0
   - files_pdfviewer: 0.8.1
   - files_sharing: 0.10.0
   - files_texteditor: 2.1
   - files_trashbin: 0.9.0
   - files_versions: 1.3.0
   - files_videoplayer: 0.9.8
   - firstrunwizard: 1.1
   - gallery: 15.0.0
   - notifications: 0.3.0
   - provisioning_api: 0.5.0
   - systemtags: 0.3.0
   - templateeditor: 0.1
   - updatenotification: 0.2.1
Disabled:
   - calender_old
   - contacts_old
   - encryption
   - external
   - federation
   - files_antivirus
   - mozilla_sync
   - roundcube
   - user_external
   - user_ldap
eis #

eis # sudo -u wwwrun php occ status
   - installed: true
   - version: 9.1.0.15
   - versionstring: 9.1.0
   - edition:
eis #

calender_old and contacts_old sind die alten apps welche ich vor dem 
eisfair Paket Update gesichert habe

Die kann ich auch bald löschen ....

Vielen Dank & viele Grüße
Fabian



Mehr Informationen über die Mailingliste Eisfair_dev