jDownloads Support Forum

Older Versions => jDownloads 3.2 (Support ended) => General => Topic started by: arsito on 31.03.2015 12:46:19

Title: Rechteproblem nach Update von 1.9.2.11 auf 3.2.30
Post by: arsito on 31.03.2015 12:46:19
Hallo Team,

ich habe in einer Testumgebung eine Migration von 1.9.2.11 auf die neue 3er Version geschafft.
Leider habe ich nun ein Rechteproblem und weiß nun nicht mehr weiter :-(

Eigentlich sind die Berechtigungen für Öffentlich auf "erlaubt" gesetzt.
(http://s523258825.online.de/karate.de/2015-03-31%2012_39_23-.png)

Aber im Frontend will es nicht funktionieren :-) ?
(http://s523258825.online.de/karate.de/2015-03-31%2012_40_35-.png)

Danke für eine Rückmeldung,

viele Grüße
Melanie
Title: Re: Rechteproblem nach Update von 1.9.2.11 auf 3.2.30
Post by: Arno on 31.03.2015 14:28:17
Hi Melanie,
Quoteich habe in einer Testumgebung eine Migration von 1.9.2.11 auf die neue 3er Version geschafft.
Leider habe ich nun ein Rechteproblem und weiß nun nicht mehr weiter
Das passiert leider bei der Übernahme der Daten und wir haben bisher das Problem nicht komplett beseitigen können.
Eine Lösung gibt es aber doch dafür:
http://www.jdownloads.net/documentations/item/permissions-problems-after-migration-to-new-series ;)
Title: Re: Rechteproblem nach Update von 1.9.2.11 auf 3.2.30
Post by: arsito on 31.03.2015 15:06:26
Hallo Arno,

hab es mal anhand deiner Anleitung versucht... hier das Import-Protokoll
(http://s523258825.online.de/karate.de/2015-03-31%2015_04_10-.png)

Aber die Berechtigungen wurden trotzdem nicht übernommen  :-[

viele GRüße
Melanie
Title: Re: Rechteproblem nach Update von 1.9.2.11 auf 3.2.30
Post by: Arno on 31.03.2015 15:17:43
Kannst du mir einmal einen Download Link zur Backup Datei via PM schicken?
ist schon komisch, da es bisher bei allen anderen damit klappte.
Title: Re: Rechteproblem nach Update von 1.9.2.11 auf 3.2.30
Post by: arsito on 31.03.2015 15:24:32
Hab ich erledigt :-)  danke für deine ausdauernde Hilfe  ::)
Title: Re: Rechteproblem nach Update von 1.9.2.11 auf 3.2.30
Post by: Arno on 31.03.2015 15:52:55
Also wenn ich deine Backup Datei wiederherstelle, haben alle Kategorien und Downloads die korrekten Berechtigungen:
User Group: Public
Download: inherited
Calculated settings = Allowed.

Also alles richtig. Bitte mache doch einmal diesen Test:
http://www.jdownloads.net/documentations/item/show-permissions-overview

Da kann man es besser sehen und Fehler schneller entdecken.
Title: Re: Rechteproblem nach Update von 1.9.2.11 auf 3.2.30
Post by: arsito on 31.03.2015 16:03:05
Hab ich erledigt... seltsam... ist alles deaktivert  ???

(http://s523258825.online.de/karate.de/2015-03-31%2016_00_59-.png)
Title: Re: Rechteproblem nach Update von 1.9.2.11 auf 3.2.30
Post by: Arno on 31.03.2015 16:07:59
Bitte poste die Pics nicht in den Text, einfach anhängen... ;)

Dein Problem kann ich leider hier aktuell nicht nachvollziehen. Bleibe aber trotzdem dran. Muss nur eine Pause jetzt machen.
Kümmere mich dann am abend noch einmal darum.  Bist du dann noch erreichbar?

Auf deine Testumgebung kann ich nicht drauf?
Oder ist das immer noch die selbe?
Title: Re: Rechteproblem nach Update von 1.9.2.11 auf 3.2.30
Post by: Arno on 31.03.2015 16:19:28
Okay. Auf den Testserver kann ich noch.

Bei Berechtigungen für jDownloads Komponente:
- wieso gibst du Besuchern und Registrierten die Rechte 'eigene Inhalte zu bearbeiten'? Die dürfen doch gar keine Inhalte erstellen... ich hab das mal korrigiert.
Title: Re: Rechteproblem nach Update von 1.9.2.11 auf 3.2.30
Post by: arsito on 31.03.2015 16:46:45
Hi Arno,

so eilig ist es nicht, es ist ja zum Glück nur die Testumgebung ;-) Will nicht das ich Dir soviel Zeit raube. Wennst mal die nächsten Tage Luft hast freu ich mich   8)
Öhm die Berechtigung war nicht bewusst gesetzt, wohl eher durch das rumprobieren so passiert.  ;)

