Closed hafsazulf17 closed 2 years ago
Yes this was one of the error i faced.the mistake is directory structure,in mycase it was of log folder which was ther as Log, but the code was looking for log so it gave the error, i created a folder named log and that worked,not only user,but i had this problem in 3 diffrent modules,but no use after solving this issues when i tried to login when it comes to dashboard it crashes and i then just lost hopes and shutted down the plan to install it
@socioboard @sureshbabu1995 > Yes this was one of the error i faced.the mistake is directory structure,in mycase it was of log folder which was ther as Log, but the code was looking for log so it gave the error, i created a folder named log and that worked,not only user,but i had this problem in 3 diffrent modules,but no use after solving this issues when i tried to login when it comes to dashboard it crashes and i then just lost hopes and shutted down the plan to install it
@BlackBlood22
Let me know If you find any solution related to this ?? when I try and create a new account, I get a small red message in the upper right hand side of the screen saying: "undefined". It will not go to the next page. I seem blocked.
You can follow step on that link and do the same with other uppercase error
I tried to run another micro service Feeds It's not showing any error and It's not even proceeding further with success message.. just stuck.. there
screenshot atached https://dw3i9sxi97owk.cloudfront.net/uploads/stream/2022/02/3024888/26191330/feeds.JPG
Maybe you have some config not written correctly? Do you find any log on Feeds/resources/Log?
@hafsazulf17 3 of the 5 services were having issue i solved it all manually and started the services but after that .I did the registration for a user.when i logged in the service just crashed adn stucked in dashboard no contents to view but tab is showing dashboard and the bar just keeps loading.
Do you using socioboard web? Maybe you can try each function on swagger first, since dashboard on socioboard web maybe need all of the microservice to run smoothly
Do you using socioboard web? Maybe you can try each function on swagger first, since dashboard on socioboard web maybe need all of the microservice to run smoothly
@hafsazulf17 3 of the 5 services were having issue i solved it all manually and started the services but after that .I did the registration for a user.when i logged in the service just crashed adn stucked in dashboard no contents to view but tab is showing dashboard and the bar just keeps loading.
When I try to login after updating the database tables fields :
use socioboarddb;
update user_activations set activation_status = 1;
update user_activations set user_plan = 7;
It goes to infinite loading and don't proceed further..
@sureshbabu1995
I have folowing error in User Log file :
error: TypeError: Cannot read property 'use_env_variable' of undefined at file:///var/www/socioboard/socioboard-api/Common/Sequelize-cli/models/index.js
If I run nodemon user.server.js It is stuck and not proceeding with success message Log file is created show the above error but If I run : systemctl status socioboard-user It does not show me any error message and show successfully running at port 3000 If the URL when entered with :3000 is blank and does show anything but the service of node is running at port 3000
Also on Login to dashboard It shows me following message..
@sureshbabu1995 @socioboard @arrianda @BlackBlood22
I am able to login to dashboard.. but errors when trying to add the social media accounts?
@sureshbabu1995 @socioboard @arrianda @BlackBlood22
I am able to login to dashboard.. but errors when trying to add the social media accounts?
Do you already have valid and running social developer account? like Facebook Developer and it's API
@sureshbabu1995 @socioboard @arrianda @BlackBlood22 I am able to login to dashboard.. but errors when trying to add the social media accounts?
Do you already have valid and running social developer account? like Facebook Developer and it's API
Do we not just use our Facebook/LInkedIN/Instagram account? When testing Socioboard paid version(free acccount), I just added my instagram account. These are the accounts that we want to management.
No, you need your own Developer Account for each social account you want to use if you want to use Socioboard on your own server/local. After that, you need to put correct setting for each Developer Account and config at each microservice /config/development.json. After that, you can freely connect any social media account to your deployed Socioboard
On paid version, it already use their own Socioboard's developer account which not shared because of legality and limit to each development account where you need to tell your exact website and callback.
@arrianda @sureshbabu1995 I see these two link for Instagram and Facebook developer accounts? https://developers.facebook.com/async/registration/ https://www.instagram.com/accounts/login/?next=/developer/
Please mention more details about after creating account and generating API do we have to copy that API to each microservice config file..
I think you can google the steps to get app id and secret or equivalent for each social media (for example: https://webkul.com/blog/how-to-generate-facebook-app-id/). Then, copy that App Key and App Secret, copy it to each microservice config page (especially at user and publish microservice). Also set Valid OAuth redirect for both config file and developer account to make your website valid for them. Then set the scopes (or you can call it permission) to know which scope you will use, like login scope, show page list (I think it already include on default development.json).
It quite a hassle, but after you understand the flow for one social media, you will easily set for other social media since most of them using same flow.
Note: Instagram basic developer is not supported anymore. Facebook API already include Instagram Graph API for Business Instagram Account (Basic account not support anymore I think)
HI @hafsazulf17
I think you got it. Now I'm closing this ticket.
If you've any queries regarding this feel free to re-open it, if you have any other queries feel free to open a new ticket.
@arrianda @sureshbabu1995 @BlackBlood22
On login to dashboard It says :
Please upgrade your account
How can we fix it from the backend currently the values are setup as:
update user_activations set user_plan = 7;
created at : 2022-03-19 15:05:55 account_expire_date : 2022-04-02 15:05:55
Error [ERR_MODULE_NOT_FOUND]: Cannot find module '/var/www/socioboard/socioboard-api/User/core/unauthorized/unauthorized.routes.js' imported from /var/www/socioboard/socioboard-api/User/resources/routes/public.routes.js at new NodeError (internal/errors.js:322:7) at finalizeResolution (internal/modules/esm/resolve.js:318:11) at moduleResolve (internal/modules/esm/resolve.js:776:10) at Loader.defaultResolve [as _resolve] (internal/modules/esm/resolve.js:887:11) at Loader.resolve (internal/modules/esm/loader.js:89:40) at Loader.getModuleJob (internal/modules/esm/loader.js:242:28) at ModuleWrap. (internal/modules/esm/module_job.js:76:40)
at link (internal/modules/esm/module_job.js:75:36) {
code: 'ERR_MODULE_NOT_FOUND'
}
[nodemon] app crashed - waiting for file changes before starting...