joseph

@joseph@social.joespace.ca

This profile is from a federated server and may be incomplete. Browse more on the original instance.

joseph, to admins

This is Joseph. I finally got my new friendica node up and running. Not for the faint of hear

It is running, as you can see my message.

While I know that I have a few things to set up, I was reading over the doc's and it talked about adding a relay. This way, get more traffic and will see posts outside of my ultra tiny circle of contacts(myself at the moment, and friendica admin and support forums!)

They say go to the command line and enter the add relay command with the relay domain question:
bin/console relay add relay.example.com/actor

But, the command line spits out the error:
-bash: bin/console: No such file or directory

What might I have missed during my install so that the bin/conssole command is not availabe?

How can I fix it?

Thanks for any help!

Joseph

joseph,

@andy and @heluecht

Thanks guys for the quick reply.

I forgot about being in the friendica folder. I'll do that.

@heluecht you mention something about making sure that the script is executable. We are talking about what script?

Thanks again

joseph,

@andy
@heluecht
Well, entered the command as I showed before, replacing the relay site:

bin/console relay add relay.mycrowd.ca/actor

It fails, shpowing this:
relay.mycrowd.ca/actor couldn't be added

The site is not accepting any? Or, there might be another issue?

You have any suggestions for other good relays?

Thanks

joseph,

@andy @heluecht

Thanks for the relay list. Lots to choose from:)

I tried one of them and the same error pops up again.

Why might the relay is not being added?

Thanks for any clues.

Joseph

joseph,

@andy @heluecht

Thanks for the relay list. Lots to choose from:)

I tried one of them and the same error pops up again.

Why might the relay is not being added?

Thanks for any clues.

Joseph

joseph,

@andy @heluecht

Thanks for the relay list. Lots to choose from:)

I tried one of them and the same error pops up again.

Why might the relay is not being added?

Thanks for any clues.

Joseph

joseph,

@andy @heluecht

Thanks for the relay list. Lots to choose from:)

I tried one of them and the same error pops up again.

Why might the relay is not being added?

Thanks for any clues.

Joseph

joseph,

@andy I noted the message:

relay.mycrowd.ca/actor couldn't be added

That is the error message.

joseph,

@heluecht @andy I entered the command just as @hypolite typed it in, and it does not like it. Here is the result:
root@social:/var/www/html# bin/console -v relay add relay.mycrowd.ca/actor
Executable: /var/www/html/bin/console.php
Arguments: array (
0 => 'add',
1 => 'https://relay.mycrowd.ca/actor',
)
Options: array (
'v' => 'relay',
)
Command: add
[Warning] Command add doesn't exist

Usage: bin/console [--version] [-h|--help|-?] <command> [<args>] [-v]

Commands:
addon Addon management
cache Manage node cache
config Edit site config
contact Contact management
createdoxygen Generate Doxygen headers
dbstructure Do database updates
docbloxerrorchecker Check the file tree for DocBlox errors
extract Generate translation string file for the Friendica project (deprecated)
globalcommunityblock Block remote profile from interacting with this node
globalcommunitysilence Silence a profile from the global community page
archivecontact Archive a contact when you know that it isn't existing anymore
help Show help about a command, e.g (bin/console help config)
autoinstall Starts automatic installation of friendica based on values from htconfig.php
lock Edit site locks
maintenance Set maintenance mode for this node
movetoavatarcache Move cached avatars to the file based avatar cache
mergecontacts Merge duplicated contact entries
user User management
php2po Generate a messages.po file from a strings.php file
po2php Generate a strings.php file from a messages.po file
typo Checks for parse errors in Friendica files
postupdate Execute pending post update scripts (can last days)
relocate Update node base URL
serverblock Manage blocked servers
storage Manage storage backend
relay Manage ActivityPub relay servers

Options:
-h|--help|-? Show help information
-v Show more debug information.
[Backtrace]:
#0 /var/www/html/src/Core/Console.php(157): Friendica\Core\Console->getSubConsole()
#1 /var/www/html/vendor/asika/simple-console/src/Console.php(108): Friendica\Core\Console->doExecute()
#2 /var/www/html/bin/console.php(45): Asika\SimpleConsole\Console->execute()
#3 {main}

