Giter VIP home page Giter VIP logo

82flex / dcrm Goto Github PK

View Code? Open in Web Editor NEW
241.0 17.0 100.0 9.42 MB

Darwin Cydia Repo Manager - v4 redesigned in Django.

Home Page: https://apt.82flex.com/

License: GNU Affero General Public License v3.0

Python 43.86% CSS 13.57% HTML 10.97% JavaScript 31.17% CoffeeScript 0.28% Dockerfile 0.01% Shell 0.14%
cydia-repo cydiarepo cydia-tweak cydia apt-repository apt-packages apt-get repository-management repository dpkg-deb

dcrm's People

Contributors

0xjacky avatar dependabot[bot] avatar hintay avatar lessica avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

dcrm's Issues

构建报错

ERROR: Exception:
Traceback (most recent call last):
File "/usr/local/lib/python3.7/site-packages/pip/_vendor/urllib3/response.py", line 437, in _error_catcher
yield
File "/usr/local/lib/python3.7/site-packages/pip/_vendor/urllib3/response.py", line 519, in read
data = self._fp.read(amt) if not fp_closed else b""
File "/usr/local/lib/python3.7/http/client.py", line 461, in read
n = self.readinto(b)
File "/usr/local/lib/python3.7/http/client.py", line 505, in readinto
n = self.fp.readinto(b)
File "/usr/local/lib/python3.7/socket.py", line 589, in readinto
return self._sock.recv_into(b)
File "/usr/local/lib/python3.7/ssl.py", line 1071, in recv_into
return self.read(nbytes, buffer)
File "/usr/local/lib/python3.7/ssl.py", line 929, in read
return self._sslobj.read(len, buffer)
socket.timeout: The read operation timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/usr/local/lib/python3.7/site-packages/pip/_internal/cli/base_command.py", line 216, in _main
status = self.run(options, args)
File "/usr/local/lib/python3.7/site-packages/pip/_internal/cli/req_command.py", line 182, in wrapper
return func(self, options, args)
File "/usr/local/lib/python3.7/site-packages/pip/_internal/commands/install.py", line 325, in run
reqs, check_supported_wheels=not options.target_dir
File "/usr/local/lib/python3.7/site-packages/pip/_internal/resolution/legacy/resolver.py", line 183, in resolve
discovered_reqs.extend(self._resolve_one(requirement_set, req))
File "/usr/local/lib/python3.7/site-packages/pip/_internal/resolution/legacy/resolver.py", line 388, in _resolve_one
abstract_dist = self._get_abstract_dist_for(req_to_install)
File "/usr/local/lib/python3.7/site-packages/pip/_internal/resolution/legacy/resolver.py", line 340, in _get_abstract_dist_for
abstract_dist = self.preparer.prepare_linked_requirement(req)
File "/usr/local/lib/python3.7/site-packages/pip/_internal/operations/prepare.py", line 469, in prepare_linked_requirement
hashes=self._get_linked_req_hashes(req)
File "/usr/local/lib/python3.7/site-packages/pip/_internal/operations/prepare.py", line 259, in unpack_url
hashes=hashes,
File "/usr/local/lib/python3.7/site-packages/pip/_internal/operations/prepare.py", line 130, in get_http_url
link, downloader, temp_dir.path, hashes
File "/usr/local/lib/python3.7/site-packages/pip/_internal/operations/prepare.py", line 282, in _download_http_url
for chunk in download.chunks:
File "/usr/local/lib/python3.7/site-packages/pip/_internal/cli/progress_bars.py", line 168, in iter
for x in it:
File "/usr/local/lib/python3.7/site-packages/pip/_internal/network/utils.py", line 88, in response_chunks
decode_content=False,
File "/usr/local/lib/python3.7/site-packages/pip/_vendor/urllib3/response.py", line 576, in stream
data = self.read(amt=amt, decode_content=decode_content)
File "/usr/local/lib/python3.7/site-packages/pip/_vendor/urllib3/response.py", line 541, in read
raise IncompleteRead(self._fp_bytes_read, self.length_remaining)
File "/usr/local/lib/python3.7/contextlib.py", line 130, in exit
self.gen.throw(type, value, traceback)
File "/usr/local/lib/python3.7/site-packages/pip/_vendor/urllib3/response.py", line 442, in _error_catcher
raise ReadTimeoutError(self._pool, None, "Read timed out.")
pip._vendor.urllib3.exceptions.ReadTimeoutError: HTTPSConnectionPool(host='files.pythonhosted.org', port=443): Read timed out.
ERROR: Service 'scheduler' failed to build: The command '/bin/sh -c pip install --no-cache-dir -r requirements.txt' returned a non-zero code: 2
如上,已安装py2,py3两个版本