viele Grüße
Melanie
Title: Re: Rechteproblem nach Update von 1.9.2.11 auf 3.2.30
Post by: Arno on 31.03.2015 16:49:54
Okay. Ich werde heute abend noch mal danach sehen (bei dir).
Ansonsten solltest du bis Ende April mit der Live Seite warten, da ich vom 3. bis zum 20. April im Urlaub bin.
Da werde ich hier nur wenig helfen können.
Title: Re: Rechteproblem nach Update von 1.9.2.11 auf 3.2.30
Post by: ColinM on 31.03.2015 19:06:31
Melanie
I may be able to help but my German is very, very poor - just enogh to travel and order food/wine/beer!
So if you could expain in simple English I should be able to assist.  It will be by asking you simple questions if that is OK with you.

For example have you done the "permissions recovery" as decribed in the article Arno referred to?

Colin
Title: Re: Rechteproblem nach Update von 1.9.2.11 auf 3.2.30
Post by: Arno on 31.03.2015 23:00:34
Hi Colin,
QuoteFor example have you done the "permissions recovery" as decribed in the article Arno referred to?
Melanie has it tried. But not with the expected result. So in her case must be somethings other.
I will try the 'reset' tool as next...
Title: Re: Rechteproblem nach Update von 1.9.2.11 auf 3.2.30
Post by: ColinM on 01.04.2015 00:14:26
Yes that would be my approach as well.I am tryig to establish the state. It might be that some "experimenting" has happened, much as I would do in such a situation.

I would next try to establish the state of the component permissions for Public and Registered groups, and have them all set to inherited. Would check every user group to ensure there were no Deny permissions. If there are set them to inherited.

Next create a new top level category and chek its permissions were all inherited for both groups. Then change Download permission to Allowed for Registered group only.
After that create a sub category of the new top level one.  After saving look at its permissions to see if Public still has computed Downloads permission of not alloewed but Registered group has computed Download permission of Allowed.
All of this to check that permissions on new categories are cascading.

Colin

Title: Re: Rechteproblem nach Update von 1.9.2.11 auf 3.2.30
Post by: Arno on 01.04.2015 02:33:34
Colin,
in the case from Melanie above, is the data structure from the assets table not more valid for all items.
So i have now used the ACL Manager to fix it. Hope that this will be helped.

@Melanie,
i have some problems with your server settings. Please note that the viewed settings from the pic are not really used on the server. See error on pic 2.
Have you already contacted your hoster how you can use the maximize settings?

[gelöscht durch Administrator]
Title: Re: Rechteproblem nach Update von 1.9.2.11 auf 3.2.30
Post by: arsito on 01.04.2015 10:10:16
Hi Arno,

sorry, there was the php.ini File from the live-site in the Admin-folder. I have phoned with 1und1 and they tell me, I can create a separate php.ini.
I´ve done and upload in htdocs and admin-folder. But I don´t know if the settings are enough.  :-[

Thanks
Melanie

[gelöscht durch Administrator]
Title: Re: Rechteproblem nach Update von 1.9.2.11 auf 3.2.30
Post by: ColinM on 01.04.2015 10:23:38
@Arno
Good idea- should have soorted the assets. Do you know  which server and does it use cpanel?
Colin
Title: Re: Rechteproblem nach Update von 1.9.2.11 auf 3.2.30
Post by: arsito on 01.04.2015 10:33:44
Hi @all

sorry my english is not so fine ;-) and my knowledge about Server is also not really good :-)

The Testsite http://s523258825.online.de/karate.de/ will work on a Managed-Server: http://hosting.1und1.de/managed-server
I think it must be performance L

The live-site, I must do the migration later, when work on the test-site.
This you can found at: karate.de and work on a 1&1 Server 2012 XL 6 Core

Best regards,
Melanie :-)
Title: Re: Rechteproblem nach Update von 1.9.2.11 auf 3.2.30
Post by: Arno on 01.04.2015 11:24:52
@melanie
thanks for the info. i will try it again later today.
Title: Re: Rechteproblem nach Update von 1.9.2.11 auf 3.2.30
Post by: ColinM on 01.04.2015 14:38:45
@Melanie
I have looked at your test site with my Android tablet.  Made a few downloads ok. But all the files had  a name of the form index-n.php  This could be my tablet.  Iwill be back home on a proper device in a couple of days.  It appears from initial tests that permissions have been sorted out.

Could you tell me in simple terms how you are seeking to set up your front end downloads.  For instance some downloads may  be available publically but others might require being logged on. Also you might need different "classes" of uploaders.