Thanks for any ideas.

joseph,

@hypolite @heluecht
@andy

I entered the command just as @Hypolite Petovan typed it in, and it does not like it. Here is the result:
root@social:/var/www/html# bin/console -v relay add relay.mycrowd.ca/actor
Executable: /var/www/html/bin/console.php
Arguments: array (
0 => 'add',
1 => 'https://relay.mycrowd.ca/actor',
)
Options: array (
'v' => 'relay',
)
Command: add
[Warning] Command add doesn't exist

Usage: bin/console [--version] [-h|--help|-?] <command> [<args>] [-v]

Commands:
addon Addon management
cache Manage node cache
config Edit site config
contact Contact management
createdoxygen Generate Doxygen headers
dbstructure Do database updates
docbloxerrorchecker Check the file tree for DocBlox errors
extract Generate translation string file for the Friendica project (deprecated)
globalcommunityblock Block remote profile from interacting with this node
globalcommunitysilence Silence a profile from the global community page
archivecontact Archive a contact when you know that it isn't existing anymore
help Show help about a command, e.g (bin/console help config)
autoinstall Starts automatic installation of friendica based on values from htconfig.php
lock Edit site locks
maintenance Set maintenance mode for this node
movetoavatarcache Move cached avatars to the file based avatar cache
mergecontacts Merge duplicated contact entries
user User management
php2po Generate a messages.po file from a strings.php file
po2php Generate a strings.php file from a messages.po file
typo Checks for parse errors in Friendica files
postupdate Execute pending post update scripts (can last days)
relocate Update node base URL
serverblock Manage blocked servers
storage Manage storage backend
relay Manage ActivityPub relay servers

Options:
-h|--help|-? Show help information
-v Show more debug information.
[Backtrace]:
#0 /var/www/html/src/Core/Console.php(157): Friendica\Core\Console->getSubConsole()
#1 /var/www/html/vendor/asika/simple-console/src/Console.php(108): Friendica\Core\Console->doExecute()
#2 /var/www/html/bin/console.php(45): Asika\SimpleConsole\Console->execute()
#3 {main}

Thanks for any ideas.

joseph,

@hypolite

Thanks for the change.

Here is the new output:
root@social:/var/www/html# bin/console relay add relay.mycrowd.ca/actor -v
Executable: /var/www/html/bin/console.php
Arguments: array (
0 => 'relay',
1 => 'add',
2 => 'https://relay.mycrowd.ca/actor',
)
Options: array (
'v' => 1,
)
Command: relay
Executable: /var/www/html/bin/console.php
Class: Friendica\Console\Relay
Arguments: array (
0 => 'add',
1 => 'https://relay.mycrowd.ca/actor',
)
Options: array (
'v' => 1,
)
relay.mycrowd.ca/actor couldn't be added

joseph,

I tried, but no luck.

What does the error say?

I am still stuck with out the ability to add a relay. I am still open to other possible ideas on how to add them.

Anyone?

Thanks

joseph,

@andy @heluecht @hypolite

I decided to look around and found no clues on the internet as to my issue. Only one conversation on github which did not lead to a solution.

Do I need to keep or remove the https://??

Examples show them being used.

Thanks

joseph,

Well, I have gone through about 1/3 fo the relays on the relaylist.com page. They either:
can not add relay
this site is not a relay

I will keep trying the rest of the ones on the list. I will also try and figure out how to contact the admin of the sites and try and work with them.

In the meantime, if any of you use or know of bonifide working English or French language relays, I'd be happy to hear from you:)

Thanks for any leads:)

joseph,

Hi again,

I tried half of the relays on the relaylist.com page. Either they do not work, or it says that they are not a relay.

Frustrating!

Now, I wanto contact the admins on those sites.

How via friendica?

The contact person address is:
@admin

I tried via the friendica message system, but it will not send.

Do I have the right email message format?

Thanks for any help

joseph,

@flyboy nice o know that they come an dgo. I'll keep this in mind.