后台Photologue-Galleries-添加 gallery报错

点击添加 gallery报错( build_attrs() got an unexpected keyword argument 'name' )
原因为sortedm2m不兼容django 1.11
目前sortedm2m作者已经解决更新。用作者sortedm2m-1.5.0版本替换sortedm2m文件。bug fix

Error Docker

`Use 'docker scan' to run Snyk tests against images to find vulnerabilities and learn how to fix them
dcrm_redis is up-to-date
dcrm_db is up-to-date
dcrm_memcached is up-to-date
WARNING: The "worker-high" service is using the custom container name "dcrm_worker-high". Docker requires each container to have a unique name. Remove the custom name to scale the service.
dcrm_scheduler is up-to-date
dcrm_app is up-to-date
dcrm_worker-default is up-to-date
dcrm_pure-ftpd is up-to-date
Creating dcrm_worker-high ... error

ERROR: for dcrm_worker-high Cannot create container for service worker-high: Conflict. The container name "/dcrm_worker-high" is already in use by container "1831bd5629c0aa27c73c2e7cf9b27f0ebd406c52cb04cb0db30cad37f8d5aa9b". You have to remove (or rename) that container to be able to reuse that name.

ERROR: for worker-high Cannot create container for service worker-high: Conflict. The container name "/dcrm_worker-high" is already in use by container "1831bd5629c0aa27c73c2e7cf9b27f0ebd406c52cb04cb0db30cad37f8d5aa9b". You have to remove (or rename) that container to be able to reuse that name.
ERROR: Encountered errors while bringing up the project.`

ERROR: for dcrm_worker-high Cannot create container for service worker-high: Conflict. The container name "/dcrm_worker-

Use 'docker scan' to run Snyk tests against images to find vulnerabilities and learn how to fix them
Creating dcrm_memcached ... done
Creating dcrm_db ... done
Creating dcrm_redis ... done
WARNING: The "worker-high" service is using the custom container name "dcrm_worker-high". Docker requires each container to have a unique name. Remove the custom name to scale the service.
Creating dcrm_scheduler ... done
Creating dcrm_worker-default ...
Creating dcrm_app ... done
Creating dcrm_worker-high ... error
Creating dcrm_worker-high ...
Creating dcrm_worker-default ... done

ERROR: for dcrm_worker-high Cannot create container for service worker-high: Conflict. The container name "/dcrm_worker-high" is already in use by container "1891f8eed617976cbe6e37e2ef3b7f41c6cf3564b755e5089f9fc1f9f4d2804d". You have to reCreating dcrm_pure-ftpd ... done

ERROR: for worker-high Cannot create container for service worker-high: Conflict. The container name "/dcrm_worker-high" is already in use by container "1891f8eed617976cbe6e37e2ef3b7f41c6cf3564b755e5089f9fc1f9f4d2804d". You have to remove (or rename) that container to be able to reuse that name.
ERROR: Encountered errors while bringing up the project.

构建一直失败

数据源设置等都搞好之后,构建一直显示失败,不知道是什么原因,能回复下吗

