Tribe Support

In this group #Anahita Tribe members provide support and help each other out. All posts should be public in this group. #support

Stories

Pete Jones commented on the topic

installation

anahitasocial/anahita: Anahita is a platform and framework for developing open science and knowledge sharing applications on a social networking foundation. (github.com)

i havew followed this and ev...

Read More

anahitasocial/anahita: Anahita is a platform and framework for developing open science and knowledge sharing applications on a social networking foundation. (github.com)

i havew followed this and everything appears to install.  including setting up of db.  however when i go to the try loggin in or goig to the

/people/signup

the url is not found.  

Is there something that i am missing? 

Read Less
Hi Rastin, not worried about email. i use AWS SES that is enterprise grade emai. I am still perplexed as to what i am getting 404 error for any routes after the index page.

ubuntu@ip-172-26-5-190:/var/log$ tail ... Read More
Hi Rastin, not worried about email. i use AWS SES that is enterprise grade emai. I am still perplexed as to what i am getting 404 error for any routes after the index page.

ubuntu@ip-172-26-5-190:/var/log$ tail apache2/error.log
[Thu Sep 23 02:30:13.080589 2021] [core:error] [pid 17089] [client 203.159.80.44:60244] AH00037: Symbolic link not allowed or link target not accessible: /var/www/anahita.drmelshealth.com
[Thu Sep 23 02:35:13.199516 2021] [core:error] [pid 17092] [client 192.241.221.234:43528] AH00037: Symbolic link not allowed or link target not accessible: /var/www/anahita.drmelshealth.com
[Thu Sep 23 02:36:11.047334 2021] [core:error] [pid 17387] [client 209.141.62.185:56202] AH00037: Symbolic link not allowed or link target not accessible: /var/www/anahita.drmelshealth.com
[Thu Sep 23 04:04:01.751952 2021] [php7:warn] [pid 17092] [client 209.17.96.50:49752] PHP Warning: require_once(/home/ubuntu/anahita/src/includes/framework.php): failed to open stream: No such file or directory in /home/ubuntu/anahita/vendor/anahita/anahita/src/includes/bootstrap.php on line 16
[Thu Sep 23 04:04:01.751987 2021] [php7:error] [pid 17092] [client 209.17.96.50:49752] PHP Fatal error: require_once(): Failed opening required '/home/ubuntu/anahita/src/includes/framework.php' (include_path='.:/usr/share/php') in /home/ubuntu/anahita/vendor/anahita/anahita/src/includes/bootstrap.php on line 16
[Thu Sep 23 04:11:44.328902 2021] [mpm_prefork:notice] [pid 17081] AH00169: caught SIGTERM, shutting down
[Thu Sep 23 04:12:54.305258 2021] [mpm_prefork:notice] [pid 884] AH00163: Apache/2.4.29 (Ubuntu) configured -- resuming normal operations
[Thu Sep 23 04:12:54.307623 2021] [core:notice] [pid 884] AH00094: Command line: '/usr/sbin/apache2'
[Thu Sep 23 04:20:11.681241 2021] [php7:warn] [pid 1279] [client 196.65.238.157:49769] PHP Warning: file_put_contents(/home/ubuntu/anahita/www/media/lib_anahita/js/production/site.uncompressed.js): failed to open stream: Permission denied in /home/ubuntu/anahita/vendor/anahita/anahita/src/libraries/default/base/template/helper/javascript/file.php on line 116
[Thu Sep 23 04:20:11.681942 2021] [php7:warn] [pid 1279] [client 196.65.238.157:49769] PHP Warning: file_put_contents(/home/ubuntu/anahita/www/cache/site.js.54c481adb38c63c5f70cf7df48eb558a): failed to open stream: Permission denied in /home/ubuntu/anahita/vendor/anahita/anahita/src/libraries/default/base/template/helper/javascript/file.php on line 119
ubuntu@ip-172-26-5-190:/var/log$ Read Less
Rastin Mehr

Rastin Mehr and Pete Jones commented on the topic

installation

anahitasocial/anahita: Anahita is a platform and framework for developing open science and knowledge sharing applications on a social networking foundation. (github.com)

i havew followed this and ev...

Read More

anahitasocial/anahita: Anahita is a platform and framework for developing open science and knowledge sharing applications on a social networking foundation. (github.com)

i havew followed this and everything appears to install.  including setting up of db.  however when i go to the try loggin in or goig to the

/people/signup

the url is not found.  

Is there something that i am missing? 

Read Less
Hi Pete,

Can you see the homepage?

When you click on the login button, does it still tell you that the page isn't found?

Is there a .htaccess file in your www directory?
Also, the Anahita React app is still under active development and unstable. We can't provide support for it yet. You can still play with the code if you are familiar with React apps. The current code in the Anahita Re... Read More
Also, the Anahita React app is still under active development and unstable. We can't provide support for it yet. You can still play with the code if you are familiar with React apps. The current code in the Anahita React master branch only works with the nohtml branch. The next version of Anahita doesn't have HTML outputs. It only provides a RESTful API. Read Less
thanks for the reply, Rastin.

yes the home page loads up. http://anahita.drmelshealth.com/
Clicking on login button or entering /people/signup do not redirect to any page.

There is an htaccess file. i have p... Read More
thanks for the reply, Rastin.

yes the home page loads up. http://anahita.drmelshealth.com/
Clicking on login button or entering /people/signup do not redirect to any page.

There is an htaccess file. i have pasted it below.
is there something that i need to modify to support url rewriting?


$cat .htaccess
#####################################################
# READ THIS COMPLETELY IF YOU CHOOSE TO USE THIS FILE
#
# The line just below this section: 'Options +FollowSymLinks' may cause problems
# with some server configurations. It is required for use of mod_rewrite, but may already
# be set by your server administrator in a way that dissallows changing it in
# your .htaccess file. If using it causes your server to error out, comment it out (add # to
# beginning of line), reload your site in your browser and test your sef url's. If they work,
# it has been set by your server administrator and you do not need it set here.
#
#####################################################

## Can be commented out if causes errors, see notes above.
Options +FollowSymLinks

#
# mod_rewrite in use

RewriteEngine On

