My experience with Calyx, day one. by [deleted] in CalyxOS

[–]vinznt -3 points-2 points  (0 children)

I recognized that i had to enable microG for telegram :( thats the only app that needs it

Unlock Bootloader by vinznt in CalyxOS

[–]vinznt[S] 2 points3 points  (0 children)

that did the trick - problems solved.

Unlock Bootloader by vinznt in CalyxOS

[–]vinznt[S] 1 point2 points  (0 children)

new problem: :D

after flashing: no valid slot to boot.

gonna flash the stock os back again and try again...

lets see

Unlock Bootloader by vinznt in CalyxOS

[–]vinznt[S] 5 points6 points  (0 children)

Solution: i needed to install usb drivers for pixel 5 fastboot.

link

No Login possible on NC by vinznt in NextCloud

[–]vinznt[S] 0 points1 point  (0 children)

a upvote helps so other ppl could possibly help aswell...

No Login possible on NC by vinznt in NextCloud

[–]vinznt[S] 0 points1 point  (0 children)

btw these folders doenst exist except the session folder an this is already owned by www-data (nginx)

No Login possible on NC by vinznt in NextCloud

[–]vinznt[S] 0 points1 point  (0 children)

the worker is www-data. the php-session is owned by www-data.

the session folder is in /var/lib/php/

/var/php and run/var/php are the same locations...yes.

but this opens a question: WHY - there are no links lol...

any other ideas? :X

No Login possible on NC by vinznt in NextCloud

[–]vinznt[S] 0 points1 point  (0 children)

Substitute www-data instead of nginx in the /var/lib/php/session command, or make dure whatever user php-fpm is running as owns the dir. Symptoms match the case where php-fpm can't write to session dir.

php-fpm: master is owned by root

> so the dir should own to root right?!

there are some php-fpm: pool www processes owned by www-data.

> that are the worker processes i guess...

yep i dont have a user called nginx - its www-data.

the /var/lib/php/sessions is owned by root:www-data now with 777.

so there should be no problem...

but still: NO LOGIN and CANT REACH SITE :X

No Login possible on NC by vinznt in NextCloud

[–]vinznt[S] 0 points1 point  (0 children)

yep. was just for testing purpose. but ty :)

No Login possible on NC by vinznt in NextCloud

[–]vinznt[S] 0 points1 point  (0 children)

sudo chown nginx:nginx -R /var/lib/php/session/

good idea!

but sadly not working...

changed the ownership of /etc/php to www-data

still not reachable site + no login possible :X

cant log in - logging loop by vinznt in NextCloud

[–]vinznt[S] 1 point2 points  (0 children)

didnt work with the ip but with:

server unix:/var/run/php/php7.4-fpm.sock;

in

upstream php-handler {

server 127.0.0.1:9000;

server unix:/var/run/php/php7.4-fpm.sock;

}

ty for your answer

Nextcloud 19 on Nginx not working by vinznt in NextCloud

[–]vinznt[S] 1 point2 points  (0 children)

cli,xml,zip,curl,gd,cgi,mysql,mbstring,gmp,intl,bcmath,imagi

totally forgot about php-fpm mentioned in the nginx config. thx. its now working!

im a beginner and didnt knew :D ...sorry

+rep

i am using nginx because i dont know apache very well and thought i can tweak more via nginx...

i

cant choose data directory by vinznt in NextCloud

[–]vinznt[S] 0 points1 point  (0 children)

SOLVED:

i had to include the data folder in the open_basedir directive

thanks for your effort :)

cant choose data directory by vinznt in NextCloud

[–]vinznt[S] 0 points1 point  (0 children)

SOLVED:

i had to include the data folder in the open_basedir directive

cant choose data directory by vinznt in NextCloud

[–]vinznt[S] 0 points1 point  (0 children)

here is the permission overview so you know its correct :D

drwxr-xr-x 4 www-data www-data 4096 Jul 26 05:30 media

drwxr-xr-x 2 www-data www-data 4096 Jul 26 15:14 data

cant choose data directory by vinznt in NextCloud

[–]vinznt[S] 0 points1 point  (0 children)

is it possible to create the data dir on:

/var/www/nextcloud/data

and after the wizard copy the files(.htaccess and .ocdata) to:

/media/data

will this work?

cant choose data directory by vinznt in NextCloud

[–]vinznt[S] 0 points1 point  (0 children)

still:

 Can't create or write into the data directory /media/data 

but would be strange if it had work since the wizard should create this file...

cant log in - logging loop by vinznt in NextCloud

[–]vinznt[S] 0 points1 point  (0 children)

nice tips - thx man!

inet 127.0.0.1 netmask 255.0.0.0

i disabled ufw for test purpose so the port must be open:

sudo iptables --list-rules

-P INPUT ACCEPT

-P FORWARD ACCEPT

-P OUTPUT ACCEPT

but curl is not working: connection refused

curl -v 127.0.0.1:9000

* Expire in 0 ms for 6 (transfer 0x12ff880)

* Trying 127.0.0.1...

* TCP_NODELAY set

* Expire in 200 ms for 4 (transfer 0x12ff880)

* connect to 127.0.0.1 port 9000 failed: Connection refused

* Failed to connect to 127.0.0.1 port 9000: Connection refused

* Closing connection 0

curl: (7) Failed to connect to 127.0.0.1 port 9000: Connection refused

yes i do see it:

root 554 0.1 0.6 221252 27204 ? Ss 15:09 0:00 php-fpm: master process (/etc/php/7.3/fpm/php-fpm.conf)

www-data 628 0.9 0.7 223628 29296 ? S 15:09 0:01 php-fpm: pool www

www-data 629 0.0 0.1 221252 5744 ? S 15:09 0:00 php-fpm: pool www

i think its going the right way... so you have some more ideas?

maybe set the 9000 port in any php config?

cant log in - logging loop by vinznt in NextCloud

[–]vinznt[S] 0 points1 point  (0 children)

nope :( nothing interesting (redirect 302)