Comments (5)
Hello @Foxi352,
We just merged the rails7 branch to the main branch.
Same for "pia" https://github.com/LINCnil/pia with some fixes.
Regarding the SMTP configuration you need to update the information inside: https://github.com/LINCnil/pia-back/blob/master/config/initializers/mailer.rb
The wiki is not updated for now, but you need to set your SMTP credentials in this file.
We can help you if needed.
from pia-back.
Thanks for your reply. I am new to ruby so updating pia-back, rails and gem's was not that easy :-)
Pia was easier as i have Angular experience.
I now have latest versions of pia and pia-back running.
Re mail: If i edit mailer.rb directly, will that not make problems on future git pull
?
Can i use EDITOR='nano' bin/rails credentials:edit
and put something in there like:
smtp_address: srvexchange.xxx.xxx
smtp_post: 587
smtp_authentication: false
smtp_enable_starttls_auto: true
Or where does it get it's Rails.application.credentials.smtp_address
from ?
from pia-back.
Yes it's better to update the credentials with EDITOR='nano' bin/rails credentials:edit
and set the value inside.
from pia-back.
I still get the error production.log
:
F, [2023-02-01T14:23:20.526919 #229398] FATAL -- : [b7a116d1-c259-4c59-88bb-315d554eab29]
[b7a116d1-c259-4c59-88bb-315d554eab29] ArgumentError (SMTP From address may not be blank: nil):
[b7a116d1-c259-4c59-88bb-315d554eab29]
[b7a116d1-c259-4c59-88bb-315d554eab29] app/controllers/users_controller.rb:70:in `password_forgotten'
In .env
:
In EDITOR='nano' bin/rails credentials:edit
:
smtp_address: srvexchange.xxx.xxx
smtp_post: 587
smtp_authentication: false
smtp_enable_starttls_auto: true
Did i miss something ?
from pia-back.
Hi @Foxi352 sorry for the late answer.
You need to add email_from
into the credentials.
You have more information in the README
from pia-back.
Related Issues (20)
- Problème lors de l'installation de PIA Front HOT 2
- Impossible d'installer une dépendance HOT 2
- Email configuration HOT 4
- Impossible d'installer l'application PIA HOT 5
- Error whet run "yarn install" HOT 1
- Can't run/install pia-back HOT 9
- Connecter le Backend et le frontend && activer l'authentification HOT 5
- problème lors du téléchargement de dépendances via yarn install et lors de la construction de la version de production via yarn prod
- User.create has no effect on the database, no error HOT 2
- How to enable SSL? HOT 5
- Connecter le frontend au backend en https HOT 4
- upgrade from 3.0.2 to 3.2.2 issues HOT 2
- Ruby 3.2 ? HOT 1
- LDAP configuration HOT 2
- Client id/secret settings for users HOT 1
- Cant delete activated user from web interface HOT 2
- Useraccounts, LDAP, Mailing HOT 6
- authentication
- Not able to connect pia frontend (client) to backend
- Rake aborted no rakefile found
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pia-back.