NoReverseMatch at /index/

I upload 500 packages

Debug log
`

Exception Type: NoReverseMatch
Reverse for 'index_page' with arguments '(28,)' not found. 1 pattern(s) tried: ['index/(?P\d?)/?$']
/usr/local/lib/python3.7/dist-packages/django/urls/resolvers.py in _reverse_with_prefix, line 497
/usr/local/bin/uwsgi

`

CalledProcessError 报了这个错请问怎么处理谢谢。

Request Method: POST
https://127.0.0.1/admin/WEIPDCRM/build/add/
1.10.5
CalledProcessError
Command '[u'gpg', u'-abs', u'--batch', u'--yes', u'-o', u'/wwwdata/DCRM/temp/92a17c5c-02bd-4364-859e-2974e7290f25/Release.gpg', u'/wwwdata/DCRM/temp/92a17c5c-02bd-4364-859e-2974e7290f25/Release']' returned non-zero exit status 2
/usr/lib/python2.7/subprocess.py in check_call, line 541
/usr/local/bin/uwsgi
2.7.12
['.', '', '/usr/local/lib/python2.7/dist-packages/cloud_init-0.7.6-py2.7.egg', '/usr/lib/python2.7', '/usr/lib/python2.7/plat-x86_64-linux-gnu', '/usr/lib/python2.7/lib-tk', '/usr/lib/python2.7/lib-old', '/usr/lib/python2.7/lib-dynload', '/usr/local/lib/python2.7/dist-packages', '/usr/lib/python2.7/dist-packages']

请问下这个ERROR是什么造成的,mac电脑和服务器都这个错误

ERROR: Command errored out with exit status 1:
 command: /usr/local/bin/python -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-t97hq5n_/python-akismet/setup.py'"'"'; __file__='"'"'/tmp/pip-install-t97hq5n_/python-akismet/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base /tmp/pip-pip-egg-info-8z2_x4_a
     cwd: /tmp/pip-install-t97hq5n_/python-akismet/
Complete output (7 lines):
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/tmp/pip-install-t97hq5n_/python-akismet/setup.py", line 186, in <module>
    install_requires = [str(ir.req) for ir in requirements]
  File "/tmp/pip-install-t97hq5n_/python-akismet/setup.py", line 186, in <listcomp>
    install_requires = [str(ir.req) for ir in requirements]
AttributeError: 'ParsedRequirement' object has no attribute 'req'
----------------------------------------

ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.

导入软件包的时候出错

MySQL Query ERROR
[1054] Unknown column 'Section1' in 'field list'
[Query] UPDATE apt_Packages SET Package='apt.cydiatieba.topthebig',Version='1.4-3',Section='TB-工具',Section1='iOS10',Section2='iOS11',Maintainer='Fish [email protected]',Depends='firmware (>= 7.0), mobilesubstrate (>= 0.9.5000), preferenceloader (>= 2.2.2)',Conflicts='org.thebigboss.datameter',Replaces='org.thebigboss.datameter',Architecture='iphoneos-arm',Installed-Size='1212',Name='DataMeter 流量监控',Author='Minuit [email protected]',Sponsor='Fish [email protected]',Icon='file:///Library/PreferenceBundles/DataMeterSettings.bundle/[email protected]',Tag='purpose::extension, compatible::ios7, compatible::ios8, compatible::ios9\n',Size='243584',Filename='../downloads/20190224/xjEbqwGAyml2M5a755OCdqmAzD4vqAfCXkSMsfHN.deb',MD5sum='2d5252de33ad12ea3450422eb3ead562',CreateStamp='2019-02-24 19:19:31',Stat='2',Depiction='http://apt.yordon.ml/index.php?pid=2' WHERE ID='2'

请问这个是什么意思,该怎么解决,感谢大佬

后台队列进程无法启动

