IRC log of #novawebdev for Sunday, 2025-12-14

zOnnyYesterday, we had an excellent meeting discussing the new project, and today we’re excited to deploy Secosol's blog to gather valuable feedback from Kei. No Blockers11:59
dcammueYesterday,  I took my grandmother to the hospital, and the doctor she has an ulcer, and we were given some dedication. I was there the whole while. Today, I will be looking at tax law for both non-profit and for-profit organisations. No blocker 11:59
thomasboimahYesterday I worked with zOnny. Today I will continue working with him. No blockers.12:00
zOnnyACTION done12:00
dcammueACTION done12:00
thomasboimahACTION done12:00
zOnnyHello team12:00
zOnnyGood afternoon?12:00
dcammueHow are you zOnny 12:00
dcammueAnd thomasboimah 12:00
zOnnyGood morning dcammue12:00
thomasboimahHello dcammue and zOnny 12:00
zOnnyIt is freezing here12:01
dcammueGreat seeing you guys this morning 12:01
dcammueWow12:01
zOnnyWe have a lot of snow 12:01
dcammueMaybe that's why jelkner is not here yet :-)12:01
zOnnyprobably12:01
dcammueHe's old now :-)12:02
zOnnyit is snowing a lot I cannot see anything 12:02
dcammueZOnny 12:03
zOnnyGlad to know your mom is being help dcammue12:03
dcammueCan you hand on a copy of a  draft of federal tax law 12:03
dcammue?12:03
dcammueThanks zOnny 12:04
zOnnyA copy? let me see12:04
dcammue+112:04
dcammueFoe nonprofit and forprofit12:04
zOnnyWhat is that for dcammue12:05
dcammueTo get aquitaine with the law because I am doing bookkeeping and also will be filing some form for novaweb and sjc12:06
zOnnyI see12:06
zOnnyI'm doing my research dcammue12:09
dcammueSweet 12:09
zOnnythere is so many links about it12:09
zOnnywhat specific points you want to see?12:10
zOnnyhttps://www.councilofnonprofits.org/running-nonprofit/administration-and-financial-management/federal-filing-requirements-nonprofits12:11
zOnnyhttps://www.irs.gov/pub/irs-pdf/f990.pdf12:13
zOnnyhttps://www.irs.gov/pub/irs-pdf/f1120.pdf12:13
zOnnyLet me understand this dcammue12:14
zOnnyAre you trying to fill out the taxes for Novawebdev?12:15
zOnnyI don't think I am giving you useful info dcammue12:19
zOnnyHi thomas12:19
thomasboimahHi zOnny 12:20
zOnnyDid you get the chance to pull the commits I made yesterday?12:20
thomasboimahyes12:21
zOnnyawesome12:23
zOnnyI did changes to both12:24
zOnnythe LO and the blog app12:24
zOnnyWe should merge it to master, yes?12:24
zOnnyOr keep it in a separate branch12:25
zOnnyI also want to ask about this12:26
zOnny has quit (Remote host closed the connection)12:27
zOnny_my Electricity went down12:27
zOnny_I think the heavy snow is messing with the power grid12:28
thomasboimahOkay12:28
zOnny_Thomas do we need this? https://gitlab.com/novawebdevelopment/libreorganize-customization/custom-apps/blog/-/blob/secosol/models.py?ref_type=heads#L10112:30
zOnny_I don't see it anywhere in the views or forms12:31
zOnny_I don't think it is being used, yes?12:31
thomasboimah has quit (Quit: Leaving)12:34
zOnny_ has quit (Quit: Page closed)12:36
zOnnyThomas are you here?12:38
thomasboimahyes12:39
thomasboimahI'm here12:39
zOnnyDo we need this https://gitlab.com/novawebdevelopment/libreorganize-customization/custom-apps/blog/-/blob/secosol/models.py?ref_type=heads#L10112:43
dcammueOkay, I just wanted to make sure that I am using the same source as yours12:44
thomasboimahNo that is not being use so we can remove it12:44
thomasboimahto clearn the code12:45
dcammueThanks zOnny for the time 12:45
zOnnyWell before removing it, it made me though about do Kei will upload a documents to the blog?12:45
zOnnydcammue , sorry I don't think I'm very helpful with it12:46
thomasboimahThat's for Kei to answer, Do you know if she will be here?12:48
zOnnyI don't know12:49
dcammue has quit (Ping timeout: 480 seconds)12:53
zOnnyI'm removing it12:53
zOnnygive a min12:53
thomasboimahOkay, but i already remove it from my side12:54
zOnnyoh ok12:54
zOnnyI will let you do it then12:54
zOnnyAlso remove it from the tests12:55
thomasboimahyep i did that12:55
zOnnyLet me know when to push12:55
zOnny*pull*12:55
thomasboimahyou can pull zOnny 13:05
zOnnyok13:06
zOnnyalright13:07
zOnnyShould we merge this to master?13:08
zOnnyI think master it is outdated13:09
zOnnyhowever there are some branches13:09
thomasboimahWe can. But you don't want us to use upgrade_CKEditor13:10
zOnnyI was talking about the blog13:10
zOnnythe secosol branch to master13:10
thomasboimahOkay not the LO got you13:10
zOnnyalso the LO13:10
zOnnyThe LO upgrade_CKEditor is being updated with tests13:11
zOnnyIf they have tests 100% they are good to be merged13:11
zOnnyThat is the rule13:11
zOnnyLet's start with the blog13:12
zOnnyI'm going to do that13:13
zOnnyon hold13:13
zOnnyhold on13:13
zOnnyAnthony is the owner13:27
zOnnyThomas can you give me a maintaner access?13:28
thomasboimah On which branch?13:28
zOnnyAs a Developer access I can only send a merge request13:28
zOnnyblog13:28
thomasboimahMaster?13:28
zOnnyThe whole project13:29
zOnnyhttps://gitlab.com/novawebdevelopment/libreorganize-customization/custom-apps/blog/-/project_members?sort=last_joined13:29
thomasboimahokay just a sec13:29
thomasboimahcheck it13:38
thomasboimahI just did that zOnny 13:38
zOnnycool13:39
zOnnygot it13:39
zOnnymerged done13:39
zOnnygit can checkout to master13:40
zOnnyalso we need to delete the second migration 13:40
zOnnyto keep it fresh 13:40
zOnnyalthoug it will mess up our db13:40
zOnnyDo you want to remove the second migration?13:43
zOnnyor should I do it?13:44
thomasboimahif you want me to13:44
zOnnyI just want you to learn why we are doing it13:44
zOnnydo you get it?13:44
thomasboimahokay13:44
zOnnyIt is a brad practice if you work with more developers13:45
zOnnyhowever, since we are only two and the app isn't used yet13:45
zOnnyit means it is new to start from the initial migration only13:45
zOnnymake sure you are in master13:47
zOnnybranch13:47
thomasboimahsure13:48
thomasboimahdone13:51
zOnnyI don't see it13:53
thomasboimahI am doing it locally right?13:53
zOnnyhttps://gitlab.com/novawebdevelopment/libreorganize-customization/custom-apps/blog/-/tree/master/migrations?ref_type=heads13:54
thomasboimahBecause i pull the master branch13:54
thomasboimahand delete the second mirgrations13:54
zOnnyok13:54
zOnnynow you have to push it to master as well13:54
thomasboimahOkay13:54
zOnnyI for got it13:54
zOnnyI realized after I merged it13:54
zOnnyWe don't need the second migration13:55
zOnnybut remember after a website is using the blog do not delete migrations 13:56
thomasboimahdone13:56
thomasboimahpushing13:56
thomasboimahsure13:56
zOnnyAwesome13:57
zOnnyDid you noticed that I added user permissions as well?13:58
thomasboimahyes13:59
zOnnyalso can you give maintainer access to novawebdev as well14:03
zOnnyTo avoid running in this issue14:03
thomasboimahokay14:04
thomasboimahdone14:07
zOnnygot it14:07
zOnnyalright let's move to the LO branch now14:08
thomasboimahsure14:11
zOnnyI'm think give one min14:15
zOnnythinking14:15
zOnnyHow many clients we have running LO14:16
zOnnyDo we have clients besides MDLatino and CIDU?14:16
thomasboimahHmm this is hard for me to answer. Because i don't know all nova customer like Kei and Jeff do14:18
zOnnyit's ok14:19
zOnnyThey will be updated if they want our services14:19
zOnnyAs far I realized al the websites are running in different branches, commits, etc14:20
zOnnyit is getting out of control14:20
zOnnydone14:37
thomasboimahokay let me pull14:38
thomasboimahdone14:42
zOnnycool 14:42
zOnnynow let's deployed 14:42
zOnnywhat is the access for secosol server?14:43
zOnnynvm14:43
zOnnyI got it14:43
zOnnygive me 5 min, I'm stepping away14:44
zOnnyalright14:50
zOnnyquestion14:50
thomasboimahno14:51
zOnnyI will need your help with mayfirst14:52
thomasboimahokay14:53
thomasboimahWhat you will need from me?14:53
zOnnyso I'm logged in within the secosol server14:56
zOnnyWe are going to use it yes?14:56
thomasboimah+114:56
zOnnyWe can use dev.secosol.us 14:56
thomasboimahuse that as what? this is secosol domain: secosol.us www.secosol.us14:57
zOnnyWhere is the nginx running?14:58
zOnnyShould we deployed to the actual secosol domain?14:59
thomasboimahMayFirst14:59
thomasboimahYes all we have to do is to pull the git repo on the server and restart it14:59
thomasboimahthat's it15:00
zOnnyYes, but we need to start a fresh one15:00
thomasboimahWhat you mean when you say start a fresh one?15:01
zOnnyor maybe not?15:01
zOnnyif you do git status15:02
zOnnythere are some manual changes 15:02
zOnnyhold on15:03
zOnnythin we can work around it15:03
zOnnyI think15:04
zOnnyDid you deployed it?15:04
thomasboimahno i was not the one that deployed secosol15:05
zOnnyI also notice that I cannot create any dir out of sites/34610715:06
thomasboimahthis site346107writer@weborigin004:~$?15:08
zOnnyyes15:08
thomasboimahjust a sec let me check something15:09
dcammue has quit (Ping timeout: 480 seconds)15:11
zOnnyYou said you have sudo permissions, yes?15:13
thomasboimahyes15:13
thomasboimahthat is what i am trying to do15:14
thomasboimahto switch 15:14
zOnnyok15:14
thomasboimahIt's denideing my password but I'm looking in to it15:20
zOnnyok15:20
zOnnyIt is running apache 215:26
zOnnyI did find the file but it doesn't allowed to open it bc I get permission denied15:26
thomasboimahzOnny, what do you want to create the directory for?15:39
zOnnyI was just testing it15:40
zOnnybut I would like to open the /etc/apache2/sites-enabled/site346107.conf15:42
zOnnyand see what is going on there15:42
dcammue has quit (Ping timeout: 480 seconds)15:43
tboimahokay15:48
tboimahAre you login the control panel?15:49
zOnnyno15:49
thomasboimah has quit (Ping timeout: 480 seconds)15:49
zOnnyJust the cli15:49
tboimahcli? you mean the server?15:49
zOnnyyes15:50
tboimahcan you quit just to a sec 15:50
tboimahplease15:50
tboimahI am trying to figure out this permission issue15:50
tboimahWhat you want us do with this files: Your branch is up to date with 'origin/master'.15:53
tboimahChanges not staged for commit:15:53
tboimah  (use "git add/rm <file>..." to update what will be committed)15:53
tboimah  (use "git restore <file>..." to discard changes in working directory)15:53
tboimahmodified:   libreorganize/apps/accounts/forms.py15:53
tboimahmodified:   libreorganize/core/settings.py15:53
tboimahdeleted:    libreorganize/static/CACHE/css/libreorganize.5ddc3876f467.css15:53
tboimahUntracked files:15:53
tboimah  (use "git add <file>..." to include in what will be committed)15:53
tboimahlibreorganize/apps/blog/15:53
tboimahlibreorganize/data.json15:53
tboimahlibreorganize/live_secosol_data.json15:53
zOnnyI did quit15:55
zOnnyWell those changes are unnecessary if we use env variables  15:57
zOnnyI can figure out to revert those changes16:00
zOnnyI think our priority is to find a way for me to access the /etc configuration16:00
zOnnyI think you did change the psswrd as well16:01
tboimahchange the passwd of what?16:01
zOnnyI cannot access with the secosol16:02
tboimahplease try to do that again16:03
zOnnynow it works16:03
tboimahwhich file you want to access in the /etc directory?16:03
zOnnythis one /etc/apache2/sites-enabled/site346107.conf16:04
tboimahah16:04
zOnnyalright16:27
zOnnyThomas are you here?16:32
tboimahI now i get while the sudo is not working: May First does not grant sudo/root access to members on their shared hosting servers.16:32
zOnnyYeah that was something I was assuming too16:33
zOnnyit is a shared servers 16:33
tboimahyep16:33
tboimahPut we can still pull our work to the server16:33
tboimah*but*16:33
zOnnyI think so 16:33
zOnnywe just need to figure out how 16:34
tboimahand restart it16:34
tboimahYou want me to do that16:34
zOnnysure16:34
zOnnybut before doing that 16:34
tboimahNow the we have merge all our work to the master branch and the LO on the server is also running on the master branch we can give type git pull16:35
tboimah*that(16:35
tboimahthat*16:35
zOnnyAre you doing it?16:40
tboimah+116:40
zOnnyok16:41
tboimahzOnny, can you give me a headsup on how to restart the server for the code to take effect16:51
tboimahI done pull 16:52
tboimahit16:52
tboimah*pulling*16:52
zOnnysudo systemctl restart apache216:53
tboimahThat's what i did first but get the error: Failed to execute /usr/bin/pkttyagent: No such file or directory16:54
tboimahFailed to restart apache2.service: Access denied16:54
tboimahSee system logs and 'systemctl status apache2.service' for details.16:54
zOnnyI see16:59
tboimahFor my todo app all i have to do is to just re-run guncorin17:01
tboimahon the server when i check the status for apache is active17:02
zOnnyI justouch ~/include/libreorganize/libreorganize/core/wsgi.py17:04
zOnnytouch ~/include/libreorganize/libreorganize/core/wsgi.py17:04
zOnnyaccording to the docs17:05
zOnnyquick question17:19
zOnnywhat did you do with the seetings.py changes17:19
tboimahwhich settings.py you mean the theme/settings.py?17:20
zOnnythe LO17:21
tboimahnothing17:21
tboimahzOnny, I getting a bit confuse (venv) site346107writer@weborigin004:~$ curl -v http://secosol.us 2>&1 | grep -i "server\|location"17:31
tboimah< Server: nginx17:31
tboimah< Location: https://secosol.us/17:31
tboimah about the server I am see apache17:31
tboimah*but*17:32
tboimahzOnny, I am getting a bit confuse (venv) site346107writer@weborigin004:~$ curl -v http://secosol.us 2>&1 | grep -i "server\|location" but on the server i am seeing apeche17:32
zOnnyI don't see nginx anywhere17:34
tboimah < Server: nginx17:35
tboimah<tboimah> < Location: https://secosol.us/17:35
tboimahwhen i run this command:  curl -v http://secosol.us 2>&1 | grep -i "server\|location"17:36
zOnnyok17:38
zOnnyWhat does that mean17:39
zOnnyIs it running nginx?17:39
tboimah+117:39
zOnnycan you find the nginx dir in the mayfirs?17:40
tboimahThat is what i am looking into17:41
tboimahWe been updating the Django project files on the Apache server, but the live website is served by a different application which I am think is "Gunicorn" running on port 24680 but i am looking at it 17:46
zOnnyquick question17:46
zOnnyIn the members control panel 17:47
zOnnydo you see webapps17:47
tboimahin the web configuration17:48
tboimah?17:48
zOnnyit is working now17:58
zOnnyI think it was the way we changed the settings17:59
zOnnyWe lost the content :)18:00
tboimahAre you seeing the blog link in the nav at you side?18:01
tboimahzOnny, i once dump the data live_secosol_data.json so we can just load it18:02
zOnnyNo18:03
tboimahyou mean you are not seeing the blog link?18:03
zOnnyNo18:03
zOnnydid you added?18:03
zOnnyI though you said I will add it in themes18:04
zOnnyyes?18:04
tboimahI added it18:04
tboimahbut i am not seeing it ;-)18:04
zOnnyyou can add it later18:04
zOnnymake a git pull first18:04
zOnnyI did update the themes settings to remove the blogpost toolbox18:05
zOnnywe don't need that if we have the box doing the same job18:05
zOnnyWhy is the blog app still has the second migration 18:09
zOnnyin the secosol prod?18:09
tboimahThat's my fault i mistakely run migration18:11
tboimahlet me remove it18:11
zOnny?18:11
zOnnyIf you had run migration in the production18:11
zOnnydo not remove it18:11
zOnnyotherwise we need to remove the db as well18:12
zOnnybut if you haven't run makemigration yet you still have the change to remove it18:13
zOnnyThomas18:18
tboimah+118:18
zOnnyDid you get the change to remove it?18:19
tboimahyes18:19
zOnnyor Did you run it in the prod?18:19
tboimahmy bad i did not remove it yet18:20
tboimahI am still looking at what you said18:20
zOnnyI'm not understanding it18:20
zOnnyIn the gitlab18:21
zOnnyit seems to be gone18:21
tboimahAre you talking about on the server or gitlab?18:21
zOnnyhttps://gitlab.com/novawebdevelopment/libreorganize-customization/custom-apps/blog/-/tree/master/migrations?ref_type=heads18:21
zOnnyhere I don't see the second migration18:22
tboimahyes it is not on gitlab18:22
zOnnywhen you pull the blog app in the prod18:22
tboimahbut it is on the server18:22
zOnnyhow did that happened 18:22
tboimahwhen i pull the blog app in the prod i run migration that is why it come back18:22
zOnnyI see18:23
tboimahIt is save to remove it right?18:23
zOnnyDid you run migrations or makemigrations?18:24
tboimahI first makemigrations before migration18:25
zOnnyleave it like that18:26
zOnnyunless you want to create another db18:27
zOnnyyou can run migrations18:27
tboimahOkay, but i want to know if we remove what will happen?18:27
tboimah*it*18:27
tboimahzOnny, I now fix it for the blog link be at the nav and also all the content are back18:29
tboimah*to*18:29
zOnnycool18:29
tboimahsure!18:30
tboimahcan you still make me to understand what will happen if we remove the second migration18:30
tboimah?18:31
zOnnyIt wont happen anything18:33
zOnnyIf you delete the migration files after running makemigrations but before applying them (migrate), nothing harmful happens to your database, because the migrations were never applied.18:34
zOnnyYou’ll just lose the migration definitions themselves.18:35
tboimahAlright18:36
zOnnybut hold on18:38
zOnnyI forgot to mention sometjhing18:38
zOnnyyou should have deleted the first and second migrations18:39
zOnnyin the gitlab18:39
zOnnythen apply make migrations again18:39
zOnnyso the first migration do not include the upload18:39
zOnnyyou just deleted the second one18:40
zOnnythat is my fault18:40
zOnnyI didn't remember it well18:40
zOnnyso what we are going to do is 18:40
zOnnydelete in your local18:40
zOnnythe first and second one18:41
zOnnyand leave it with the __init__.py only18:41
zOnnythen delete your database of course18:41
zOnnythen you can makemigrations again18:42
zOnnyand the first migrations do not have the upload anymore18:43
zOnnyhttps://gitlab.com/novawebdevelopment/libreorganize-customization/custom-apps/blog/-/blob/master/migrations/0001_initial.py?ref_type=heads#L2918:43
zOnnythen you push it to the gitlab18:43
zOnnythe you pull it in the blog prod18:43
zOnnydoes that make sense?18:43
tboimah+1, what about this: __pycache__18:44
tboimahshould i clean it up too18:44
zOnnyif it doesn't have anything yes18:45
zOnnyremove it18:45
zOnnyit is in the .gitignore as well18:45
zOnnyso it won't be psuh18:46
tboimahsure18:46
zOnnyI hope it did make sense to you18:47
tboimahyes18:48
tboimahdone18:52
zOnnycool18:54
zOnnynow you pull it into the prod18:54
tboimahthat is what i am on18:55
tboimahdone18:58
zOnnyalright19:00
zOnnyWe should call it a day here19:01
zOnnyI'm hungry :)19:01
tboimahOkay19:01
tboimahThanks for today19:02
zOnnyDid you migrate the blog now?19:03
zOnnyin the prod19:03
zOnnydon't forget to remove the second migration there19:03
zOnnybefore you run the migrations19:04
tboimahdone19:05
zOnnySweet!19:05
zOnnysee you next week thomas19:05
zOnnyYou can send Kei an email about it19:06
zOnnyduring the week19:06
tboimahokay19:06
zOnny has quit (Quit: Page closed)19:06
tboimah has quit (Ping timeout: 480 seconds)19:19
thomasboimah has quit (Quit: Leaving)21:44

Generated by irclog2html.py 2.17.3 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!