friendica.eskimo.com

Tutorial friendica (via ActivityPub)

frio theme - Service Unavailable

Hi there @Friendica Support
just changed on this profile to FRIO as VIER seems to basically not perform the basic functions.

When I try to go to the settings page I get a "Service Unavailable" page.

What should I do?

friendica 2023.05 - firefox

1
xy.. friendica (via ActivityPub)
@Tutorial i think the view directory or so needs to be writable.. if that helps
1
TupambAdmin [stable] friendica (via ActivityPub)

@xy..

you mean(?):
> creating folder for page view renderings
www-data@VPShosting:~/html$ mkdir -p view/smarty3
www-data@VPShosting:~/html$ chmod 775 view/smarty3

tupambae.org/display/0ac89072-…


friendica installation


Categories: friendica,VPS,github


friendica installation on the VPS hosting
--
Up to this point we basically performed a standard LAMP installation on a ubuntu 22.04 LTS VPS hosting.

The following steps concern the actual friendica server installation.



creating the directory for friendica and the user www-data

creat directories and permission for user www-databack ground information what-is-var-www-html?
https://stackoverflow.com/questions/16197663/what-is-var-www-htm

rootname@VPShosting:~# sudo chown -R www-data:www-data /var/www
rootname@VPShosting:~# cd /var/www

creating user www-data and changing from user rootname to www-data

rootname@VPShosting:~/var/www# sudo -u www-data bash
www-data@VPShosting:~$
(confirmation check if this is where console changes to www-data@VPShosting:~#)

moving (deactivating) the old /html folder

www-data@VPShosting:~$ mv html html.bak
The new /html folder will be created when we clone the gitHub stable branch of friendica in the next step.


cloning friendica from the gitHub repository

www-data@VPShosting:~$ git clone https://github.com/friendica/friendica.git -b stable html

configure PHP dependencies

www-data@VPShosting:~$ cd html
www-data@VPShosting:~/html$ bin/composer.phar install --no-dev
(is this the point the SSL install went wrong?)
squeet.me/display/962c3e10-126…

creating folder for page view renderings

www-data@VPShosting:~/html$ mkdir -p view/smarty3
www-data@VPShosting:~/html$ chmod 775 view/smarty3

cloning the addons github repository

www-data@VPShosting:~/html$ git clone https://github.com/friendica/friendica-addons.git -b stable addon

activating .htaccess

www-data@VPShosting:~/html$ cp .htaccess-dist .htaccess

exiting user www-data

www-data@VPShosting:~/html$ exit
rootname@VPShosting:~/var/www/html#


#debian #linux #friendica #fediVerse #fediTutorial


1
Roland Häder friendica (via ActivityPub)
@Tutorial Strange is that your account is reported as DFRN contact and not ActivityPub . But that is unrelated to this issue. Just what I have observed.
1
TupambAdmin [stable] friendica (via ActivityPub)

thx for that observation @Roland Häder, there is definitely something wrong with the forum pages over here, at least with those created by the related account of @Tutorial .

Still trying to define what's wrong for the consequent error or bug report.

This might have something to do with a setting by the previous hosting in local.config.php, there is a post in the helpers forum about that wrong setting.
Maybe there is still a change necessary from 'localhost' to '127.0.0.1', I didn't find the time yet to address and test that.

1
Roland Häder friendica (via ActivityPub)
@TupambAdmin [stable] I thank that part with #DFRN is that @Tutorial is a group/forum and not a normal account but I might be wrong. So please report your issue at github.com/friendica/friendica…
1
TupambAdmin [stable] friendica (via ActivityPub)

Even tho it is unrelated that the tutorial account and also this one is reported as DFRN contact and not ActivityPub, that might be some hint to something, there are some things that don't work as expected or as they should so this is a hint to have at least in mind.

I just posted this follow up help request with "into deep" information about the CHMOD settings of the smarty3 folder:
tupambae.org/display/0ac89072-…


Correct CMOD settings for smarty3, subfolders and their users


Hi there @Friendica Support ,
this question is related to this help request:
frio theme - Service Unavailable
tupambae.org/display/0ac89072-…

I had a look at the smarty CHMOD settings and found the following:

drwxrwxr-x 3 www-data www-data 4096 Nov 8 20:23 smarty3
If I'm not wrong that's CMOD 775 (rwx|rwx|r-x) (?)

In the installation process the commands to create the smarty folders were:
www-data@VPShosting:~/html$ mkdir -p view/smarty3
www-data@VPShosting:~/html$ chmod 775 view/smarty3
see:
squeet.me/display/962c3e10-156…
tupambae.org/display/0ac89072-…
--
I looked into the subfolders and found:

rootname@VPShosting:/var/www/html/view/smarty3# ls -l
drwxr-xr-x 222 www-data www-data 4096 Nov 25 17:20 compiled => CMOD 755 (rwx|r-x|r-x) (?)
--
The folder "compiled" has a long list of sub-folders apparently each having 2 more steps of sub-folders.

rootname@VPShosting:/var/www/html/view/smarty3/compiled# ls -l
total 880

I found two types of folders, some few created on different dates strangely belonging to the user root instead of www-data, here two examples and how those two types of subfolders look like.
I guess the folders owned by root are wrong?
--------------------
drwxr-xr-x 3 root root 4096 Nov 12 04:35 00
-
rootname@VPShosting:/var/www/html/view/smarty3/compiled/00# ls -l
drwxr-xr-x 3 root root 4096 Nov 12 04:35 d4 => CMOD 755 (rwx|r-x|r-x) (?)

rootname@VPShosting:/var/www/html/view/smarty3/compiled/00/d4# ls -l
drwxr-xr-x 2 root root 4096 Nov 12 04:35 ec => CMOD 755 (rwx|r-x|r-x) (?)

rootname@VPShosting:/var/www/html/view/smarty3/compiled/00/d4/ec# ls -l
-rw-r--r-- 1 root root 675 Nov 12 04:35 00d4eca105abd94437094f3d4409477acb55526a_2.string.php => CMOD 644 (rw-|r--|r--) (?)
--------------------
drwxr-xr-x 3 www-data www-data 4096 Nov 22 20:25 01
-
rootname@VPShosting:/var/www/html/view/smarty3/compiled/01# ls -l
drwxr-xr-x 3 www-data www-data 4096 Nov 22 20:25 97 => CMOD 755 (rwx|r-x|r-x) (?)

rootname@VPShosting:/var/www/html/view/smarty3/compiled/01/97# ls -l
drwxr-xr-x 2 www-data www-data 4096 Nov 22 20:25 f2 => CMOD 755 (rwx|r-x|r-x) (?)

rootname@VPShosting:/var/www/html/view/smarty3/compiled/01/97/f2# ls -l
-rw-r--r-- 1 www-data www-data 6140 Nov 22 20:25 0197f2d4b23957a898d38870d6c6a3775da487ff_2.file.group_side.tpl.php => CMOD 644 (rw-|r--|r--) (?)


1
TupambAdmin [stable] friendica (via ActivityPub)

Looks like I can't answer here with the admin profile.
FRIO gives the same error over here.

/edit
I can comment but the comment doesn't show up in the stream.
I had to open the page in a new tab.

This entry was edited (1 year ago)
1
TupambAdmin [stable] friendica (via ActivityPub)
adding follow request page to the "service unavailable" messages:
1

This website uses cookies. If you continue browsing this website, you agree to the usage of cookies.