As for the filtering and blocking, what is this for(maybe to remove unwanted words? Tags can be added to remove messages with those tags?)

Thanks

joseph,

@flyboy
@andy
@heluecht
@hypolite

I checked my bin permissions:
4 drwxrwxr-x 3 www-data www-data 4096 Feb 20 13:39

Is this where I run the command you noted?

YOU noted that I cannot run as root. Well, I always did. I will stop running as admin.

When I did execute the command, I get this result:

PHP Warning: include(/var/www/html/config/local.config.php): Failed to open stream: Permission denied in /var/www/html/src/Core/Config/Util/ConfigFileManager.php on line 362
PHP Warning: include(): Failed opening '/var/www/html/config/local.config.php' for inclusion (include_path='.:/usr/share/php') in /var/www/html/src/Core/Config/Util/ConfigFileManager.php on line 362
PHP Fatal error: Uncaught Friendica\Core\Config\Exception\ConfigFileException: Error loading config file /var/www/html/config/local.config.php in /var/www/html/src/Core/Config/Util/ConfigFileManager.php:365
Stack trace:
#0 /var/www/html/src/Core/Config/Util/ConfigFileManager.php(162): Friendica\Core\Config\Util\ConfigFileManager->loadConfigFile()
#1 /var/www/html/src/Core/Config/Util/ConfigFileManager.php(112): Friendica\Core\Config\Util\ConfigFileManager->loadCoreConfig()

The first few were PHP warning. Is this why you said to change it to run as PHP?

Thanks

joseph,

Hi @flyboy

I've not yet resolved my issue, but I was not able to sit down and play with friendica for a few days.

I went in and saw that my bin folder is:
4 drwxrwxr-x 3 www-data www-data 4096 Feb 20 13:39 bin

I went inside the bin flder and saw:
4 drwxrwxr-x 3 www-data www-data 4096 Feb 20 13:39 .
4 drwxrwxr-x 21 www-data www-data 4096 Feb 23 07:39 ..
4 -rwxrwxr-x 1 www-data www-data 3482 Feb 11 01:30 auth_ejabberd.php
1948 -rwxrwxr-x 1 www-data www-data 1993462 Feb 11 01:30 composer.phar
4 -rwxrwxr-x 1 www-data www-data 274 Feb 11 01:30 console
4 -rwxrwxr-x 1 www-data www-data 125 Feb 11 01:30 console.bat
4 -rwxrwxr-x 1 www-data www-data 1772 Feb 11 01:30 console.php
8 -rwxrwxr-x 1 www-data www-data 7059 Feb 11 01:30 daemon.php
4 drwxrwxr-x 3 www-data www-data 4096 Feb 11 01:30 dev
4 -rw-rw-r-- 1 www-data www-data 363 Feb 11 01:30 .htaccess
4 -rwxrwxr-x 1 www-data www-data 3592 Feb 11 01:30 run_xgettext.sh
4 -rw-rw-r-- 1 www-data www-data 1404 Feb 11 01:30 testargs.php
4 -rwxrwxr-x 1 www-data www-data 1964 Feb 11 01:30 wait-for-connection
4 -rwxrwxr-x 1 www-data www-data 2852 Feb 11 01:30 worker.php

all my files and folder all have the owners of www-data www-data
YOu can see the permissions are all 775 withthe exceotion of:
.htaccess
testargs.php

You asked me to run that command to change to www-data, but my foled and folders already have that.

What else might I look for to resolve the issue about what I can no successfully at the relays to my server?

Thanks

@heluecht @hypolite @andy

  • All
  • Subscribed
  • Moderated
  • Favorites
  • JUstTest
  • kavyap
  • DreamBathrooms
  • thenastyranch
  • magazineikmin
  • osvaldo12
  • khanakhh
  • Youngstown
  • mdbf
  • slotface
  • rosin
  • everett
  • ngwrru68w68
  • Durango
  • anitta
  • InstantRegret
  • GTA5RPClips
  • cubers
  • ethstaker
  • normalnudes
  • tacticalgear
  • cisconetworking
  • tester
  • Leos
  • modclub
  • megavids
  • provamag3
  • lostlight
  • All magazines