So as I can help whilst Arno is away maybe you could PM the admin login details.

If you wish to know more about permissions and view access levels the article below might help
Colin




http://www.jdownloads.net/documentations/item/controlled-access-to-categories-and-downloads
Title: Re: Rechteproblem nach Update von 1.9.2.11 auf 3.2.30
Post by: Arno on 01.04.2015 14:49:19
@Melanie,
i have now tried again to start the acl manager in the backend. But again we have not enough memory:
Fatal error: Allowed memory size of 94371840 bytes exhausted (tried to allocate 60 bytes) in /homepages/xx/xx/htdocs/karate.de/libraries/joomla/database/driver.php on line 1288

Are 90 MB really the limit by 1und1?  :-\

Also is deactiavted file uploads?
Allowed file uploads: No
Title: Re: Rechteproblem nach Update von 1.9.2.11 auf 3.2.30
Post by: arsito on 01.04.2015 14:53:22
Hi Arno,

sorry don´t know  :-(  I have now the php.ini up-to-date uploadet with this configuration:

memory_limit = 180M
post_max_size = 120M
upload_max_filesize = 120M
max_execution_time = 50000
max_input_time = 120

Maybe it will work now?

Thanks
Melanie
Title: Re: Rechteproblem nach Update von 1.9.2.11 auf 3.2.30
Post by: Arno on 01.04.2015 14:57:11
Okay. But please try it higher as 180. Maybe 240?

Edit:
Ich verstehe das nicht. Wie groß ist denn eure assets tabelle?
Title: Re: Rechteproblem nach Update von 1.9.2.11 auf 3.2.30
Post by: arsito on 01.04.2015 14:58:32
OK now this php.ini is online:

memory_limit = 240M
post_max_size = 120M
upload_max_filesize = 120M
max_execution_time = 50000
max_input_time = 120
file_uploads = On
Title: Re: Rechteproblem nach Update von 1.9.2.11 auf 3.2.30
Post by: Arno on 01.04.2015 15:03:25
Macht irgendwie keinen Sinn:
Fatal error: Out of memory (allocated 157810688) (tried to allocate 20 bytes) in /homepages/xx/dxxx/htdocs/karate.de/libraries/joomla/database/driver/mysqli.php on line 811

Ich verstehe das nicht. Wie groß ist denn eure assets tabelle?

Ich fürchte da bleibt uns nur noch die Möglichkeit, dass ich mir ein akeeba Backup erstelle und das dann hier lokal versuche zu bereinigen.  ::)

Title: Re: Rechteproblem nach Update von 1.9.2.11 auf 3.2.30
Post by: arsito on 01.04.2015 15:12:02
Die Tabelle assets in MySQL ist 13.5 MiB groß  :o ;D ? 
Title: Re: Rechteproblem nach Update von 1.9.2.11 auf 3.2.30
Post by: Arno on 01.04.2015 15:37:01
Quote from: arsito on 01.04.2015 15:12:02
Die Tabelle assets in MySQL ist 13.5 MiB groß  :o ;D ? 
Ja, das ist schon sehr viel und trotzdem fehlen dort offensichtlich 500-1000 Einträge (z.B. von den Joomla Artikel).
Kann es sein, dass diese Joomla Installation früher unter 2.5 lief und du sie irgendwann nach Joomla 3.x migriert hattest?
Wenn ja vermute ich langsam, dass da irgendetwas nicht richtig geklappt hat.
Frage ist nur wie jetzt weitermachen?

Ich werde erst einmal weiter versuchen, die DB hier lokal zu bereinigen. Mal sehen...
Title: Re: Rechteproblem nach Update von 1.9.2.11 auf 3.2.30
Post by: arsito on 01.04.2015 15:38:40
Nein das war von Haus aus eine frische 3er Installation.

Ich weiß nicht ob sich der Aufwand für dich lohnt, weil eigentlich ist das ja nur eine Testseite... aber ich trau mich gar nicht ran an der richtigen Seite irgendwann dann die Migration durchzuführen  :o
Title: Re: Rechteproblem nach Update von 1.9.2.11 auf 3.2.30
Post by: Arno on 01.04.2015 15:46:43
QuoteNein das war von Haus aus eine frische 3er Installation.
Das macht das ganze noch seltsamer.

Wenn ich mir deine DB ansehe:
- Anzahl Zoo kategorien: 434.755  ???
- Anzahl redirect_links:   143.119  ???
- Anzahl Artikel: ~ 30.000  ???

Kann das sein?

Du hast insgesamt fast 800.000 Datensätze da drin...

Edit:
- wir warten bis ich vom Urlaub zurück bin mit der Migration.

@Colin:

we will wait until i be back from my holiday trip with the migartion work.  ;)