根据手册安装到最后执行
nohup ./manage.py rqworker high > /dev/null &
nohup ./manage.py rqworker default > /dev/null &
无法执行,我查看了一下manage.py没有rqworker这个启动参数,是文档问题吗?还是安装不对。

ERROR: Service 'scheduler' failed to build

ERROR: Service 'scheduler' failed to build: OCI runtime create failed: container_linux.go:349: starting container process caused "process_linux.go:449: container init caused "rootfs_linux.go:58: mounting \"proc\" to rootfs \"/var/lib/docker/vfs/dir/e56ee33998f867cad60403fbd8e0b50d6d19302711e63adb82a7fd1071556fda\" at \"/proc\" caused \"permission denied\""": unknown
怎么办?

InvalidTemplateLibrary

Invalid template library specified. ImportError raised when trying to load 'threadedcomments.templatetags.threadedcommentstags': cannot import name FreeThreadedComment

安装完成后打开直接报错,所有的插件都已经安装了,请问这个是什么情况,如果我去掉threadedcomments可以正常打开首页,但是内页无法打开

使用docker部署 后期迁移数据问题

我想请问下后期如果我想换服务器迁移数据。直接拷贝dcrm文件夹重新构建下就可以了吗。 在后台修改的信息 上传的包这些数据在外部dcrm文件夹内还是在docker容器内?

Demo is Down

The demo is down, this means the admin panel cannot be viewed before going through the tedious process of setting this up, maybe some screenshots of the admin interface in the readme would be nice

目前bug还是比较多的,希望能够不断的完善

