[ASTPPCOM-518] Can't install addons in ASTPP 4.0 Created: 08/Jun/19 Updated: 01/Apr/21 Resolved: 01/Apr/21 |
|
| Status: | Closed |
| Project: | ASTPP Community |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | v4.0.2 |
| Type: | Bug | ||
| Reporter: | timur-v | Assignee: | (Community) DN (Inactive) |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Description |
|
Hello, |
| Comments |
| Comment by meshtask [ 09/Jun/19 ] |
|
Just tested. Same thing is happening on my install. I cannot install any other plugins except "Account Number Range" |
| Comment by timur-v [ 09/Jun/19 ] |
|
I found what causes this issue. It happens due to incorrect read/write permissions in /var/www/html/astpp/ directory. Owner of those files is root user, so web-server may not write new files there. ASTPP installation script consists this: "chown -Rf www-data.www-data /var/www/html/astpp", but /var/www/html/astpp/ is actually a symbolic link and chown doesn't change symbolic links by default. Files are actually placed in /opt/ASTPP/web_interface/astpp directory. |
| Comment by redbehrend [ 13/Jun/19 ] |
|
can confirm this also fixes importing rates into ASTPP |
| Comment by Samir Doshi [ 14/Jun/19 ] |
|
Hi @timur-v The solution which you mentioned make sense and as far as I understand, It will not create a security issue. |
| Comment by (Community) DN (Inactive) [ 23/Jun/19 ] |
|
Modified permissions in installation script, Commit: 10fb4b69a72f56a7d40e0ed682cca9292a618016 |
| Comment by hemdip [ 31/Jul/19 ] |
|
@timur-v Issue has beed resolve, please take updated source and verify. |