########## Begin - Rewrite rules to block out some common exploits
## If you experience problems on your site block out the operations listed below
## This attempts to block the most common type of exploit `attempts` to anahita!
#
## Deny access to extension xml files (uncomment out to activate)
#
#Order allow,deny
#Deny from all
#Satisfy all
#
## End of deny access to extension xml files
# Block out any script trying to base64_encode data within the URL
RewriteCond %{QUERY_STRING} base64_encode[^(]*([^)]*) [OR]
# Block out any script that includes a tag in URL
RewriteCond %{QUERY_STRING} (|%3E) [NC,OR]
# Block out any script trying to set a PHP GLOBALS variable via URL
RewriteCond %{QUERY_STRING} GLOBALS(=|[|%[0-9A-Z]{0,2}) [OR]
# Block out any script trying to modify a _REQUEST variable via URL
RewriteCond %{QUERY_STRING} _REQUEST(=|[|%[0-9A-Z]{0,2})
# Return 403 Forbidden header and show the content of the root homepage
RewriteRule .* index.php [F]
#
########## End - Rewrite rules to block out some common exploits


########## Begin - Custom redirects
#
# If you need to redirect some pages, or set a canonical non-www to
# www redirect (or vice versa), place that code here. Ensure those
# redirects use the correct RewriteRule syntax and the [R=301,L] flags.
#
########## End - Custom redirects


# Uncomment following line if your webserver's URL
# is not directly related to physical file paths.
# Update Your anahita! Directory (just / for root)

# RewriteBase /


########## Begin - anahita! core SEF Section
#
RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]
#
# If the requested path and file is not /index.php and the request
# has not already been internally rewritten to the index.php script
RewriteCond %{REQUEST_URI} !^/index.php
# and the request is for root, or for an extensionless URL, or the
# requested URL ends with one of the listed extensions
RewriteCond %{REQUEST_URI} (/[^.]*|.(json|php|html?|feed|pdf|raw))$ [NC]
# and the requested path and file doesn't directly match a physical file
RewriteCond %{REQUEST_FILENAME} !-f
# and the requested path and file doesn't directly match a physical folder
RewriteCond %{REQUEST_FILENAME} !-d
# internally rewrite the request to the index.php script
RewriteRule .* index.php [L]
#
########## End Read Less
i have modified the .htaccess file in the /www

/var/log/apache2$ tail error.log
[Wed Sep 22 09:08:20.509182 2021] [php7:warn] [pid 14236] [client 170.150.22.35:38324] PHP Warning: Invalid argument supplied for f... Read More
i have modified the .htaccess file in the /www

/var/log/apache2$ tail error.log
[Wed Sep 22 09:08:20.509182 2021] [php7:warn] [pid 14236] [client 170.150.22.35:38324] PHP Warning: Invalid argument supplied for foreach() in /home/ubuntu/anahita/src/libraries/anahita/http/url.php on line 321
[Wed Sep 22 09:08:20.509325 2021] [php7:warn] [pid 14236] [client 170.150.22.35:38324] PHP Warning: count(): Parameter must be an array or an object that implements Countable in /home/ubuntu/anahita/src/libraries/anahita/request/request.php on line 582
[Wed Sep 22 09:08:20.730362 2021] [php7:warn] [pid 14236] [client 170.150.22.35:38324] PHP Warning: count(): Parameter must be an array or an object that implements Countable in /home/ubuntu/anahita/src/libraries/anahita/request/request.php on line 582
[Wed Sep 22 10:48:14.757195 2021] [php7:warn] [pid 14236] [client 103.210.201.162:58740] PHP Warning: count(): Parameter must be an array or an object that implements Countable in /home/ubuntu/anahita/src/libraries/anahita/request/request.php on line 582
[Wed Sep 22 10:48:14.972591 2021] [php7:warn] [pid 14236] [client 103.210.201.162:58740] PHP Warning: count(): Parameter must be an array or an object that implements Countable in /home/ubuntu/anahita/src/libraries/anahita/request/request.php on line 582
[Wed Sep 22 13:47:32.217548 2021] [php7:warn] [pid 14239] [client 184.105.247.195:56222] PHP Warning: count(): Parameter must be an array or an object that implements Countable in /home/ubuntu/anahita/src/libraries/anahita/request/request.php on line 582
[Wed Sep 22 13:47:32.437857 2021] [php7:warn] [pid 14239] [client 184.105.247.195:56222] PHP Warning: count(): Parameter must be an array or an object that implements Countable in /home/ubuntu/anahita/src/libraries/anahita/request/request.php on line 582
[Wed Sep 22 15:26:33.438478 2021] [mpm_prefork:notice] [pid 3707] AH00169: caught SIGTERM, shutting down
[Wed Sep 22 15:26:33.539239 2021] [mpm_prefork:notice] [pid 16710] AH00163: Apache/2.4.29 (Ubuntu) configured -- resuming normal operations
[Wed Sep 22 15:26:33.539304 2021] [core:notice] [pid 16710] AH00094: Command line: '/usr/sbin/apache2' Read Less
You don't need to modify the .htaccess file I just wanted to make sure that it was in your www directory. There is something not right about your server configuration, and I can't figure it out from here. I suggest yo... Read More
You don't need to modify the .htaccess file I just wanted to make sure that it was in your www directory. There is something not right about your server configuration, and I can't figure it out from here. I suggest you first try installing Anahita on your local machine using MAMP or WAMP so you have a place to tweak around and experiment, before building a staging in the cloud. Also do try Nginx instead of Apache and see if it works for you. Read Less
I found that the configration .php is not set so I will try that.

It generates all of the tables. it is just the web server not loading any pages. I also noticed that the /console/config.php doesnt havr the email ... Read More
I found that the configration .php is not set so I will try that.

It generates all of the tables. it is just the web server not loading any pages. I also noticed that the /console/config.php doesnt havr the email and db settings set. Read Less
Rastin Mehr liked this
How did it create the database tables without configuration.php being set?
Edit configuration.php and make sure all the variables are set correctly. This file can guide you https://github.com/anahitasocial/anahita/blob/master/vendor/anahita-platform/configuration.php-dist
Pete Jones liked this
The init scripts for db host user password etc but not is prompted for email server so the db is created. I noticed a thread that mentions that without the email server the login page won’t function
Looking at the configuration.php-dist I see all email params commented out. Hence they will be promoted when running the site:init correct?

Pete Jones commented on the topic

installation

anahitasocial/anahita: Anahita is a platform and framework for developing open science and knowledge sharing applications on a social networking foundation. (github.com)

i havew followed this and ev...

Read More

anahitasocial/anahita: Anahita is a platform and framework for developing open science and knowledge sharing applications on a social networking foundation. (github.com)

i havew followed this and everything appears to install.  including setting up of db.  however when i go to the try loggin in or goig to the

/people/signup

the url is not found.  

Is there something that i am missing? 

Read Less
I have also tried setting it up based on these instructions

Setup Anahita-React and Anahita Backend as API on Digital Ocean

This article will help developer to setup Anahita ReactJS and Anahita as Backend service on ...

Read More
I have also tried setting it up based on these instructions

Setup Anahita-React and Anahita Backend as API on Digital Ocean

This article will help developer to setup Anahita ReactJS and Anahita as Backend service on Digital Ocean droplets.

Read Less

Pete Jones started a topic

installation

anahitasocial/anahita: Anahita is a platform and framework for developing open science and knowledge sharing applications on a social networking foundation. (github.com)

i havew followed this and ev...

Read More

anahitasocial/anahita: Anahita is a platform and framework for developing open science and knowledge sharing applications on a social networking foundation. (github.com)

i havew followed this and everything appears to install.  including setting up of db.  however when i go to the try loggin in or goig to the

/people/signup

the url is not found.  

Is there something that i am missing? 

Read Less
Rastin Mehr

Rastin Mehr and Connor Summeril commented on the topic

Figuring out Authentication Include Error

He There! I was able to stand up my Anahita Server on a Debian 10 digital ocean machine. I registered the root user using the CLI tool. 

However, now I am having some problems with adding a new tes...

Read More

He There! I was able to stand up my Anahita Server on a Debian 10 digital ocean machine. I registered the root user using the CLI tool. 

However, now I am having some problems with adding a new test user. My nginx log reports this,

2021/09/18 21:20:35 [error] 3894#3894: *30 FastCGI sent in stderr: "PHP message: PHP Warning:  require_once(/home/anahita-admin/openhmi/vendor/anahita/anahita/src/plugins/authentication/anahita.php): failed to open stream: No such file or directory in /home/anahita-admin/openhmi/src/libraries/default/plugins/helper.php on line 133PHP message: PHP Fatal error:  require_once(): Failed opening required '/home/anahita-admin/openhmi/vendor/anahita/anahita/src/plugins/authentication/anahita.php' (include_path='.:/usr/share/php') in /home/anahita-admin/openhmi/src/libraries/default/plugins/helper.php on line 133" while reading response header from upstream, client: *.*.*.*, server: openhmistaging.com, request: "POST /people/session HTTP/1.1", upstream: "fastcgi://unix:/run/php/php7.3-fpm.sock:", host: "openhmistaging.com", 
2021/09/18 21:34:49 [error] 3894#3894: *175 upstream timed out (110: Connection timed out) while reading response header from upstream, client: *.*.*.*, server: openhmistaging.com, request: "POST /people/signup HTTP/1.1", upstream: "fastcgi://unix:/run/php/php7.3-fpm.sock", host: "openhmistaging.com", referrer: "https://openhmistaging.com/people/signup?return=***************************"
root@# cat /home/anahita-admin/openhmi/vendor/anahita/anahita/src/plugins/authentication/anahita.php
cat: /home/anahita-admin/openhmi/vendor/anahita/anahita/src/plugins/authentication/anahita.php: No such file or directory
So I tried to cat the file in question and I see it is not there.It looks like the path to /home/anahita-admin/openhmi/vendor/anahita/
Is actually /home/anahita-admin/openhmi/www/vendor/anahita-platform
Is there some way I can modify a configuration parameter to fix this?
Thanks!
Read Less
Thanks Rastin! I have set the user permissions in my nginx and php-fpm configurations and I am no longer getting those errorsvf.

I'm still having some difficulties with mail functioning. The built in PHP sendmail f... Read More
Thanks Rastin! I have set the user permissions in my nginx and php-fpm configurations and I am no longer getting those errorsvf.

I'm still having some difficulties with mail functioning. The built in PHP sendmail function seem to be misconfigured or sending to somewhere unknown, is there a suitable configuration example floating around somewhere?

Additionally, when I go to change my avatar, the file seems to start loading and then I am redirected to a blank page, and nothing gets updated. Could this be related to the mailer not functioning or something else?

Thanks! Read Less
Rastin Mehr liked this
Excellent! The most reliable way to get the mail functioning working is to use an external SMTP service such as Mailgun. You can get your server to send out emails, but we have noticed that different environments have... Read More
Excellent! The most reliable way to get the mail functioning working is to use an external SMTP service such as Mailgun. You can get your server to send out emails, but we have noticed that different environments have inconsistent default configurations and you have to figure out why your Linux or PHP not sending out emails. Also when you use a service such as Mailgun, you won't risk having your email notifications getting flagged as spam. Read Less
For the file, uploads DO USE AWS S3, because uploading files on your own server make your server more vulnerable. If your cloud hosting company has a different file storage product, you have to develop your own custom... Read More
For the file, uploads DO USE AWS S3, because uploading files on your own server make your server more vulnerable. If your cloud hosting company has a different file storage product, you have to develop your own custom storage plugin to upload files. Read Less
Rastin Mehr

Rastin Mehr commented on the topic

Figuring out Authentication Include Error

He There! I was able to stand up my Anahita Server on a Debian 10 digital ocean machine. I registered the root user using the CLI tool. 

However, now I am having some problems with adding a new tes...

Read More

He There! I was able to stand up my Anahita Server on a Debian 10 digital ocean machine. I registered the root user using the CLI tool. 

However, now I am having some problems with adding a new test user. My nginx log reports this,

2021/09/18 21:20:35 [error] 3894#3894: *30 FastCGI sent in stderr: "PHP message: PHP Warning:  require_once(/home/anahita-admin/openhmi/vendor/anahita/anahita/src/plugins/authentication/anahita.php): failed to open stream: No such file or directory in /home/anahita-admin/openhmi/src/libraries/default/plugins/helper.php on line 133PHP message: PHP Fatal error:  require_once(): Failed opening required '/home/anahita-admin/openhmi/vendor/anahita/anahita/src/plugins/authentication/anahita.php' (include_path='.:/usr/share/php') in /home/anahita-admin/openhmi/src/libraries/default/plugins/helper.php on line 133" while reading response header from upstream, client: *.*.*.*, server: openhmistaging.com, request: "POST /people/session HTTP/1.1", upstream: "fastcgi://unix:/run/php/php7.3-fpm.sock:", host: "openhmistaging.com", 
2021/09/18 21:34:49 [error] 3894#3894: *175 upstream timed out (110: Connection timed out) while reading response header from upstream, client: *.*.*.*, server: openhmistaging.com, request: "POST /people/signup HTTP/1.1", upstream: "fastcgi://unix:/run/php/php7.3-fpm.sock", host: "openhmistaging.com", referrer: "https://openhmistaging.com/people/signup?return=***************************"
root@# cat /home/anahita-admin/openhmi/vendor/anahita/anahita/src/plugins/authentication/anahita.php
cat: /home/anahita-admin/openhmi/vendor/anahita/anahita/src/plugins/authentication/anahita.php: No such file or directory
So I tried to cat the file in question and I see it is not there.It looks like the path to /home/anahita-admin/openhmi/vendor/anahita/
Is actually /home/anahita-admin/openhmi/www/vendor/anahita-platform
Is there some way I can modify a configuration parameter to fix this?
Thanks!
Read Less
If the file isn't there, then usually the symlinking didn't happen properly and it has to do with user permissions in your Linux environment.
Connor Summeril

Connor Summeril started a topic

Figuring out Authentication Include Error

He There! I was able to stand up my Anahita Server on a Debian 10 digital ocean machine. I registered the root user using the CLI tool. 

However, now I am having some problems with adding a new tes...

Read More

He There! I was able to stand up my Anahita Server on a Debian 10 digital ocean machine. I registered the root user using the CLI tool. 

However, now I am having some problems with adding a new test user. My nginx log reports this,

2021/09/18 21:20:35 [error] 3894#3894: *30 FastCGI sent in stderr: "PHP message: PHP Warning:  require_once(/home/anahita-admin/openhmi/vendor/anahita/anahita/src/plugins/authentication/anahita.php): failed to open stream: No such file or directory in /home/anahita-admin/openhmi/src/libraries/default/plugins/helper.php on line 133PHP message: PHP Fatal error:  require_once(): Failed opening required '/home/anahita-admin/openhmi/vendor/anahita/anahita/src/plugins/authentication/anahita.php' (include_path='.:/usr/share/php') in /home/anahita-admin/openhmi/src/libraries/default/plugins/helper.php on line 133" while reading response header from upstream, client: *.*.*.*, server: openhmistaging.com, request: "POST /people/session HTTP/1.1", upstream: "fastcgi://unix:/run/php/php7.3-fpm.sock:", host: "openhmistaging.com", 
2021/09/18 21:34:49 [error] 3894#3894: *175 upstream timed out (110: Connection timed out) while reading response header from upstream, client: *.*.*.*, server: openhmistaging.com, request: "POST /people/signup HTTP/1.1", upstream: "fastcgi://unix:/run/php/php7.3-fpm.sock", host: "openhmistaging.com", referrer: "https://openhmistaging.com/people/signup?return=***************************"
root@# cat /home/anahita-admin/openhmi/vendor/anahita/anahita/src/plugins/authentication/anahita.php
cat: /home/anahita-admin/openhmi/vendor/anahita/anahita/src/plugins/authentication/anahita.php: No such file or directory
So I tried to cat the file in question and I see it is not there.It looks like the path to /home/anahita-admin/openhmi/vendor/anahita/
Is actually /home/anahita-admin/openhmi/www/vendor/anahita-platform
Is there some way I can modify a configuration parameter to fix this?
Thanks!
Read Less
Connor Summeril

Connor Summeril commented on the topic

Assistance with SMTP Settings

Hello,

I was able to set up my Anahita installation on my cloud machine (Digital Ocean Droplet) and get Nginx configured correctly so that I could see the landing page and see the Admin sign in page...

Read More

Hello,

I was able to set up my Anahita installation on my cloud machine (Digital Ocean Droplet) and get Nginx configured correctly so that I could see the landing page and see the Admin sign in page.Unfortunately, when I put in my information for an admin account, I get my browser saying the page is not found and no confirmation email is sent. After reading through some support posts I found the exact same behavior described here.

https://www.getanahita.com/topics/169108-no-user-signup-page?permalink=169237

The solution appeared to be changing SMTP settings but I am unsure how to set that up. I have the following as my SMTP settings with my Mailgun account:

   /* Mailer Settings */

   var $mailer = 'smtp';

   var $mailfrom = 'noreply@mail.testopenhmi.com';

   var $fromname = 'Anahita Website';

   var $sendmail = '/usr/sbin/sendmail';

   /* SMTP Settings */

   var $smtp_user = 'postmaster@mail.testopenhmi.com';

   var $smtp_pass = '********************';

   var $smtp_host = 'smtp.mailgun.org';

   var $smtp_secure = 'ssl';

   var $smtp_port = 465;

I have tried a few different configurations, different ports, and different settings for the $mailer variable. None of which seem to work.I am running my server on a Debian 10 system, as far as I could tell it does not come preconfigured with a sendmail binary. I tried installing sendmail and setting up some configuration but went down a path that did not seem correct and never got it working.Any general tips / advice on how to debug this and check errors? I have enabled debugging in my configuration already like this:

   /* Debuging Settings */

   var $debug = 1;

   var $error_reporting = 30719;

I still am not seeing error codes when I do this. Just looking for some help with SMTP and maybe some example configuration settings.Thank you! Read Less
Sounds good. Thanks! I'll try that out.
Rastin Mehr liked this
Connor Summeril

Connor Summeril and Rastin Mehr commented on the topic

Assistance with SMTP Settings

Hello,

I was able to set up my Anahita installation on my cloud machine (Digital Ocean Droplet) and get Nginx configured correctly so that I could see the landing page and see the Admin sign in page...

Read More

Hello,

I was able to set up my Anahita installation on my cloud machine (Digital Ocean Droplet) and get Nginx configured correctly so that I could see the landing page and see the Admin sign in page.Unfortunately, when I put in my information for an admin account, I get my browser saying the page is not found and no confirmation email is sent. After reading through some support posts I found the exact same behavior described here.

https://www.getanahita.com/topics/169108-no-user-signup-page?permalink=169237

The solution appeared to be changing SMTP settings but I am unsure how to set that up. I have the following as my SMTP settings with my Mailgun account:

   /* Mailer Settings */

   var $mailer = 'smtp';

   var $mailfrom = 'noreply@mail.testopenhmi.com';

   var $fromname = 'Anahita Website';

   var $sendmail = '/usr/sbin/sendmail';

   /* SMTP Settings */

   var $smtp_user = 'postmaster@mail.testopenhmi.com';

   var $smtp_pass = '********************';

   var $smtp_host = 'smtp.mailgun.org';

   var $smtp_secure = 'ssl';

   var $smtp_port = 465;

I have tried a few different configurations, different ports, and different settings for the $mailer variable. None of which seem to work.I am running my server on a Debian 10 system, as far as I could tell it does not come preconfigured with a sendmail binary. I tried installing sendmail and setting up some configuration but went down a path that did not seem correct and never got it working.Any general tips / advice on how to debug this and check errors? I have enabled debugging in my configuration already like this:

   /* Debuging Settings */

   var $debug = 1;

   var $error_reporting = 30719;

I still am not seeing error codes when I do this. Just looking for some help with SMTP and maybe some example configuration settings.Thank you! Read Less
Looks like 8.0.25

mysql --version
mysql Ver 8.0.25 for Linux on x86_64 (MySQL Community Server - GPL)
Rastin Mehr
Rastin Mehr
August 23 2021 Permalink
Yes, you may want to use MySql 5.7, the newer releases are pickier about the query syntaxes, and it isn't something we can fix right away.
Connor Summeril

Connor Summeril and Rastin Mehr commented on the topic

Assistance with SMTP Settings

Hello,

I was able to set up my Anahita installation on my cloud machine (Digital Ocean Droplet) and get Nginx configured correctly so that I could see the landing page and see the Admin sign in page...

Read More

Hello,

I was able to set up my Anahita installation on my cloud machine (Digital Ocean Droplet) and get Nginx configured correctly so that I could see the landing page and see the Admin sign in page.Unfortunately, when I put in my information for an admin account, I get my browser saying the page is not found and no confirmation email is sent. After reading through some support posts I found the exact same behavior described here.

https://www.getanahita.com/topics/169108-no-user-signup-page?permalink=169237

The solution appeared to be changing SMTP settings but I am unsure how to set that up. I have the following as my SMTP settings with my Mailgun account:

   /* Mailer Settings */

   var $mailer = 'smtp';

   var $mailfrom = 'noreply@mail.testopenhmi.com';

   var $fromname = 'Anahita Website';

   var $sendmail = '/usr/sbin/sendmail';

   /* SMTP Settings */

   var $smtp_user = 'postmaster@mail.testopenhmi.com';

   var $smtp_pass = '********************';

   var $smtp_host = 'smtp.mailgun.org';

   var $smtp_secure = 'ssl';

   var $smtp_port = 465;

I have tried a few different configurations, different ports, and different settings for the $mailer variable. None of which seem to work.I am running my server on a Debian 10 system, as far as I could tell it does not come preconfigured with a sendmail binary. I tried installing sendmail and setting up some configuration but went down a path that did not seem correct and never got it working.Any general tips / advice on how to debug this and check errors? I have enabled debugging in my configuration already like this:

   /* Debuging Settings */

   var $debug = 1;

   var $error_reporting = 30719;

I still am not seeing error codes when I do this. Just looking for some help with SMTP and maybe some example configuration settings.Thank you! Read Less
Hi Rastin! I have tried using the latest master version of Anahita so that I can attempt to create an administrative account without the GUI.

Initially, I was unable to create an account because I got a "Fatal erro... Read More
Hi Rastin! I have tried using the latest master version of Anahita so that I can attempt to create an administrative account without the GUI.

Initially, I was unable to create an account because I got a "Fatal error: Call to undefined function mb_strlen()"

This was an easy fix, just needed to install the mbstring module.

Now after executing the "php anahita site:init" command and entering my username and password I get:

[AnDatabaseException]
Incorrect integer value: '' for column 'allow_follow_request' at row 1 of the following query : INSERT INTO an_nodes(`
administrating_ids`, `alias`, `name`, `body`, `status`, `status_update_time`, `meta`, `id`, `component`, `enabled`, `v
erified`, `notification_ids`, `new_notification_ids`, `leader_count`, `leader_ids`, `blocker_ids`, `mutual_ids`, `mutu
al_count`, `allow_follow_request`, `follow_requester_ids`, `follower_count`, `follower_ids`, `blocked_ids`, `subscribe
r_count`, `subscriber_ids`, `created_on`, `modified_on`, `created_by`, `modified_by`, `access`, `permissions`, `geo_la
titude`, `geo_longitude`, `cover_filename`, `cover_mimetype`, `filename`, `mimetype`, `type`) VALUES ('', 'superadmin', '
Super Admin', NULL, NULL, NULL, '[]', NULL, 'com_people', 1, 0, '', '', 0, '', '', '', 0, '', '', 0, '', '', 0, '', '2
021-08-22 19:09:22', '2021-08-22 19:09:22', NULL, NULL, 'public', '[]', NULL, NULL, NULL, NULL, NULL, NULL, 'ComActors
DomainEntityActor,ComPeopleDomainEntityPerson,com:people.domain.entity.person')

I'll try to follow up with some extra debugging but just wanted to let you know initially in case it sparks anything. Read Less
Rastin Mehr liked this
Rastin Mehr
Rastin Mehr
August 22 2021 Permalink
What version of MySQL are you using?
Connor Summeril

Connor Summeril commented on the topic

Assistance with SMTP Settings

Hello,

I was able to set up my Anahita installation on my cloud machine (Digital Ocean Droplet) and get Nginx configured correctly so that I could see the landing page and see the Admin sign in page...

Read More

Hello,

I was able to set up my Anahita installation on my cloud machine (Digital Ocean Droplet) and get Nginx configured correctly so that I could see the landing page and see the Admin sign in page.Unfortunately, when I put in my information for an admin account, I get my browser saying the page is not found and no confirmation email is sent. After reading through some support posts I found the exact same behavior described here.

https://www.getanahita.com/topics/169108-no-user-signup-page?permalink=169237

The solution appeared to be changing SMTP settings but I am unsure how to set that up. I have the following as my SMTP settings with my Mailgun account:

   /* Mailer Settings */

   var $mailer = 'smtp';

   var $mailfrom = 'noreply@mail.testopenhmi.com';

   var $fromname = 'Anahita Website';

   var $sendmail = '/usr/sbin/sendmail';

   /* SMTP Settings */

   var $smtp_user = 'postmaster@mail.testopenhmi.com';

   var $smtp_pass = '********************';

   var $smtp_host = 'smtp.mailgun.org';

   var $smtp_secure = 'ssl';

   var $smtp_port = 465;

I have tried a few different configurations, different ports, and different settings for the $mailer variable. None of which seem to work.I am running my server on a Debian 10 system, as far as I could tell it does not come preconfigured with a sendmail binary. I tried installing sendmail and setting up some configuration but went down a path that did not seem correct and never got it working.Any general tips / advice on how to debug this and check errors? I have enabled debugging in my configuration already like this:

   /* Debuging Settings */

   var $debug = 1;

   var $error_reporting = 30719;

I still am not seeing error codes when I do this. Just looking for some help with SMTP and maybe some example configuration settings.Thank you! Read Less
That sounds good thanks for the update!
Connor Summeril

Connor Summeril and Rastin Mehr commented on the topic

Assistance with SMTP Settings

Hello,

I was able to set up my Anahita installation on my cloud machine (Digital Ocean Droplet) and get Nginx configured correctly so that I could see the landing page and see the Admin sign in page...

Read More

Hello,

I was able to set up my Anahita installation on my cloud machine (Digital Ocean Droplet) and get Nginx configured correctly so that I could see the landing page and see the Admin sign in page.Unfortunately, when I put in my information for an admin account, I get my browser saying the page is not found and no confirmation email is sent. After reading through some support posts I found the exact same behavior described here.

https://www.getanahita.com/topics/169108-no-user-signup-page?permalink=169237

The solution appeared to be changing SMTP settings but I am unsure how to set that up. I have the following as my SMTP settings with my Mailgun account:

   /* Mailer Settings */

   var $mailer = 'smtp';

   var $mailfrom = 'noreply@mail.testopenhmi.com';

   var $fromname = 'Anahita Website';

   var $sendmail = '/usr/sbin/sendmail';

   /* SMTP Settings */

   var $smtp_user = 'postmaster@mail.testopenhmi.com';

   var $smtp_pass = '********************';

   var $smtp_host = 'smtp.mailgun.org';

   var $smtp_secure = 'ssl';

   var $smtp_port = 465;

I have tried a few different configurations, different ports, and different settings for the $mailer variable. None of which seem to work.I am running my server on a Debian 10 system, as far as I could tell it does not come preconfigured with a sendmail binary. I tried installing sendmail and setting up some configuration but went down a path that did not seem correct and never got it working.Any general tips / advice on how to debug this and check errors? I have enabled debugging in my configuration already like this:

   /* Debuging Settings */

   var $debug = 1;

   var $error_reporting = 30719;

I still am not seeing error codes when I do this. Just looking for some help with SMTP and maybe some example configuration settings.Thank you! Read Less
Hi Rastin.

I tried the debug parameters in my configuration. I see that there is a log directory set in my local Anahita installation, but the logs do not get populated. I saw some initial permission issues after e... Read More
Hi Rastin.

I tried the debug parameters in my configuration. I see that there is a log directory set in my local Anahita installation, but the logs do not get populated. I saw some initial permission issues after enabling the "$error_reporting" variable and was able to resolve by changing the owner of the Anahita space to www-data.

Are you still working on the release to not send an email for the initial admin login? Last time I tried, (this past weekend) I was still unable to login to the admin account.

Thanks! Read Less
Connor, I checked the code and we had already implemented the concept of not sending out an email notification for the first user. You can see the code here: https://github.com/anahitasocial/anahita/blob/master/src/co... Read More
Connor, I checked the code and we had already implemented the concept of not sending out an email notification for the first user. You can see the code here: https://github.com/anahitasocial/anahita/blob/master/src/components/com_people/controllers/signup.php#L80

In Anahita 4.6.0 we have added a site:signup command which allows signing up the first user from the CLI, rather than the GUI. I think I am going to include it in the Anahita 4.5.2 Birth release. I'll see if I can do it this week and put out an announcement so you can help us with testing. Read Less
Most of the time, people encounter problems while installing and configuring Anahita with either file permission or Nginx configuration. You did right, which was trying to get an error message from the system and star... Read More
Most of the time, people encounter problems while installing and configuring Anahita with either file permission or Nginx configuration. You did right, which was trying to get an error message from the system and start resolving the issue from there. Read Less
Rastin Mehr

Rastin Mehr commented on the topic

Birth Release Command installing Embryo

Rastin: the command provided in instructions for installing a Stable Package (Birth release) 

composer create-project anahita/project myproject

seems to be installing 4.5.2 Embryo Release

Please guide

I just tried:

$ composer create-project anahita/project myproject

and it shows Anahita 4.5.1 Birth Release
Rastin Mehr

Rastin Mehr published a new Article

Preventing a php shell upload attack in your custom apps

A common form of attacks in applications that allow file upload is when you enable unrestricted file upload without checking the file type against a restricted list of mime-types in your back-end c...

Read More

A common form of attacks in applications that allow file upload is when you enable unrestricted file upload without checking the file type against a restricted list of mime-types in your back-end code. 

In the Anahita default installation, the only file uploads happen when a user uploads an avatar, cover image, or photo. In all cases, only certain mime types are allowed. If you are developing custom applications for Anahita that enable file uploads for videos, sound files, or documents, you MUST check the file type in your back-end code and allow only a specific list of mime-types. 

Otherwise, someone could try uploading a PHP shell file that exposes critical information about your server.

Another important tip is to use AWS S3 for storing your uploaded files. The storage is much cheaper, and the performance is much better, but a PHP shell file cannot execute in an AWS S3 bucket. Anahita, by default, stores the uploaded files in the assets directory in the root of Anahita. Use that option only on your development machine for testing your apps. On your Staging and Production servers, DO NOT store uploaded files in the root of your Anahita installation; instead, put all the files in AWS S3 buckets.

#Anahita #AWSS3 #Security #AppDevelopment #MimeTypes

Read Less
Connor Summeril

Connor Summeril and Rastin Mehr commented on the topic

Assistance with SMTP Settings

Hello,

I was able to set up my Anahita installation on my cloud machine (Digital Ocean Droplet) and get Nginx configured correctly so that I could see the landing page and see the Admin sign in page...

Read More

Hello,

I was able to set up my Anahita installation on my cloud machine (Digital Ocean Droplet) and get Nginx configured correctly so that I could see the landing page and see the Admin sign in page.Unfortunately, when I put in my information for an admin account, I get my browser saying the page is not found and no confirmation email is sent. After reading through some support posts I found the exact same behavior described here.

https://www.getanahita.com/topics/169108-no-user-signup-page?permalink=169237

The solution appeared to be changing SMTP settings but I am unsure how to set that up. I have the following as my SMTP settings with my Mailgun account:

   /* Mailer Settings */

   var $mailer = 'smtp';

   var $mailfrom = 'noreply@mail.testopenhmi.com';

   var $fromname = 'Anahita Website';

   var $sendmail = '/usr/sbin/sendmail';

   /* SMTP Settings */

   var $smtp_user = 'postmaster@mail.testopenhmi.com';

   var $smtp_pass = '********************';

   var $smtp_host = 'smtp.mailgun.org';

   var $smtp_secure = 'ssl';

   var $smtp_port = 465;

I have tried a few different configurations, different ports, and different settings for the $mailer variable. None of which seem to work.I am running my server on a Debian 10 system, as far as I could tell it does not come preconfigured with a sendmail binary. I tried installing sendmail and setting up some configuration but went down a path that did not seem correct and never got it working.Any general tips / advice on how to debug this and check errors? I have enabled debugging in my configuration already like this:

   /* Debuging Settings */

   var $debug = 1;

   var $error_reporting = 30719;

I still am not seeing error codes when I do this. Just looking for some help with SMTP and maybe some example configuration settings.Thank you! Read Less
Thanks for the quick response!

Yes I do see the home page when I go to the domain.
When I click the login page it sdoes take me to the login page, and I can click the signup link from there as well, which takes me... Read More
Thanks for the quick response!

Yes I do see the home page when I go to the domain.
When I click the login page it sdoes take me to the login page, and I can click the signup link from there as well, which takes me to the admin sign up page.

Here is my Nginx configuration. I have enabled the index.php$args parameter because I've seen that in some other support tickets. Let me know if you see anything out of order:

+++++++++++++++++++++++++++++++++++
server {

index index.php index.html index.htm;

root /home/anahita-admin/openhmi/www/;

server_name testopenhmi.com;

location / {
try_files $uri $uri/ /index.php$args;
}

location ~ .php$ {
include snippets/fastcgi-php.conf;
fastcgi_param SCRIPT_FILENAME $request_filename;
fastcgi_pass unix:/run/php/php7.3-fpm.sock;
}


listen [::]:443 ssl ipv6only=on; # managed by Certbot
listen 443 ssl; # managed by Certbot
ssl_certificate /etc/letsencrypt/live/testopenhmi.com/fullchain.pem; # managed by Certbot
ssl_certificate_key /etc/letsencrypt/live/testopenhmi.com/privkey.pem; # managed by Certbot
include /etc/letsencrypt/options-ssl-nginx.conf; # managed by Certbot
ssl_dhparam /etc/letsencrypt/ssl-dhparams.pem; # managed by Certbot

}
server {
if ($host = testopenhmi.com) {
return 301 https://$host$request_uri;
} # managed by Certbot


listen 80 default_server;
listen [::]:80 default_server ipv6only=on;

server_name testopenhmi.com;
return 404; # managed by Certbot

}
+++++++++++++++++++++++++

Thank you for letting me know about an update. I'd love to help debug any of this, I'd be happy to give you a cloud instance just like I have and test on. I have a uniform setup script to ensure that my setup is consistent between server nodes. Feel free to DM or email me. Read Less
Rastin Mehr liked this
If you can navigate through those pages, it means your Nginx config is working as expected. It seems like the mail function isn't working and it is breaking the application workflow. With the new update, you'll still ... Read More
If you can navigate through those pages, it means your Nginx config is working as expected. It seems like the mail function isn't working and it is breaking the application workflow. With the new update, you'll still need to get the mail working, but at least you'll be able to log in.

I'm going to add you to the Anahita project group. I normally post an update and ask the followers to download and test new releases. I'll try to have the new release ready this weekend. Read Less
Sounds good thank you! I will certainly test out the new release when it comes.
Rastin Mehr liked this
Connor, I am checking the code and it indeed logs in the first user and super admin to their account. I've only made subtle improvements in the code that I will be pushing to the master branch soon, but the overall lo... Read More
Connor, I am checking the code and it indeed logs in the first user and super admin to their account. I've only made subtle improvements in the code that I will be pushing to the master branch soon, but the overall logic is the same. I don't think the mail is causing the issue here.

Here is another suggestion. Set these two variables in the configuration.php file:

var $debug = '1';
var $error_reporting = '30719';

this way you can hopefully get some error messages either in the browser or in your server's php_error.log file. Read Less
Connor Summeril

Connor Summeril and Rastin Mehr commented on the topic

Assistance with SMTP Settings

Hello,

I was able to set up my Anahita installation on my cloud machine (Digital Ocean Droplet) and get Nginx configured correctly so that I could see the landing page and see the Admin sign in page...

Read More

Hello,

I was able to set up my Anahita installation on my cloud machine (Digital Ocean Droplet) and get Nginx configured correctly so that I could see the landing page and see the Admin sign in page.Unfortunately, when I put in my information for an admin account, I get my browser saying the page is not found and no confirmation email is sent. After reading through some support posts I found the exact same behavior described here.

https://www.getanahita.com/topics/169108-no-user-signup-page?permalink=169237

The solution appeared to be changing SMTP settings but I am unsure how to set that up. I have the following as my SMTP settings with my Mailgun account:

   /* Mailer Settings */

   var $mailer = 'smtp';

   var $mailfrom = 'noreply@mail.testopenhmi.com';

   var $fromname = 'Anahita Website';

   var $sendmail = '/usr/sbin/sendmail';

   /* SMTP Settings */

   var $smtp_user = 'postmaster@mail.testopenhmi.com';

   var $smtp_pass = '********************';

   var $smtp_host = 'smtp.mailgun.org';

   var $smtp_secure = 'ssl';

   var $smtp_port = 465;

I have tried a few different configurations, different ports, and different settings for the $mailer variable. None of which seem to work.I am running my server on a Debian 10 system, as far as I could tell it does not come preconfigured with a sendmail binary. I tried installing sendmail and setting up some configuration but went down a path that did not seem correct and never got it working.Any general tips / advice on how to debug this and check errors? I have enabled debugging in my configuration already like this:

   /* Debuging Settings */

   var $debug = 1;

   var $error_reporting = 30719;

I still am not seeing error codes when I do this. Just looking for some help with SMTP and maybe some example configuration settings.Thank you! Read Less
Okay, I have tried with the full domain name.

I've tried the default mailer with "$mailer = 'mail'".

I've tried to input my MailGun credentials.

Each step I've dropped the database and reran the site:init co... Read More
Okay, I have tried with the full domain name.

I've tried the default mailer with "$mailer = 'mail'".

I've tried to input my MailGun credentials.

Each step I've dropped the database and reran the site:init command. I still see the same behavior. After I attempt to sign up as admin, I get redirected to a page my browser says doesn't exist, no mail gets sent, and not account gets created.

Could this be a problem with my OS? I'm using Debian 10 but I don't know what system is standard for Anahita.

Could it be my firewall settings? I currently have the installation on a cloud device and I only allow traffic from my own IP. I doubt that the mail function needs to accept traffic from anywhere on the outside though. Thoughts? Read Less
Alright, to be more specific. Do you see the homepage? When you click on the Login button, does it take you to the login page? When you click on the signup link, does it take you to the signup page? The reason I ask ... Read More
Alright, to be more specific. Do you see the homepage? When you click on the Login button, does it take you to the login page? When you click on the signup link, does it take you to the signup page? The reason I ask is to make sure that your Nginx config is working properly. Read Less
By the way, I'm going to make some changes to the first signup workflow this weekend. I will remove the part that mails out a login link for the first super admin and instead log the first-time user in immediately aft... Read More
By the way, I'm going to make some changes to the first signup workflow this weekend. I will remove the part that mails out a login link for the first super admin and instead log the first-time user in immediately after the signup. It seems like many people are having trouble with this, and it is understandable because it is unclear whether the problem is with either Anahita or server/OS configurations at this stage. I'll tag it as a 4.5.2 release. Read Less
Rastin Mehr

Rastin Mehr and Connor Summeril commented on the topic

Assistance with SMTP Settings

Hello,

I was able to set up my Anahita installation on my cloud machine (Digital Ocean Droplet) and get Nginx configured correctly so that I could see the landing page and see the Admin sign in page...

Read More

Hello,

I was able to set up my Anahita installation on my cloud machine (Digital Ocean Droplet) and get Nginx configured correctly so that I could see the landing page and see the Admin sign in page.Unfortunately, when I put in my information for an admin account, I get my browser saying the page is not found and no confirmation email is sent. After reading through some support posts I found the exact same behavior described here.

https://www.getanahita.com/topics/169108-no-user-signup-page?permalink=169237

The solution appeared to be changing SMTP settings but I am unsure how to set that up. I have the following as my SMTP settings with my Mailgun account:

   /* Mailer Settings */

   var $mailer = 'smtp';

   var $mailfrom = 'noreply@mail.testopenhmi.com';

   var $fromname = 'Anahita Website';

   var $sendmail = '/usr/sbin/sendmail';

   /* SMTP Settings */

   var $smtp_user = 'postmaster@mail.testopenhmi.com';

   var $smtp_pass = '********************';

   var $smtp_host = 'smtp.mailgun.org';

   var $smtp_secure = 'ssl';

   var $smtp_port = 465;

I have tried a few different configurations, different ports, and different settings for the $mailer variable. None of which seem to work.I am running my server on a Debian 10 system, as far as I could tell it does not come preconfigured with a sendmail binary. I tried installing sendmail and setting up some configuration but went down a path that did not seem correct and never got it working.Any general tips / advice on how to debug this and check errors? I have enabled debugging in my configuration already like this:

   /* Debuging Settings */

   var $debug = 1;

   var $error_reporting = 30719;

I still am not seeing error codes when I do this. Just looking for some help with SMTP and maybe some example configuration settings.Thank you! Read Less
One reliable way is to just use the PHP mail function var $mailer = 'mail'; otherwise I suggest that you use an external SMTP service such as Mailgun.

Also, make sure that $client_domain has the full domain value ... Read More
One reliable way is to just use the PHP mail function var $mailer = 'mail'; otherwise I suggest that you use an external SMTP service such as Mailgun.

Also, make sure that $client_domain has the full domain value such as https://www.yourdomain.com Read Less
I have tried using 'mail' as the $mailer variable. That did not seem to work. I did a a site re-initialization as well after setting that variable but that didn't seem to work either. I always still had the same behav... Read More
I have tried using 'mail' as the $mailer variable. That did not seem to work. I did a a site re-initialization as well after setting that variable but that didn't seem to work either. I always still had the same behavior.

What does using and external SMTP service such as Mail look like? I have a Mailgun account set up and I have input those parameters into the configuration.php what else needs to be done on the system? I'm not looking for exact specifics but I'm missing a step here.

I do a site re-initialization between each configuration change, is there anything more that needs to be done?

Thanks! Read Less
Yes, all you need is to add the MailGun credentials to the configuration file so Anahita can send out emails. Then drop the database and redo the site:ini command. Let me know how it goes.
Connor Summeril

Connor Summeril started a topic

Assistance with SMTP Settings

Hello,

I was able to set up my Anahita installation on my cloud machine (Digital Ocean Droplet) and get Nginx configured correctly so that I could see the landing page and see the Admin sign in page...

Read More

Hello,

I was able to set up my Anahita installation on my cloud machine (Digital Ocean Droplet) and get Nginx configured correctly so that I could see the landing page and see the Admin sign in page.Unfortunately, when I put in my information for an admin account, I get my browser saying the page is not found and no confirmation email is sent. After reading through some support posts I found the exact same behavior described here.

https://www.getanahita.com/topics/169108-no-user-signup-page?permalink=169237

The solution appeared to be changing SMTP settings but I am unsure how to set that up. I have the following as my SMTP settings with my Mailgun account:

   /* Mailer Settings */

   var $mailer = 'smtp';

   var $mailfrom = 'noreply@mail.testopenhmi.com';

   var $fromname = 'Anahita Website';

   var $sendmail = '/usr/sbin/sendmail';

   /* SMTP Settings */

   var $smtp_user = 'postmaster@mail.testopenhmi.com';

   var $smtp_pass = '********************';

   var $smtp_host = 'smtp.mailgun.org';

   var $smtp_secure = 'ssl';

   var $smtp_port = 465;

I have tried a few different configurations, different ports, and different settings for the $mailer variable. None of which seem to work.I am running my server on a Debian 10 system, as far as I could tell it does not come preconfigured with a sendmail binary. I tried installing sendmail and setting up some configuration but went down a path that did not seem correct and never got it working.Any general tips / advice on how to debug this and check errors? I have enabled debugging in my configuration already like this:

   /* Debuging Settings */

   var $debug = 1;

   var $error_reporting = 30719;

I still am not seeing error codes when I do this. Just looking for some help with SMTP and maybe some example configuration settings.Thank you! Read Less
Rastin Mehr

Rastin Mehr commented on the topic

Anahita on Google App Engine?

Can Anahita  4.5.0  be deployed Google App Engine? 

#GoogleAppEngine

I don’t know, never tried it. We have only done AWS and Rackspace deployments.
Rastin Mehr

Rastin Mehr commented on the topic

No User Signup Page

@rastin Rastin: any update on the anahita.local/people/signup404 Not Foundissue?

Yes, the first user becomes Super Admin and Anahita sends out an email with a confirmation link. This is for better security.

There is no "localhost.anahita/administrator" path in Anahita. All users log in using "l... Read More
Yes, the first user becomes Super Admin and Anahita sends out an email with a confirmation link. This is for better security.

There is no "localhost.anahita/administrator" path in Anahita. All users log in using "localhost.anahita/people/session" path. Read Less
Unknown Person liked this
You can either go to the database and enable the user or just drop the database and redo the initiation process after adding the Mailgun credentials to the configuration.php file.

1. add Mailgun credentials to the ... Read More
You can either go to the database and enable the user or just drop the database and redo the initiation process after adding the Mailgun credentials to the configuration.php file.

1. add Mailgun credentials to the configuration.php file
2. drop database
3. php anahita site:init Read Less
By the way, we're going to improve this in future releases. We know that it is not as simple when your development environment is still new.

Photos View All

Articles View All

Topics View All

Powered by Anahita