废了一番周折centos7而且不熟悉Python环境,搭建起来了,看了下bug太多了,选项各方面还是比较少。
对我而言我更喜欢php版(### 毕竟是世界上最好的语言)哈哈哈,希望早日出正式版

Notice bug

The notice section is bugged. When you enter a notice, if you save it and delete it (clear it) afterwards, the notice will be gone but the notice section will stay (empty). I checked the db and for some reason even if you empty the notice text view, the db saves an empty paragraph (<p></br></p>) which in turn makes the section show up even if it appears empty since the paragraph mentioned above doesn't actually have any text. A temporary solution and hacky work around is to manually delete the column entry for your site's preferences record from the db. If you do that and never touch the settings again it will work but if you try and change any other setting again, it will show up again

is a directory

最后一步build提示目录是一个文件夹,不知道是哪个命令出错了
IOError at /admin/WEIPDCRM/build/add/
[Errno 21] Is a directory: u'/www/wwwroot/DCRM/resources/'
Request Method: POST
Request URL: http://jp.yordon.ml/admin/WEIPDCRM/build/add/
Django Version: 1.10.5
Exception Type: IOError
Exception Value:
[Errno 21] Is a directory: u'/www/wwwroot/DCRM/resources/'
Exception Location: /usr/lib/python2.7/shutil.py in copyfile, line 82
Python Executable: /usr/local/bin/uwsgi
Python Version: 2.7.12
Python Path:
['.',
'',
'/usr/lib/python2.7',
'/usr/lib/python2.7/plat-x86_64-linux-gnu',
'/usr/lib/python2.7/lib-tk',
'/usr/lib/python2.7/lib-old',
'/usr/lib/python2.7/lib-dynload',
'/usr/local/lib/python2.7/dist-packages',
'/usr/lib/python2.7/dist-packages',
'/usr/lib/python2.7/dist-packages/PILcompat']

考虑出个docker版吗?

看到issue很多问题都是安装配置的问题,可以考虑用docker,暴露出端口和配置文件就可以了

我在群晖上搭建DCRM,遇到点问题

直接跑的docker-compose.yml,前面各种错误,各种百度后命令成功跑完,但打开ip:端口,出现

Request Method: GET
http://10.10.10.10:8888/index/
1.11.23
ProgrammingError
(1146, "Table 'DCRM.django_site' doesn't exist")
/usr/local/lib/python3.7/site-packages/MySQLdb/connections.py in query, line 224
/usr/local/bin/uwsgi
3.7.5
['.', '', '/usr/local/lib/python37.zip', '/usr/local/lib/python3.7', '/usr/local/lib/python3.7/lib-dynload', '/usr/local/lib/python3.7/site-packages']
Sat, 30 Nov 2019 13:33:20 +0800

应该是数据库没对,不知道怎么解决,我是直接跑的第二条命令,第一条git clone --depth 1 https://github.com/82Flex/DCRM.git && cd DCRM
-ash: git: command not found
应该是没安装git
能帮忙解决一下吗

构建并启动 DCRM 容器 Step 4 ERROR

docker-compose up --build --detach
第4步时报错 请问什么原因
ERROR: Service 'scheduler' failed to build: oci runtime error: container_linux.go:235: starting container process caused "process_linux.go:258: applying cgroup configuration for process caused "Cannot set property TasksAccounting, or unknown property.""

project

I need you on a project and I will pay you how to contact you?

无法找到APT 软件源

按照步骤完成docker源搭建之后,能打开源网页,再添加的时候就显示 无法找到APT 软件源

Screenshot update

How to update a version but keep the screenshots from the previous one ?

安装“requirements”的时候提示The unauthenticated git protocol on port 9418 is no longer supported.

图片
这是问题的详细代码:
WARNING: Some services (worker-default, worker-high) use the 'deploy' key, which will be ignored. Compose does not support 'deploy' configuration - use docker stack deploy to deploy to a swarm.
Building scheduler
Step 1/6 : FROM python:3.7
---> 7c891de3e220
Step 2/6 : WORKDIR /usr/src/app
---> Using cache
---> 3fb08074fed9
Step 3/6 : COPY requirements.txt ./
---> Using cache
---> 3227e9743bf7
Step 4/6 : RUN pip install --no-cache-dir -r requirements.txt
---> Running in 2b3d413f8f8f
Collecting django-contrib-comments
Cloning git://github.com/django/django-contrib-comments.git (to revision f498cee0e04a4bcd4e061b25805c83ef08e9e536) to /tmp/pip-install-x_eut7vj/django-contrib-comments_24a32224f78c4c82b10d7e3da8a03d19
Running command git clone --filter=blob:none --quiet git://github.com/django/django-contrib-comments.git /tmp/pip-install-x_eut7vj/django-contrib-comments_24a32224f78c4c82b10d7e3da8a03d19
fatal: remote error:
The unauthenticated git protocol on port 9418 is no longer supported.
Please see https://github.blog/2021-09-01-improving-git-protocol-security-github/ for more information.
error: subprocess-exited-with-error

× git clone --filter=blob:none --quiet git://github.com/django/django-contrib-comments.git /tmp/pip-install-x_eut7vj/django-contrib-comments_24a32224f78c4c82b10d7e3da8a03d19 did not run successfully.
│ exit code: 128
╰─> See above for output.

note: This error originates from a subprocess, and is likely not a problem with pip.
error: subprocess-exited-with-error

× git clone --filter=blob:none --quiet git://github.com/django/django-contrib-comments.git /tmp/pip-install-x_eut7vj/django-contrib-comments_24a32224f78c4c82b10d7e3da8a03d19 did not run successfully.
│ exit code: 128
╰─> See above for output.

note: This error originates from a subprocess, and is likely not a problem with pip.

麻烦您看下,谢谢!

Comment bug

Upon trying to comment (from cydia nothing happens) from web getting the following error attached screenshot
screenshot 2018-06-10 at 03 34 55

Twitter link

The twitter part of the social module is not working. you can input a twitter name/link, it will show up but when you try to click it it won't take you to the twitter profile but it will just open a new window of the repo itself

Upload screenshot

When trying to upload a screenshot for a package version, if you click on the upload form and choose a photo it will say "Upload failed, invalid form". However if you drag and drop it, it works

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.